[ https://jira.codehaus.org/browse/MASSEMBLY-407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kristian Rosenvold closed MASSEMBLY-407. ---------------------------------------- Resolution: Fixed Fix Version/s: 2.3 Assignee: Kristian Rosenvold This was fixed in 2.3, one of the many quoting bugs fixed in plexus-* > Error in chmod if file name contains single quot > ------------------------------------------------ > > Key: MASSEMBLY-407 > URL: https://jira.codehaus.org/browse/MASSEMBLY-407 > Project: Maven 2.x Assembly Plugin > Issue Type: Bug > Affects Versions: 2.2-beta-2, 2.2-beta-3 > Environment: Apache Maven 2.1.0 (r755702; 2009-03-18 14:10:27-0500) > Java version: 1.5.0_06 > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux" version: "2.6.15-26-server" arch: "i386" Family: "unix" > Reporter: Shihab Uddin > Assignee: Kristian Rosenvold > Fix For: 2.3 > > Attachments: assembly-test.tar.gz > > > If a file name contains single quot, following error is produced: > {code:none} > [WARNING] ------------------------------- > [WARNING] Standard error: > [WARNING] ------------------------------- > [WARNING] > [WARNING] ------------------------------- > [WARNING] Standard output: > [WARNING] ------------------------------- > [WARNING] /bin/sh: -c: line 0: unexpected EOF while looking for matching `'' > /bin/sh: -c: line 1: syntax error: unexpected end of file > [WARNING] ------------------------------- > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error creating assembly: Error creating assembly archive dist: chmod > exit code was: 2 > {code} > See attached sample project. Just run "mvn package". -- 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