Maven: How to create assembly with snapshot artifacts without timestamps file name?

Posted by marabol on Stack Overflow See other posts from Stack Overflow or by marabol
Published on 2010-03-25T15:28:48Z Indexed on 2010/03/25 15:33 UTC
Read the original article Hit count: 410

Filed under:
|
|
|

I've a repository containing snapshot artifacts with timestamps.

I want to create an assembly, that contains the dependencies. This works fine. But the artifact names contains the timestamp. So i wonder how to remove the timestamp from filename for the assembly only.

I've used this dependencySet:

<outputFileNameMapping>${artifact.artifactId}-${artifact.version}.${artifact.extension}</outputFileNameMapping>

But version seams to contain already the timestamp. So is there any chance to get a 1.1.1-SNAPSHOT instead of 1.1.1-20100323.071348-182?

© Stack Overflow or respective owner

Related posts about maven-2

Related posts about assembly