You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "David J. M. Karlsen" <da...@davidkarlsen.com> on 2006/07/24 13:43:51 UTC
[m2] maven-war-plugin broken again
Hi!
i was able to add depdendencies to the classpath in the manifest for the
generated war, but excluding them from the actual .war archive (as they
will be included in the .ear anyway) before ( around version 2.0?).
This was possible earlier by adding the depdendencies with scope=provded
and or adding <excludes>**/*.jar</excludes> clause.
This seems to be broken with the current (2.0.1) version.
Does anybody know an approach that's known to work with this version?
--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: [m2] maven-war-plugin broken again
Posted by "David J. M. Karlsen" <da...@davidkarlsen.com>.
David J. M. Karlsen wrote:
> Hi!
>
> i was able to add depdendencies to the classpath in the manifest for the
> generated war, but excluding them from the actual .war archive (as they
> will be included in the .ear anyway) before ( around version 2.0?).
>
> This was possible earlier by adding the depdendencies with scope=provded
> and or adding <excludes>**/*.jar</excludes> clause.
>
> This seems to be broken with the current (2.0.1) version.
> Does anybody know an approach that's known to work with this version?
Sorry about this - i deleted the maven-war-plugin and plexus-stuff from
my repo (forcing a new download), and added
<excludes>**/*.jar</excludes> to the configuration, and left the
dependencies with compile scope - and this fixed it.
David
--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org