maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien Rivard <>
Subject Re: how to convert unique snaphot into non-unique snaphot on downloading from nexus
Date Fri, 25 Oct 2013 20:35:21 GMT
Actually this is quite surprising. I would expect the timestamp to be not
visible to the end user.
You build/deploy a -SNAPSHOT version , you ask for a -SNAPSHOT version, you
get a -SNAPSHOT in your war. Internally maven/nexus may use real timestamp
but this is not supposed to be visible. Whatever you are using to do this
must not do it correctly.

On Fri, Oct 18, 2013 at 4:45 PM, sahil_tech <>wrote:

> Hi,
> I am building snapshots artifacts in CI tool Hudson and deploying them into
> nexus using distribution management in my pom.xml and Snapshot is getting
> replaced by timestamp in final artifact name on uploading into nexus
> because
> non-unique snapshots are no more valid in maven 3, that is fine.
> Also, on looking for dependency in nexus repo, it always fetch the latest
> snapshot artifact as I can see the time stamp and build number in debug
> logs.
> But, now the problem that I am facing.
> 1. in WEB-INF/lib of war file.. dependencies are packaging with timestamp.
> 2. In my project, I am using plugin to copy flex code into my war file but
> that again copy the flex artifact with timestamp. But, I have hard coded
> the
> artifact name in my jsp as gui-flex-14.0-SNAPHOT.swc. Due to this I am
> getting blank screen.
> So, please let me know is there any way to convert unique snapshot
> artifacts
> into non-unique on downloading from nexus.
> In simple words, I am proposing that the Maven client download a snapshot
> artifact named A-1.0.0-20110302.160157-17.jar and then rename it to
> A-1.0.0-SNAPSHOT.jar when it stores the file locally.
> --
> View this message in context:
> Sent from the Maven - Users mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Adrien Rivard

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message