You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Michael Feichtegger <mi...@feichtegger.at> on 2012/10/05 12:03:30 UTC
Re: Manifest of WAR contains wrong references to SNAPSHOT-versions
of EAR-based libaries
Probable you know already the reason why there is a timestamp and a
buildnumber being attached to your Manifest classpath but for all those who
will have the same issue I will provide a solution:
You just have to add the following entry to your manifest configuration
bundled with the maven war plguin:
Setting the "useUniqueVersions" flag to "false", which is "true" by default,
instructs maven to use the SNAPSHOT-jar in the manifest classpath.
--
View this message in context: http://maven.40175.n5.nabble.com/Manifest-of-WAR-contains-wrong-references-to-SNAPSHOT-versions-of-EAR-based-libaries-tp5717908p5724922.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Manifest of WAR contains wrong references to SNAPSHOT-versions of
EAR-based libaries
Posted by Wayne Fay <wa...@gmail.com>.
Just resending the part of Michael's email/post that was eaten by
Nabble and not forwarded...
You just have to add the following entry to your manifest
configuration bundled with the maven war plguin:
<manifest>
<addClasspath>true</addClasspath>
<useUniqueVersions>false</useUniqueVersions>
</manifest>
Wayne
On Fri, Oct 5, 2012 at 5:03 AM, Michael Feichtegger
<mi...@feichtegger.at> wrote:
> Probable you know already the reason why there is a timestamp and a
> buildnumber being attached to your Manifest classpath but for all those who
> will have the same issue I will provide a solution:
>
> You just have to add the following entry to your manifest configuration
> bundled with the maven war plguin:
>
>
>
> Setting the "useUniqueVersions" flag to "false", which is "true" by default,
> instructs maven to use the SNAPSHOT-jar in the manifest classpath.
>
>
>
> --
> View this message in context: http://maven.40175.n5.nabble.com/Manifest-of-WAR-contains-wrong-references-to-SNAPSHOT-versions-of-EAR-based-libaries-tp5717908p5724922.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> 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