Re: How to omit generated jar version number?
Thank you Ketil. It helped! Ketil Aasarød wrote: > > In your pom.xml, add the following in the build-section: > > ${artifactId} > > The default value for finalName is ${artifactId}-${version}. > > -ketil > > On Tue, Aug 11, 2009 at 10:25 AM, kopemor > wrote: >> >> I am generating a JAR artifact and in my pom.xml I should specify a >> version >> of that JAR in a version tag. However, I want Maven to generate a JAR >> file >> without the version number, i.e.FooComponent.jar. >> >> If I remove a version tag, maven reports me of an error. >> >> Is there a way to achieve what I want? >> >> Thanks, >> -- >> View this message in context: >> http://www.nabble.com/How-to-omit-generated-jar-version-number--tp24913645p24913645.html >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > > -- View this message in context: http://www.nabble.com/How-to-omit-generated-jar-version-number--tp24913645p24914718.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How to omit generated jar version number?
In your pom.xml, add the following in the build-section: ${artifactId} The default value for finalName is ${artifactId}-${version}. -ketil On Tue, Aug 11, 2009 at 10:25 AM, kopemor wrote: > > I am generating a JAR artifact and in my pom.xml I should specify a version > of that JAR in a version tag. However, I want Maven to generate a JAR file > without the version number, i.e.FooComponent.jar. > > If I remove a version tag, maven reports me of an error. > > Is there a way to achieve what I want? > > Thanks, > -- > View this message in context: > http://www.nabble.com/How-to-omit-generated-jar-version-number--tp24913645p24913645.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
How to omit generated jar version number?
I am generating a JAR artifact and in my pom.xml I should specify a version of that JAR in a version tag. However, I want Maven to generate a JAR file without the version number, i.e.FooComponent.jar. If I remove a version tag, maven reports me of an error. Is there a way to achieve what I want? Thanks, -- View this message in context: http://www.nabble.com/How-to-omit-generated-jar-version-number--tp24913645p24913645.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org