Thanks for the help - Maruf
Niels Gylling wrote:
Have both the war and the ejb depend on the common code, it will then
be bundled in WEB-INF/lib in the war.
Aleo ensure that the ejb has a classpath entry to the commmon code like
plugin
groupIdorg.apache.maven.plugins/groupId
Hi
I have a multi module project as below:
main/pom
-
|war/ pom
| ejb/pom
ejb and war project are the subprojects for main. some classes in ejb
depends on the classes in war project. Since packaging is war for this
project howshould i define this dependency? Is there a
ejbs can only depend on jars, so create a shared module artifact
containing common code.
/Niels
Maruf Aytekin wrote:
Hi
I have a multi module project as below:
main/pom
-
|war/ pom
| ejb/pom
ejb and war project are the subprojects for main. some classes in ejb
depends
The common code needs to into war file too. How could I do that without
using two copies of the common code?
Thanks
Maruf
Niels Gylling wrote:
ejbs can only depend on jars, so create a shared module artifact
containing common code.
/Niels
Maruf Aytekin wrote:
Hi
I have a multi module
Create third jar artifact containing common code. war and ejb include
common jar as dependencies.
On 1/26/07, Maruf Aytekin [EMAIL PROTECTED] wrote:
The common code needs to into war file too. How could I do that without
using two copies of the common code?
Thanks
Maruf
Niels Gylling
Have both the war and the ejb depend on the common code, it will then be
bundled in WEB-INF/lib in the war.
Aleo ensure that the ejb has a classpath entry to the commmon code like
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-ejb-plugin/artifactId