Lucas Lampietti created MDEPLOY-149: ---------------------------------------
Summary: deploy-file fails with the <files/> element containing spaces or line breaks Key: MDEPLOY-149 URL: https://jira.codehaus.org/browse/MDEPLOY-149 Project: Maven 2.x and 3.x Deploy Plugin Issue Type: Bug Components: deploy:deploy-file Affects Versions: 2.7 Environment: all Reporter: Lucas Lampietti Attachments: mvn-deploy.patch The deploy-file goal fails if we set a list of files with line breaks or spaces (for better readability since we have a long list of aside artifacts to deploy) The following sample fails : {code:xml} <configuration> <classifiers> classifier1, classifier2 classifier3 </classifiers> <files> ${basedir}/src/main/assets/artifact1.zip, ${basedir}/src/main/assets/artifact2.jar, ${basedir}/src/main/assets/artifact3.jar </files> <types> zip, jar, jar </types> </configuration> {code} while the following works fine : {code:xml} <configuration> <classifiers> classifier1, classifier2 classifier3 </classifiers> <files> ${basedir}/src/main/assets/artifact1.zip,${basedir}/src/main/assets/artifact2.jar,${basedir}/src/main/assets/artifact3.jar </files> <types> zip, jar, jar </types> </configuration> {code} As visible in these configuration samples, the elements <classifiers/> end <types/> are not affected and work fine even with spaces or line breaks in them. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira