Skip to content

Commit

Permalink
JBERET-611 Move the MongoRepository and InfinispanRepository out of j…
Browse files Browse the repository at this point in the history
…beret-core
  • Loading branch information
liweinan committed Nov 26, 2024
1 parent e3d07be commit e5d73a2
Show file tree
Hide file tree
Showing 10 changed files with 171 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jberet-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
<artifactId>jakarta.transaction-api</artifactId>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
<groupId>org.wildfly.security</groupId>
<artifactId>wildfly-security-manager</artifactId>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
Expand Down
41 changes: 41 additions & 0 deletions jberet-job-repositories/batchlet/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
Copyright (c) 2012-2014 Red Hat, Inc. and/or its affiliates.
This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0
which is available at https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
-->

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.jberet</groupId>
<artifactId>jberet-job-repositories</artifactId>
<version>2.0.3.Final-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>jberet-job-repository-batchlet</artifactId>

<dependencies>
<dependency>
<groupId>org.jberet</groupId>
<artifactId>jberet-infinispan-repository</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jberet</groupId>
<artifactId>jberet-mongo-repository</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>

</project>
39 changes: 39 additions & 0 deletions jberet-job-repositories/infinispan-repository/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
Copyright (c) 2012-2014 Red Hat, Inc. and/or its affiliates.
This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0
which is available at https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
-->

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.jberet</groupId>
<artifactId>jberet-job-repositories</artifactId>
<version>2.0.3.Final-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>jberet-infinispan-repository</artifactId>

<dependencies>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-core</artifactId>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-commons</artifactId>
</dependency>
</dependencies>

</project>
35 changes: 35 additions & 0 deletions jberet-job-repositories/mongo-repository/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
Copyright (c) 2012-2014 Red Hat, Inc. and/or its affiliates.
This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0
which is available at https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
-->

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.jberet</groupId>
<artifactId>jberet-job-repositories</artifactId>
<version>2.0.3.Final-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>jberet-mongo-repository</artifactId>

<dependencies>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
</dependency>
</dependencies>

</project>
43 changes: 43 additions & 0 deletions jberet-job-repositories/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
Copyright (c) 2012-2014 Red Hat, Inc. and/or its affiliates.
This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0
which is available at https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
-->

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.jberet</groupId>
<artifactId>jberet-parent</artifactId>
<version>2.0.3.Final-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>jberet-job-repositories</artifactId>
<packaging>pom</packaging>

<modules>
<module>mongo-repository</module>
<module>infinispan-repository</module>
<module>batchlet</module>
</modules>

<dependencies>
<dependency>
<groupId>org.jberet</groupId>
<artifactId>jberet-core</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>

</project>
10 changes: 10 additions & 0 deletions jberet-se/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@ SPDX-License-Identifier: EPL-2.0
<artifactId>jberet-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jberet</groupId>
<artifactId>jberet-infinispan-repository</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jberet</groupId>
<artifactId>jberet-mongo-repository</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
<modules>
<module>jberet-core</module>
<module>jberet-se</module>
<module>jberet-job-repositories</module>
<module>jberet-se-bom</module>
<module>jberet-manifest</module>
<module>test-apps</module>
Expand Down

0 comments on commit e5d73a2

Please sign in to comment.