Thank you Ketil. It helped!
Ketil Aasarød wrote:
>
> In your pom.xml, add the following in the build-section:
>
> <finalName>${artifactId}</finalName>
>
> The default value for finalName is ${artifactId}-${version}.
>
> -ketil
>
> On Tue, Aug 11, 2009 at 10:25 AM, kopemor<[email protected]>
> 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: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
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: [email protected]
For additional commands, e-mail: [email protected]