You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Karthik Manimaran <mk...@gmail.com> on 2006/05/17 16:50:01 UTC

M2 - version and dependency

Hi,

Is there a way to generate a jar/ejb jar/war file without the version number
appended to the artifact filename and add that as a dependency?

Thanks and regards,
Karthik.

Re: M2 - version and dependency

Posted by Tim Kettler <ti...@udo.edu>.
Hi,

you can change the name of the generated artifact with the <finalName/> tag in you pom but 
that doesn't affect the naming of the artifact in a repository. As soon as you 
install/deploy that artifact to a repository maven uses a name in the form 
${artifactId}-${version}.jar.

So the answer to your question is no.

-Tim

Karthik Manimaran schrieb:
> Hi,
> 
> Is there a way to generate a jar/ejb jar/war file without the version 
> number
> appended to the artifact filename and add that as a dependency?
> 
> Thanks and regards,
> Karthik.
> 


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