The following comment has been added to this issue:

     Author: John Fallows
    Created: Wed, 27 Aug 2003 3:05 PM
       Body:
Propose changing above to

String snapshotSignature = getProject().getId() + "-" + 
getProject().getCurrentVersion() + "-" + snapshotVersion;


---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-750


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-750
    Summary: SnapshotSignature does not include currentVersion
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin-jar
   Versions:
             1.0-beta-10

   Assignee: 
   Reporter: 

    Created: Wed, 27 Aug 2003 1:41 PM
    Updated: Wed, 27 Aug 2003 1:41 PM
Environment: WinXP, J2SE 1.3.1

Description:
class org.apache.maven.jelly.tags.maven.SnapshotSignature
method doTag

    /**
     * Process the tag. Create a variable in the current context of the format
     * <code>${pom.id}-${pom.currentVersion}.yyyyMMdd.HHmmss</code>
     *
     * @param output used to send XML output to Jelly
     * @throws MissingAttributeException if the project property is not set
     */
    public void doTag( XMLOutput output ) throws MissingAttributeException
    {
      ...
      String snapshotSignature = getProject().getArtifactId() + "-" + snapshotVersion;
      ...
    }

This method does not appear to generate a snapshot JAR name that includes the current 
version (as spec'd in the Javadoc).

Thanks for your help :)
      


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to