You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Richard Fagot <rf...@genigraph.fr> on 2006/09/07 17:35:44 UTC

include jar(s) when packaging

Hi all,

   I tried to package my project including a jar that is a dependency 
for the project. To do this I used the scope compile in the pom.xml but 
the jar does not appear in the project jar. What's wrong ?


cheers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: include jar(s) when packaging

Posted by ben short <be...@benshort.co.uk>.
Dependancies only get added to wars. You need to use the maven
assembly plugin http://maven.apache.org/plugins/maven-assembly-plugin/

On 9/7/06, Richard Fagot <rf...@genigraph.fr> wrote:
> Hi all,
>
>    I tried to package my project including a jar that is a dependency
> for the project. To do this I used the scope compile in the pom.xml but
> the jar does not appear in the project jar. What's wrong ?
>
>
> cheers.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org