maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anders Hammar (JIRA)" <j...@codehaus.org>
Subject [jira] (MJAR-151) Error assembling JAR on OS X
Date Wed, 06 Nov 2013 22:06:52 GMT

    [ https://jira.codehaus.org/browse/MJAR-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=335314#comment-335314
] 

Anders Hammar commented on MJAR-151:
------------------------------------

Please provide a sample project that shows this issue! Also, specify what JDK and Maven version
is used.
Provided info isn't enough to recreate the reported problem.
                
> Error assembling JAR on OS X
> ----------------------------
>
>                 Key: MJAR-151
>                 URL: https://jira.codehaus.org/browse/MJAR-151
>             Project: Maven JAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>         Environment: Mac OS X 10.6.8
>            Reporter: Jason Tovey
>            Priority: Blocker
>         Attachments: maven-jar-osx-debug-output.txt
>
>
> PlexusIoResourceAttributeUtils tries to execute '/bin/sh -c ls -1lad /Developer/codebase/ABC/pom.xml'
and does not get the output it was expecting.
> Running that command from the shell only lists the contents of the current directory
as a plain 'ls' would.
> Enclosing the whole 'ls' command inside quotes as it's passed to '/bin/sh -c' seems to
fix the problem. I.e.,  '/bin/sh -c "ls -1lad /Developer/codebase/ABC/pom.xml"'.
> Sorry in advance if this isn't a 'Maven 2.x JAR Plugin' issue or if it's not a blocker;
but I don't know a workaround other than not using Maven.

--
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: http://www.atlassian.com/software/jira

Mime
View raw message