Permalink
Comparing changes
Open a pull request
- 3 commits
- 4 files changed
- 0 commit comments
- 2 contributors
Commits on Apr 05, 2019
…ncies WFLY-11946/WFLY-10340 Remove unneeded dependencies from OpenJPA module
Unified
Split
Showing
with
2 additions
and 17 deletions.
- +2 −7 docs/src/main/asciidoc/_developer-guide/JPA_Reference_Guide.adoc
- +0 −4 feature-pack/src/main/resources/modules/system/layers/base/org/apache/openjpa/main/module.xml
- +0 −2 ...ompat/src/test/java/org/jboss/as/test/compat/jpa/openjpa/OpenJPASharedModuleProviderTestCase.java
- +0 −4 testsuite/compat/src/test/scripts/build-jars.xml
| @@ -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 @@ | ||
| </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> | ||