Skip to content

Commit 7e633e4

Browse files
committed
Moved batch-utils project one level up and renamed it to utils.
1 parent a615f45 commit 7e633e4

File tree

8 files changed

+14
-13
lines changed

8 files changed

+14
-13
lines changed

batch/batchlet-simple/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
<dependencies>
1717
<dependency>
18-
<groupId>org.javaee7.batch</groupId>
19-
<artifactId>batch-util</artifactId>
18+
<groupId>org.javaee7</groupId>
19+
<artifactId>util-samples</artifactId>
2020
</dependency>
2121
</dependencies>
2222
</project>

batch/batchlet-simple/src/test/java/org/javaee7/batch/batchlet/simple/MyBatchletTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package org.javaee7.batch.batchlet.simple;
22

3-
import org.javaee7.batch.util.BatchTestHelper;
3+
import org.javaee7.util.BatchTestHelper;
44
import org.jboss.arquillian.container.test.api.Deployment;
55
import org.jboss.arquillian.junit.Arquillian;
66
import org.jboss.shrinkwrap.api.ArchivePaths;

batch/chunk-simple/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
<dependencies>
2222
<dependency>
23-
<groupId>org.javaee7.batch</groupId>
24-
<artifactId>batch-util</artifactId>
23+
<groupId>org.javaee7</groupId>
24+
<artifactId>util-samples</artifactId>
2525
</dependency>
2626
</dependencies>
2727
</project>

batch/chunk-simple/src/test/java/org/javaee7/batch/chunk/simple/ChunkSimpleTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package org.javaee7.batch.chunk.simple;
22

3-
import org.javaee7.batch.util.BatchTestHelper;
3+
import org.javaee7.util.BatchTestHelper;
44
import org.jboss.arquillian.container.test.api.Deployment;
55
import org.jboss.arquillian.junit.Arquillian;
66
import org.jboss.shrinkwrap.api.ArchivePaths;

batch/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<name>Java EE 7 Batch Samples</name>
1717

1818
<modules>
19-
<module>batch-util</module>
19+
<!--<module>batch-util</module>-->
2020
<module>batchlet-simple</module>
2121
<module>chunk-checkpoint</module>
2222
<module>chunk-csv-database</module>
@@ -36,8 +36,8 @@
3636
<dependencyManagement>
3737
<dependencies>
3838
<dependency>
39-
<groupId>org.javaee7.batch</groupId>
40-
<artifactId>batch-util</artifactId>
39+
<groupId>org.javaee7</groupId>
40+
<artifactId>util-samples</artifactId>
4141
<version>1.0-SNAPSHOT</version>
4242
<scope>test</scope>
4343
</dependency>

pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@
396396
<module>validation</module>
397397
<module>websocket</module>
398398
<!-- module>extra</module -->
399+
<module>util</module>
399400
</modules>
400401

401402
<prerequisites>

batch/batch-util/pom.xml renamed to util/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<modelVersion>4.0.0</modelVersion>
66

77
<parent>
8-
<groupId>org.javaee7.batch</groupId>
9-
<artifactId>batch-samples</artifactId>
8+
<groupId>org.javaee7</groupId>
9+
<artifactId>javaee7-samples</artifactId>
1010
<version>1.0-SNAPSHOT</version>
1111
<relativePath>../pom.xml</relativePath>
1212
</parent>
1313

14-
<artifactId>batch-util</artifactId>
14+
<artifactId>util-samples</artifactId>
1515
<version>1.0-SNAPSHOT</version>
1616

1717
</project>

batch/batch-util/src/main/java/org/javaee7/batch/util/BatchTestHelper.java renamed to util/src/main/java/org/javaee7/util/BatchTestHelper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.javaee7.batch.util;
1+
package org.javaee7.util;
22

33
import javax.batch.runtime.BatchStatus;
44
import javax.batch.runtime.JobExecution;

0 commit comments

Comments
 (0)