Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPJAR-24 Here is an overview of the issue: --------------------------------------------------------------------- Key: MPJAR-24 Summary: Linking to ${pom.artifactId}-SNAPSHOT.jar generates an error on Solaris if a previous SNAPSHOT was deployed Type: Bug Status: Open Priority: Minor Original Estimate: 5 minutes Time Spent: Unknown Remaining: 5 minutes Project: maven-jar-plugin Assignee: Jason van Zyl Reporter: Trevor Lohrbeer Created: Wed, 14 Apr 2004 10:48 PM Updated: Wed, 14 Apr 2004 10:48 PM Environment: JDK 1.4.2 for Maven Solaris 2.7 for the repository Description: The line in maven-jar-plugin-1.4/plugin.jelly that issues the site command to deploy the jar contains the following Unix command: ln -sf ${maven.jar.to.deploy} ${pom.artifactId}-SNAPSHOT.jar; This command generates an error on Solaris 2.7 when ${pom.artifactId}-SNAPSHOT.jar already exists. This situation occurs when you deploy a snapshot jar, then attempt to deploy it again, such as in: maven jar:deploy-snapshot maven jar:deploy-snapshot The first time the snapshot was deployed, the link was created. The second time, the link still exists. Attempting to run the ln command the second time generates the error: ln: cannot create common-SNAPSHOT.jar: File exists The fix for this is to delete the link immediately before it is created by adding the following command before the ln command described above: rm ${pom.artifactId}-SNAPSHOT.jar; --------------------------------------------------------------------- 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]
