What happens if you put "/bin/sh -c ls -1nlaR / " in a command window?
With regards, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Thu, Mar 12, 2009 at 10:18 AM, Raphaël Piéroni <[email protected]> wrote: > Please any help on this, > I am stuck on the matter and > also in a kind of a hurry. > > Regards, > > Raphaêl > > 2009/3/11 Raphaël Piéroni <[email protected]>: >> Hi folks, >> >> I have a strange error using the assembly plugin on CentOs4.7. >> Obvioulsy the same checkout on windows works like a charm. >> >> For information my build is multi-module an two modules have an assembly. >> The first succeed and the second fails. It even fails when i call it >> in a mono module. >> >> I attached the offending assembly descriptor. >> >> Thanks in advance for any help. >> >> Regards, >> >> Raphaël >> >> Here the error i have: >> [INFO] Failed to create assembly: Error creating assembly archive >> source-distribution: Failed to retrieve numeric file attributes using: >> '/bin/sh -c ls -1nlaR /' >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Trace >> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to >> create assembly: Error creating assembly archive source-distribution: >> Failed to retrieve numeric file attributes using: '/bin/sh -c ls >> -1nlaR /' >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:585) >> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> at >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to >> create assembly: Error creating assembly archive source-distribution: >> Failed to retrieve numeric file attributes using: '/bin/sh -c ls >> -1nlaR /' >> at >> org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:405) >> at >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) >> ... 16 more >> Caused by: org.apache.maven.plugin.assembly.archive.ArchiveCreationException: >> Error creating assembly archive source-distribution: Failed to >> retrieve numeric file attributes using: '/bin/sh -c ls -1nlaR /' >> at >> org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive(DefaultAssemblyArchiver.java:194) >> at >> org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:354) >> ... 18 more >> Caused by: org.codehaus.plexus.archiver.ArchiverException: Failed to >> retrieve numeric file attributes using: '/bin/sh -c ls -1nlaR /' >> at >> org.codehaus.plexus.archiver.AbstractArchiver$1.hasNext(AbstractArchiver.java:366) >> at >> org.apache.maven.plugin.assembly.filter.ComponentsXmlArchiverFileFilter.finalizeArchiveCreation(ComponentsXmlArchiverFileFilter.java:166) >> at >> org.codehaus.plexus.archiver.AbstractArchiver.runArchiveFinalizers(AbstractArchiver.java:760) >> at >> org.codehaus.plexus.archiver.AbstractArchiver.createArchive(AbstractArchiver.java:784) >> at >> org.apache.maven.plugin.assembly.archive.archiver.AssemblyProxyArchiver.createArchive(AssemblyProxyArchiver.java:496) >> at >> org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive(DefaultAssemblyArchiver.java:190) >> ... 19 more >> 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) >> at >> org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributeUtils.getFileAttributesByPath(PlexusIoResourceAttributeUtils.java:179) >> at >> org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributeUtils.getFileAttributesByPath(PlexusIoResourceAttributeUtils.java:145) >> at >> org.codehaus.plexus.components.io.resources.PlexusIoFileResourceCollection.getResources(PlexusIoFileResourceCollection.java:140) >> at >> org.codehaus.plexus.archiver.AbstractArchiver$1.hasNext(AbstractArchiver.java:362) >> ... 24 more >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
