diff --git a/jberet-core/pom.xml b/jberet-core/pom.xml index 61b0515c2..33c4cd15a 100644 --- a/jberet-core/pom.xml +++ b/jberet-core/pom.xml @@ -42,8 +42,8 @@ jakarta.transaction-api - org.mongodb - mongo-java-driver + org.wildfly.security + wildfly-security-manager org.infinispan diff --git a/jberet-job-repositories/batchlet/pom.xml b/jberet-job-repositories/batchlet/pom.xml new file mode 100644 index 000000000..8b1501e13 --- /dev/null +++ b/jberet-job-repositories/batchlet/pom.xml @@ -0,0 +1,41 @@ + + + + + + + 4.0.0 + + + org.jberet + jberet-job-repositories + 2.0.3.Final-SNAPSHOT + ../pom.xml + + + jberet-job-repository-batchlet + + + + org.jberet + jberet-infinispan-repository + ${project.version} + + + org.jberet + jberet-mongo-repository + ${project.version} + + + + diff --git a/jberet-core/src/main/java/org/jberet/repository/PurgeBatchlet.java b/jberet-job-repositories/batchlet/src/main/java/org/jberet/repository/PurgeBatchlet.java similarity index 100% rename from jberet-core/src/main/java/org/jberet/repository/PurgeBatchlet.java rename to jberet-job-repositories/batchlet/src/main/java/org/jberet/repository/PurgeBatchlet.java diff --git a/jberet-job-repositories/infinispan-repository/pom.xml b/jberet-job-repositories/infinispan-repository/pom.xml new file mode 100644 index 000000000..1056e41a3 --- /dev/null +++ b/jberet-job-repositories/infinispan-repository/pom.xml @@ -0,0 +1,39 @@ + + + + + + + 4.0.0 + + + org.jberet + jberet-job-repositories + 2.0.3.Final-SNAPSHOT + ../pom.xml + + + jberet-infinispan-repository + + + + org.infinispan + infinispan-core + + + org.infinispan + infinispan-commons + + + + diff --git a/jberet-core/src/main/java/org/jberet/repository/InfinispanRepository.java b/jberet-job-repositories/infinispan-repository/src/main/java/org/jberet/repository/InfinispanRepository.java similarity index 100% rename from jberet-core/src/main/java/org/jberet/repository/InfinispanRepository.java rename to jberet-job-repositories/infinispan-repository/src/main/java/org/jberet/repository/InfinispanRepository.java diff --git a/jberet-job-repositories/mongo-repository/pom.xml b/jberet-job-repositories/mongo-repository/pom.xml new file mode 100644 index 000000000..5b405eccc --- /dev/null +++ b/jberet-job-repositories/mongo-repository/pom.xml @@ -0,0 +1,35 @@ + + + + + + + 4.0.0 + + + org.jberet + jberet-job-repositories + 2.0.3.Final-SNAPSHOT + ../pom.xml + + + jberet-mongo-repository + + + + org.mongodb + mongo-java-driver + + + + diff --git a/jberet-core/src/main/java/org/jberet/repository/MongoRepository.java b/jberet-job-repositories/mongo-repository/src/main/java/org/jberet/repository/MongoRepository.java similarity index 100% rename from jberet-core/src/main/java/org/jberet/repository/MongoRepository.java rename to jberet-job-repositories/mongo-repository/src/main/java/org/jberet/repository/MongoRepository.java diff --git a/jberet-job-repositories/pom.xml b/jberet-job-repositories/pom.xml new file mode 100644 index 000000000..a7157b381 --- /dev/null +++ b/jberet-job-repositories/pom.xml @@ -0,0 +1,43 @@ + + + + + + + 4.0.0 + + + org.jberet + jberet-parent + 2.0.3.Final-SNAPSHOT + ../pom.xml + + + jberet-job-repositories + pom + + + mongo-repository + infinispan-repository + batchlet + + + + + org.jberet + jberet-core + ${project.version} + + + + diff --git a/jberet-se/pom.xml b/jberet-se/pom.xml index 3f4ebd0d7..677b7b124 100644 --- a/jberet-se/pom.xml +++ b/jberet-se/pom.xml @@ -31,6 +31,16 @@ SPDX-License-Identifier: EPL-2.0 jberet-core ${project.version} + + org.jberet + jberet-infinispan-repository + ${project.version} + + + org.jberet + jberet-mongo-repository + ${project.version} + jakarta.annotation jakarta.annotation-api diff --git a/pom.xml b/pom.xml index d42190944..341bab68b 100644 --- a/pom.xml +++ b/pom.xml @@ -140,6 +140,7 @@ jberet-core jberet-se + jberet-job-repositories jberet-se-bom jberet-manifest test-apps