maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <>
Subject [jira] (MJAR-164) Invalid shell bounce call command
Date Sun, 02 Jun 2013 11:44:03 GMT


Robert Scholte closed MJAR-164.

    Resolution: Not A Bug
      Assignee: Robert Scholte

As described in latest comment:
It seems either increasing swap size or reducing values for {{Xms}} and {{Xmx}} to Java can
solve the issue I had.
> Invalid shell bounce call command
> ---------------------------------
>                 Key: MJAR-164
>                 URL:
>             Project: Maven 2.x JAR Plugin
>          Issue Type: Bug
>         Environment: Mac OS X Lion, Intellij IDEA 10.x version
>            Reporter: Alexey Korchevsky
>            Assignee: Robert Scholte
>            Priority: Blocker
> I create simple hello world project, and run build it by maven.
> Maven run command "jar:jar", and it use org.codehaus.plexus-io component. This component
throws exception:
> {code}
> Caused by: Failed to retrieve numeric file attributes using: '/bin/sh
-c ls -1nlad /Users/mitallast/Sites/test/pom.xml'
> 	at
> 	at
> 	at
> 	at org.codehaus.plexus.archiver.ArchiveEntry.createFileEntry(
> 	... 32 more
> {code}
> Note, generated shell command is invalid:
> {code}/bin/sh -c ls -1nlad /Users/mitallast/Sites/test/pom.xml{code}
> Correct command like as 
> {code}/bin/sh -c "ls -1nlad /Users/mitallast/Sites/test/pom.xml"{code}
> Shell option "-c" is short equivalent of "command". Value for this option is a shell
command string. Plexus component didn't escape and not add quotes to generated "ls" command.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message