Well I think I got miss understood.
I have a multi project containing an ejb-project a war-project and an
ear-project. The fianlly produced ear-archive will be deployed to jboss.
To reuse the ejb-archive I need to bundle some of the dependencies to
the ejb-archive.
To use jsp / xml validation in the web-application I need to bundle the
tld's to the war-archive.
So as you can see there are different projects which have the same problem.
thanks
Mark
Geoffrey De Smet schrieb:
1 artifact = 1 pom with 1 <packaging> (default is jar).
By using scopes on your dependencies in that pom:
<scope>compile</scope>
runtime
provided
etc
see guides.
It's best to inherit the version tags of the dependencies from a
parent pom's dependencyManagament.
Mark Sudau wrote, On 2006-10-18 2:09 PM:
Hi Folks,
actually I have successfully moved my project from Maven 1 to Maven
2. Now I want to bundle some archives from the dependencies to my ejb
or my war file. This is to run different web applications with
different dependencies on the same applicatoinserver.
In Maven 1 I could set properties for the dependencies like
<properties>
<ejb.bundle>true</ejb.bundle>
<properties>
in the ejb project and
<properties>
<war.bundle>true</war.bundle>
<properties>
in the web application project.
Now how can I do in Maven 2
Thanks for helpeing
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]