maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raphaël Piéroni <raphaelpier...@gmail.com>
Subject Re: [Maven assembly plugin] Error using the assembly plugin on CentOs4.7
Date Thu, 12 Mar 2009 13:00:14 GMT
Thanks, Santos

Right the command seems OK with adding double-quotes.

But :
1. The error comes from Plexus.
Caused by: java.io.IOException: Failed to retrieve numeric file
attributes using: '/bin/sh -c ls -1nlaR /'
       at org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributeUtils.executeLs(PlexusIoResourceAttributeUtils.java:238)

2. Plexus is used by the assembly plugin

3. The same plugin using plexus worked fine just in the precedent
module of my multi-module build.

Should i raise Jira against the assembly plugin ?

Regards,

Raphaël


2009/3/12 Santos Patel <santos.patel@tcs.com>:
> hi,
>
> i think the problem is with the command...
>
> /bin/sh -c ls -1nlaR         as you have shown only results in the result
> given by     /bin/sh -c ls
>
> It doesn't seem to take the ls options in to consideration.
> the options
>   a --> show all files including ones starting with "."
>   R --> follow sub directories recursively.
>
> /bin/sh -c "ls -1nlaR"      works fine and shows the results with the file
> attributes as required.
>
> Santosh
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message