evenisse    2003/09/01 09:09:21

  Modified:    src/java/org/apache/maven/jelly/tags/maven
                        SnapshotSignature.java
  Log:
  - Rollback my previous change.
  - Update javadoc
  
  Revision  Changes    Path
  1.11      +4 -5      
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.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- SnapshotSignature.java    29 Aug 2003 11:27:50 -0000      1.10
  +++ SnapshotSignature.java    1 Sep 2003 16:09:21 -0000       1.11
  @@ -98,7 +98,7 @@
   
       /**
        * Process the tag. Create a variable in the current context of the format
  -     * <code>${pom.id}-${pom.currentVersion}.yyyyMMdd.HHmmss</code>
  +     * <code>${pom.artifactId}-yyyyMMdd.HHmmss</code>
        *
        * @param output used to send XML output to Jelly
        * @throws MissingAttributeException if the project property is not set
  @@ -111,9 +111,8 @@
           SimpleDateFormat formatter = new SimpleDateFormat( "yyyyMMdd.HHmmss" );
           formatter.setTimeZone( TimeZone.getTimeZone( "GMT" ) );
           String snapshotVersion = formatter.format( now );
  -        String snapshotSignature = getProject().getArtifactId() + "-" +
  -                                   getProject().getCurrentVersion() + "-" +
  -                                   snapshotVersion;
  +        String snapshotSignature = getProject().getArtifactId() +
  +                                   "-" + snapshotVersion;
   
           context.setVariable( "snapshotSignature", snapshotSignature );
   
  
  
  

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

Reply via email to