Le Friday 07 November 2008 15:44:01 Stephen Connolly, vous avez écrit :
> When you build foo-1.0.3-SNAPSHOT,
> the build treats that version as is until you reach the deploy stage.
>
> At deploy, the deploy plugin gives it the timestamp... so the timestamp is
> only available when you get to the deploy phase (i.e. after deploy you'd be
> able to get foo-1.0.3-20081104.143523-57)
>
> Unfortunately for you, you are looking for the value before it exists...
Understood, thanks Stephen.

> now if this is for a separate module, then you might stand a chance

To be more precise, when I'm building foo-1.0.3-SNAPSHOT, depending on 
bar-1.2.2-SNAPSHOT our MOJO tries to download bar-1.2.2-SNAPSHOT-aclassifier.

Given that at time 1, bar snapshot version was deployed _with_ an attached 
artifact with "aclassifier" and that at time 2 another bar snapshot version 
was deployed _without_ and attached artifact with "aclassifier", maven 
download the last snapshot version of bar-1.2.2-SNAPSHOT but our MOJO 
download the previous deployed snapshot version when trying to resolve 
bar-1.2.2-SNAPSHOT-aclassifier.

Any idea ?

Paul




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to