maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Rosenvold (JIRA)" <j...@codehaus.org>
Subject [jira] (MASSEMBLY-588) Build fails because of 'ls -1nlaR /'
Date Fri, 13 Jan 2012 09:04:02 GMT

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

Kristian Rosenvold commented on MASSEMBLY-588:
----------------------------------------------

This error can always be fixed by upgrading the version of plexus-io used by the plugin to
the latest version
                
> Build fails because of 'ls -1nlaR /'
> ------------------------------------
>
>                 Key: MASSEMBLY-588
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-588
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>         Environment: Ubuntu 11.10 (oneiric)
>            Reporter: Thomas Pasch
>         Attachments: partial_log.bz2
>
>
> This is a report again org.apache.maven.plugins:maven-assembly-plugin:2.2.2:single (package-assembly)
used in conjunction with maven 3.0.3. I'm trying to build ebml-viewer from svn r126 (lastest)
at http://code.google.com/p/ebml-viewer/source/checkout . Build fails on Linux, but the developer
of ebml-viewer reports that it builds fine on Windows.
> Last lines of output from failed build with 'mvn -DskipTests -X -e package 2>&1
| tee log':
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2:37.924s
> [INFO] Finished at: Tue Dec 06 20:30:47 CET 2011
> [INFO] Final Memory: 8M/216M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2.2:single
(package-assembly) on project ebml-viewer: Failed to create assembly: Error creating assembly
archive bin: Failed to retrieve numeric file attributes using: '/bin/sh -c ls -1nlaR /' ->
[Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2.2:single
(package-assembly) on project ebml-viewer: Failed to create assembly: Error creating assembly
archive bin: Failed to retrieve numeric file attributes using: '/bin/sh -c ls -1nlaR /'
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to create assembly:
Error creating assembly archive bin: Failed to retrieve numeric file attributes using: '/bin/sh
-c ls -1nlaR /'
> 	at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:504)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	... 19 more
> Caused by: org.apache.maven.plugin.assembly.archive.ArchiveCreationException: Error creating
assembly archive bin: Failed to retrieve numeric file attributes using: '/bin/sh -c ls -1nlaR
/'
> 	at org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive(DefaultAssemblyArchiver.java:189)
> 	at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:445)
> 	... 21 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:439)
> 	at org.apache.maven.plugin.assembly.filter.ComponentsXmlArchiverFileFilter.finalizeArchiveCreation(ComponentsXmlArchiverFileFilter.java:166)
> 	at org.codehaus.plexus.archiver.AbstractArchiver.runArchiveFinalizers(AbstractArchiver.java:845)
> 	at org.codehaus.plexus.archiver.AbstractArchiver.createArchive(AbstractArchiver.java:869)
> 	at org.apache.maven.plugin.assembly.archive.archiver.AssemblyProxyArchiver.createArchive(AssemblyProxyArchiver.java:512)
> 	at org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive(DefaultAssemblyArchiver.java:185)
> 	... 22 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:281)
> Please refer to the attachment for the complete output.

--
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

        

Mime
View raw message