The following comment has been added to this issue:
Author: dion gillard
Created: Mon, 1 Sep 2003 7:53 PM
Body:
Branches weren't being used in the code above, so the code above couldn't solve that
issue.
If the two branches want to publish jars like foo-1.2-SNAPSHOT and foo-2.0-SNAPSHOT
then they should list 1.2-SNAPSHOT or 2.0-SNAPSHOT as their currentVersion in the pom.
How does this not meet the need?
---------------------------------------------------------------------
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]