Skip to content
Permalink
Browse files

WFLY-11946 Remove unneeded dependencies from OpenJPA module

  • Loading branch information
scottmarlow committed Apr 4, 2019
1 parent c1cd4db commit 97c66d1e98b79c171308ea010480aaed6a420d06
@@ -515,10 +515,10 @@ version="1.0"> +
[[migrating-from-openjpa]]
== Migrating from OpenJPA

You need to copy the OpenJPA jars (e.g. openjpa-all.jar serp.jar) into
You need to copy the OpenJPA jar (e.g. openjpa-all.jar) into
the WildFly modules/org/apache/openjpa/main folder and update
modules/org/apache/openjpa/main/module.xml to include the same jar file
names that you copied in. This will help you get your application that
name that you copied in. This will help you get your application that
depends on OpenJPA, to deploy on WildFly.

[source,java,options="nowrap"]
@@ -531,22 +531,17 @@ depends on OpenJPA, to deploy on WildFly.
<exclude path="javax/**" />
</filter>
</resource-root>
<resource-root path="serp.jar"/>
    </resources>
 
    <dependencies>
        <module name="javax.api"/>
        <module name="javax.annotation.api"/>
        <module name="javax.enterprise.api"/>
        <module name="javax.persistence.api"/>
        <module name="javax.transaction.api"/>
        <module name="javax.validation.api"/>
        <module name="javax.xml.bind.api"/>
        <module name="org.apache.commons.collections"/>
        <module name="org.apache.commons.lang"/>
        <module name="org.jboss.as.jpa.spi"/>
        <module name="org.jboss.logging"/>
        <module name="org.jboss.vfs"/>
        <module name="org.jboss.jandex"/>
    </dependencies>
</module>
@@ -33,18 +33,14 @@
</resources>

<dependencies>
<module name="javax.api"/>
<module name="javax.annotation.api"/>
<module name="javax.enterprise.api"/>
<module name="javax.persistence.api"/>
<module name="javax.transaction.api"/>
<module name="javax.validation.api"/>
<module name="javax.xml.bind.api"/>
<module name="org.apache.commons.collections"/>
<module name="org.apache.commons.lang"/>
<module name="org.jboss.as.jpa.spi"/>
<module name="org.jboss.logging"/>
<module name="org.jboss.vfs"/>
<module name="org.jboss.jandex"/>
</dependencies>
</module>
@@ -87,18 +87,14 @@
&lt;/resources&gt;

&lt;dependencies&gt;
&lt;module name="javax.api"/&gt;
&lt;module name="javax.annotation.api"/&gt;
&lt;module name="javax.enterprise.api"/&gt;
&lt;module name="javax.persistence.api"/&gt;
&lt;module name="javax.transaction.api"/&gt;
&lt;module name="javax.validation.api"/&gt;
&lt;module name="javax.xml.bind.api"/&gt;
&lt;module name="org.apache.commons.collections"/&gt;
&lt;module name="org.apache.commons.lang"/&gt;
&lt;module name="org.jboss.as.jpa.spi"/&gt;
&lt;module name="org.jboss.logging"/&gt;
&lt;module name="org.jboss.vfs"/&gt;
&lt;module name="org.jboss.jandex"/&gt;
&lt;/dependencies&gt;
&lt;/module&gt;

0 comments on commit 97c66d1

Please sign in to comment.
You can’t perform that action at this time.