Skip to content

Commit

Permalink
create-table renamed to create-tables
Browse files Browse the repository at this point in the history
  • Loading branch information
Yegor Bugayenko committed Apr 29, 2014
1 parent fb754c4 commit 540e39d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/it/creates-table/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
<id>jcabi-dynamodb-local</id>
<goals>
<goal>start</goal>
<goal>create-table</goal>
<goal>create-tables</goal>
<goal>stop</goal>
</goals>
</execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@
@ToString
@EqualsAndHashCode(callSuper = false)
@Mojo(
threadSafe = true, name = "create-table",
threadSafe = true, name = "create-tables",
defaultPhase = LifecyclePhase.PRE_INTEGRATION_TEST
)
public final class CreateTableMojo extends AbstractDynamoMojo {
public final class CreateTablesMojo extends AbstractDynamoMojo {

/**
* The location of the tables to be created, in JSON format.
Expand Down
2 changes: 1 addition & 1 deletion src/site/apt/example-create-tables.apt.vm
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Create Tables Before Integration Tests
<execution>
<goals>
<goal>start</goal>
<goal>create-table</goal>
<goal>create-tables</goal>
<goal>stop</goal>
</goals>
</execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,20 @@
import org.junit.Test;

/**
* Test case for {@link CreateTableMojo} (more detailed test is in maven
* Test case for {@link CreateTablesMojo} (more detailed test is in maven
* invoker).
* @author Carlos Miranda ([email protected])
* @version $Id$
*/
public final class CreateTableMojoTest {
public final class CreateTablesMojoTest {

/**
* CreateTableMojo can skip execution when flag is set.
* @throws Exception If something is wong.
*/
@Test
public void skipsExecutionWhenRequired() throws Exception {
final CreateTableMojo mojo = new CreateTableMojo();
final CreateTablesMojo mojo = new CreateTablesMojo();
mojo.setSkip(true);
mojo.execute();
}
Expand Down

0 comments on commit 540e39d

Please sign in to comment.