maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject cvs commit: maven/src/java/org/apache/maven/jelly/tags/maven SnapshotSignature.java
Date Mon, 01 Sep 2003 16:09:21 GMT
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message