Hey Emannuelle,

what happens if the version is something like 1.3-SNAPSHOT?

I'm -1 on this change for the above reason, as it breaks existing 
assumptions.

Anyone else have some ideas?
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


[EMAIL PROTECTED] wrote on 29/08/2003 09:27:50 PM:

> evenisse    2003/08/29 04:27:50
> 
>   Modified:    src/java/org/apache/maven/jelly/tags/maven
>                         SnapshotSignature.java
>   Log:
>   MAVEN-750. Add current version to snapshotSignature
> 
>   Revision  Changes    Path
>   1.10      +4 -2 
> maven/src/java/org/apache/maven/jelly/tags/maven/SnapshotSignature.java
> 
>   Index: SnapshotSignature.java
>   ===================================================================
>   RCS file: 
> 
/home/cvs/maven/src/java/org/apache/maven/jelly/tags/maven/SnapshotSignature.
> java,v
>   retrieving revision 1.9
>   retrieving revision 1.10
>   diff -u -r1.9 -r1.10
>   --- SnapshotSignature.java   19 Aug 2003 04:25:39 -0000   1.9
>   +++ SnapshotSignature.java   29 Aug 2003 11:27:50 -0000   1.10
>   @@ -111,7 +111,9 @@
>            SimpleDateFormat formatter = new SimpleDateFormat( 
> "yyyyMMdd.HHmmss" );
>            formatter.setTimeZone( TimeZone.getTimeZone( "GMT" ) );
>            String snapshotVersion = formatter.format( now );
>   -        String snapshotSignature = getProject().getArtifactId() +
> "-" + snapshotVersion;
>   +        String snapshotSignature = getProject().getArtifactId() + "-" 
+
>   +                                   getProject().getCurrentVersion() + 
"-" +
>   +                                   snapshotVersion;
> 
>            context.setVariable( "snapshotSignature", snapshotSignature 
);
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to