diff --git a/ear/plugin.jelly b/ear/plugin.jelly index 7ef50648..1052269c 100644 --- a/ear/plugin.jelly +++ b/ear/plugin.jelly @@ -51,7 +51,7 @@ - + ${expectedFile} not generated + + + + + + + + + + + ${expectedFile} not bundled + + + + + + ${expectedFile} not bundled + + + + + + + output is ${a} + + + commons-collections-2.1.jar not bundled as a java module found '${firstJavaModule}' instead + + \ No newline at end of file diff --git a/ear/src/plugin-test/project.properties b/ear/src/plugin-test/project.properties index 23143ee6..c84c38c8 100644 --- a/ear/src/plugin-test/project.properties +++ b/ear/src/plugin-test/project.properties @@ -1,10 +1,3 @@ maven.deployable.component=${maven.final.name}.ear maven.j2ee.ear.appxml=${maven.conf.dir}/application.xml -maven.weblogic.home=C:\\bea\\wlserver6.1 -maven.weblogic.host=localhost -maven.weblogic.port=7001 -maven.weblogic.server=myserver -maven.weblogic.username=system -maven.weblogic.password=weblogic -maven.weblogic.component=${maven.final.name} -maven.weblogic.debug=true +maven.ear.appxml.generate=true diff --git a/ear/src/plugin-test/project.xml b/ear/src/plugin-test/project.xml index 1689e241..1c582631 100644 --- a/ear/src/plugin-test/project.xml +++ b/ear/src/plugin-test/project.xml @@ -40,7 +40,24 @@ 1.0.3 http://jakarta.apache.org/commons/logging.html - true + true + + + + commons-collections + commons-collections + 2.1 + http://jakarta.apache.org/commons/collections/ + + true + + + + commons-jelly + commons-jelly-tags-xml + 20030211.142705 + + root.maven @@ -49,16 +66,5 @@ src src/test - - - - - - - - diff --git a/ear/src/plugin-test/src/application/META-INF/application.xml b/ear/src/plugin-test/src/application/META-INF/application.xml deleted file mode 100644 index acbc9087..00000000 --- a/ear/src/plugin-test/src/application/META-INF/application.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - workflow ejb app - - workflow.jar - - - business.jar - - - begin_workflow.jar - - - diff --git a/ear/xdocs/changes.xml b/ear/xdocs/changes.xml index 54c0aaad..2fecaade 100644 --- a/ear/xdocs/changes.xml +++ b/ear/xdocs/changes.xml @@ -7,6 +7,14 @@ + + Introduced ear.module property to mark jars as being java client modules + + + Added to the plugin tests a check to make sure the ear includes + the jars marked by ear.bundle and ear.module and that ear.module generates + a java module in the generated application.xml + diff --git a/ear/xdocs/properties.xml b/ear/xdocs/properties.xml index b1b2b51e..232c12d9 100644 --- a/ear/xdocs/properties.xml +++ b/ear/xdocs/properties.xml @@ -101,7 +101,7 @@ id aversion - jar + ejb true @@ -124,7 +124,22 @@ ]]> - + +

+ Please note that if a jar is a java client module, you will need to declare + it using the ear.module property, rather than ear.bundle: +

+ + my-java-client + aversion + jar + + true + + + ]]> +