[ http://jira.codehaus.org/browse/MOJO-198?page=comments#action_54591 ]
Brian Fox commented on MOJO-198: -------------------------------- "difficutl to implement since destFileName got reassigned at the base, so it is always available." .. only outputDirectory gets assigned to the artifactItem at the base, we leave the destFileName null if not set. I tested and seems to work ok. > [dependency-maven-plugin] Add stripVersion funcionality to dependency:copy > mojo > ------------------------------------------------------------------------------- > > Key: MOJO-198 > URL: http://jira.codehaus.org/browse/MOJO-198 > Project: Mojo > Type: Wish > Components: sandbox > Versions: 1.0 > Environment: xp > Reporter: Dan Tran > Assignee: Brian Fox > Fix For: 1.0 > > > I have a immediate need to strip version out of artifact file name. The > solution is to > set artifactItem.destFileName = artifactItem.artifactId. However it seems a > little cumbersome since I have to do it for every single > artitfactItem in build's configuration. > We instroduce stripVersion funcationality alread in > depedency:copy-dependencies. -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira
