The following comment has been added to this issue:

     Author: John Fallows
    Created: Mon, 1 Sep 2003 8:05 PM
       Body:
We are (relatively) new to maven so please pardon our ignorance if we have missed 
something obvious in the documentation.

We would like to be able to leverage the full snapshot functionality of maven, even 
when branches are being used.

For example, when we create a snapshot, such as

  foo-1.0-SNAPSHOT.jar

another, dated jar is also created.

  foo-1.0-<tstamp>.jar

This timestamped jar can then be used as a converted snapshot dependency.

If we put 1.0-SNAPSHOT in the project currentVersion, then it is ignored by both the 
snapshot jar and timestamp jar filenames.

Is there another way we can leverage the convert-snapshots functionality of maven on 
more than one active version (branch) without running into a naming collision?

Thank you for your time and guidance.
---------------------------------------------------------------------
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: Reopened
   Priority: Minor

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin-jar
   Fix Fors:
             1.0-rc1
   Versions:
             1.0-beta-10

   Assignee: 
   Reporter: 

    Created: Wed, 27 Aug 2003 1:41 PM
    Updated: Mon, 1 Sep 2003 2:29 AM
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