Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-757 Here is an overview of the issue: --------------------------------------------------------------------- Key: MAVEN-757 Summary: wrong paths for file:// deployment Type: Bug Status: Unassigned Priority: Major Time Spent: Unknown Remaining: Unknown Project: maven Components: plugin-artifact Versions: 1.0-rc1 Assignee: Reporter: Frank Wagner Created: Fri, 29 Aug 2003 8:54 AM Updated: Fri, 29 Aug 2003 8:54 AM Description: I am looking at Maven HEAD. The org.apache.maven.deploy.deployers.FileDeployer is a little confused about the destination file path. It generates the offset directory twice: Instead of copying a file to <repository>/<group>/<type>/ it uses <repository>/<group>/<type>s/<group>/<type>s The current code in deploy(DeployRequest) is ... destFile = new File(destFile, request.dirname()); if (!destFile.exists()) { destFile.mkdirs(); } destFile = new File(destFile, request.getDestFile()); ... That should be replaced by something like: ... if (destFile.getParentFile()!=null && !destFile.getParentFile().exists()) { destFile.getParentFile().mkdirs(); } destFile = new File(destFile, request.getDestFile()); ... Which fixed the problem for me. Tschau, Frank --------------------------------------------------------------------- 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]
