The following comment has been added to this issue: Author: Dan Greening Created: Tue, 10 Aug 2004 2:48 PM Body: I ran into this problem myself today.
I'm willing to fix it and provide a patch (I'm not a developer), but here's how I would do it: by adding another parameter to artifact:install, artifact:deploy called "target" (or "jar" if you want to use the same name as used in the POM). If you set it, the plugin would not use handler.constructRepositoryFullPath, but instead use constructRepositoryDirectoryPath and append the "target" name. Looking for guidance from one of the developers. Let me know if you want this patch, and if so is the parameter "jar", "target" or something else. Dan Greening --------------------------------------------------------------------- View this comment: http://jira.codehaus.org/browse/MPARTIFACT-35?page=comments#action_22956 --------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/MPARTIFACT-35 Here is an overview of the issue: --------------------------------------------------------------------- Key: MPARTIFACT-35 Summary: artifact goals should allow different names Type: Improvement Status: Unassigned Priority: Major Original Estimate: 3 hours Time Spent: Unknown Remaining: 3 hours Project: maven-artifact-plugin Versions: 1.5 Assignee: Reporter: Felipe Leme Created: Sun, 1 Aug 2004 9:22 PM Updated: Tue, 10 Aug 2004 2:48 PM Description: It would be nice it <artifact> tags allows us to change the name of the artifact being installed/deployed. That wuold be really helpful when your project has 'secondary artifacts', like javadoc, zip files or a simple war with documents. For instance, when you call javadoc:install, a jar file is created at target (PROJECT-version_javadoc.jar) but that file is installed as a .javadoc, even though the call to <artifact:install> uses the same name as the existing article on target: <artifact:install artifact="${maven.javadoc.final.name}" type="javadoc" project="${pom}"/> In other, it would be nice if artifact:install (and deploy, deploysnaspshot, etc...) used the name passed on the artifact attribute (instead of always using ${pom.artifactId}-version.${type}. Felipe --------------------------------------------------------------------- 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]