Skip to content

Commit

Permalink
fix content of eclipselink zip,
Browse files Browse the repository at this point in the history
use proper API module names

Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
  • Loading branch information
lukasj committed Jun 2, 2022
1 parent db0aeb0 commit a46e6d5
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 15 deletions.
10 changes: 10 additions & 0 deletions bundles/eclipselink/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@
<artifactId>angus-mail</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.eclipse.parsson</groupId>
<artifactId>parsson</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-xjc</artifactId>
Expand Down Expand Up @@ -270,6 +275,11 @@
<artifactId>org.eclipse.persistence.jpa.modelgen.processor</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>org.eclipse.persistence.jpars</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>org.eclipse.persistence.jpars.server</artifactId>
Expand Down
11 changes: 7 additions & 4 deletions bundles/eclipselink/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@
requires static jakarta.validation;
requires static jakarta.ws.rs;

requires static jakarta.cdi; //AM
requires static jakarta.el; //AM
requires static jakarta.inject; //AM
requires static jakarta.transaction; //AM
requires static jakarta.cdi;
requires static jakarta.el;
requires static jakarta.inject;
requires static jakarta.transaction;
requires static jakarta.interceptor;
requires static jakarta.messaging;
requires static jakarta.resource;

requires static com.sun.xml.bind.core;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
requires jakarta.xml.soap;
requires jakarta.xml.ws;

requires jakarta.servlet; //AM
requires jakarta.servlet;

requires org.eclipse.persistence.asm;
requires org.eclipse.persistence.jpa;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
requires static org.eclipse.persistence.asm;
requires static org.eclipse.persistence.jpa.jpql;

requires static jakarta.cdi; //AM
requires static jakarta.el; //AM
requires static jakarta.inject; //AM
requires static jakarta.transaction; //AM
requires static jakarta.cdi;
requires static jakarta.el;
requires static jakarta.inject;
requires static jakarta.transaction;

// requires jakarta.interceptor.api;
// requires jakarta.jms.api;
// requires jakarta.resource.api;
requires static jakarta.interceptor;
requires static jakarta.messaging;
requires static jakarta.resource;
// requires glassfish.corba.omgapi;

exports org.eclipse.persistence;
Expand Down
8 changes: 8 additions & 0 deletions foundation/org.eclipse.persistence.oracle.nosql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@
<groupId>jakarta.resource</groupId>
<artifactId>jakarta.resource-api</artifactId>
</dependency>

<dependency>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-api</artifactId>
<scope>provided</scope>
<optional>true</optional>
</dependency>

<!--Other libraries dependencies-->
<!--Oracle proprietary dependencies-->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
module org.eclipse.persistence.oracle.nosql {

// requires transitive jakarta.resource.api;
requires transitive jakarta.resource;

requires transitive org.eclipse.persistence.core;

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<version>3.10.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
requires jakarta.persistence;
requires jakarta.xml.bind;

requires jakarta.servlet; //AM
requires jakarta.servlet;

requires org.eclipse.persistence.asm;
requires transitive org.eclipse.persistence.core;
Expand Down

0 comments on commit a46e6d5

Please sign in to comment.