Skip to content
Permalink
Browse files

Merge pull request #12208 from scottmarlow/WFLY-11946_openjpa_depende…

…ncies

WFLY-11946/WFLY-10340 Remove unneeded dependencies from OpenJPA module
  • Loading branch information
bstansberry committed Apr 5, 2019
2 parents 9c7871a + a133dc5 commit db287c9264ef2a429fc7deeb36163a302d9c0a9f
@@ -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>
@@ -33,7 +33,6 @@

import javax.naming.InitialContext;

import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;

@@ -44,7 +43,6 @@
* @author Antti Laisi
*/
@RunWith(Arquillian.class)
@Ignore("WFLY-10340")
public class OpenJPASharedModuleProviderTestCase {

private static final String ARCHIVE_NAME = "openjpa_module_test";
@@ -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 db287c9

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