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

--
With kind regards,
Geoffrey De Smet


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to