maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Tran (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MDEP-142) Path with space makes the dependency:unpack goal fail
Date Wed, 30 Dec 2009 10:52:55 GMT

    [ http://jira.codehaus.org/browse/MDEP-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204540#action_204540
] 

Dan Tran commented on MDEP-142:
-------------------------------

- able to get the test fails on my redhat 5 box.
- went a head to upgrade plexus-utils-1.5.1 per MDEP-138 and its associated plexus fix.

unpack IT test are now passed on both windows and linux

Revision: 894584
Author: dantran
Date: 2:48:22 AM, Wednesday, December 30, 2009
Message:
MDEP-138:update plexus-utils-1.5.1 to fix space in path issue which only found on linux. This
will fix MDEP-142 as well
----
Modified : /maven/plugins/trunk/maven-dependency-plugin/pom.xml





> Path with space makes the dependency:unpack goal fail
> -----------------------------------------------------
>
>                 Key: MDEP-142
>                 URL: http://jira.codehaus.org/browse/MDEP-142
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: unpack
>    Affects Versions: 2.0-alpha-4, 2.0
>         Environment: Mac OS X 10.5.1
> Java 1.5.0_13-b05-237
> Maven 2.0.8
>            Reporter: Pierre-Arnaud Marcelot
>            Assignee: Brian Fox
>            Priority: Blocker
>             Fix For: 2.2
>
>         Attachments: AbstractDependencyPluginITCase.java, DuplicateFilesTest.java, pom.xml,
pom.xml, pom.xml, pom.xml
>
>
> Configuration in pom.xml file:
>     <build>
>         <plugins>
>           <plugin>
>             <groupId>org.apache.maven.plugins</groupId>
>             <artifactId>maven-dependency-plugin</artifactId>
>             <executions>
>               <execution>
>                 <id>launcher-macosx (unpack)</id>
>                 <!-- Unpack the launcher and equinox launcher -->
>                 <phase>generate-resources</phase>
>                 <goals>
>                   <goal>unpack</goal>
>                 </goals>
>                 <configuration>
>                   <overWrite>true</overWrite>
>                   <markersDirectory>${project.build.directory}/dependency-maven-plugin-markers/macosx</markersDirectory>
>                   <artifactItems>
>                     <artifactItem>
>                       <groupId>org.apache.directory.studio</groupId>
>                       <artifactId>launcher-macosx</artifactId>
>                       <type>tar.gz</type>
>                       <outputDirectory>${studio-dir}-macosx</outputDirectory>
>                     </artifactItem>
>                     <artifactItem>
>                       <groupId>org.eclipse.equinox.launcher.carbon</groupId>
>                       <artifactId>macosx</artifactId>
>                       <type>tar.gz</type>
>                       <outputDirectory>${studio-dir}-macosx/Apache Directory Studio.app/Contents/Resources/Java/plugins</outputDirectory>
>                     </artifactItem>
>                   </artifactItems>
>                 </configuration>
>               </execution>
>             </executions>
>           </plugin>
>         </plugins>
>       </build>
> Maven output:
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Directory Studio Build
> [INFO]    task-segment: [clean, install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory /Users/pajbam/Development/Apache/studio-maven/studio/target
> [INFO] Deleting directory /Users/pajbam/Development/Apache/studio-maven/studio/target/classes
> [INFO] Deleting directory /Users/pajbam/Development/Apache/studio-maven/studio/target/test-classes
> [INFO] Deleting directory /Users/pajbam/Development/Apache/studio-maven/studio/target/site
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [dependency:unpack {execution: launcher-macosx (unpack)}]
> [INFO] Configured Artifact: org.apache.directory.studio:launcher-macosx:?:tar.gz
> [INFO] Configured Artifact: org.eclipse.equinox.launcher.carbon:macosx:?:tar.gz
> [INFO] Unpacking /Users/pajbam/.m2/repository/org/apache/directory/studio/launcher-macosx/1.1.0/launcher-macosx-1.1.0.tar.gzto
>  /Users/pajbam/Development/Apache/studio-maven/studio/target/ApacheDirectoryStudio-macosx
> with Includes null and excludes:null
> [INFO] Expanding /Users/pajbam/.m2/repository/org/apache/directory/studio/launcher-macosx/1.1.0/launcher-macosx-1.1.0.tar.gz
to /tmp/tmp6522.tar
> [INFO] Expanding: /tmp/tmp6522.tar into /Users/pajbam/Development/Apache/studio-maven/studio/target/ApacheDirectoryStudio-macosx
> [WARNING] -------------------------------
> [WARNING] Standard error:
> [WARNING] -------------------------------
> [WARNING] 
> [WARNING] -------------------------------
> [WARNING] Standard output:
> [WARNING] -------------------------------
> [WARNING] /bin/sh: line 0: cd: /Users/pajbam/Development/Apache/studio-maven/studio/target/ApacheDirectoryStudio-macosx/Apache:
No such file or directory
> [WARNING] -------------------------------
> org.codehaus.plexus.archiver.ArchiverException: chmod exit code was: 1
> 	at org.codehaus.plexus.archiver.util.ArchiveEntryUtils.chmod(ArchiveEntryUtils.java:59)
> 	at org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver.extractFile(AbstractZipUnArchiver.java:236)
> 	at org.codehaus.plexus.archiver.tar.TarUnArchiver.execute(TarUnArchiver.java:92)
> 	at org.codehaus.plexus.archiver.tar.TarGZipUnArchiver.execute(TarGZipUnArchiver.java:76)
> 	at org.codehaus.plexus.archiver.AbstractUnArchiver.extract(AbstractUnArchiver.java:108)
> 	at org.apache.maven.plugin.dependency.AbstractDependencyMojo.unpack(AbstractDependencyMojo.java:266)
> 	at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.unpackArtifact(UnpackMojo.java:122)
> 	at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.execute(UnpackMojo.java:95)
> 	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
> 	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)
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error unpacking file: /Users/pajbam/.m2/repository/org/apache/directory/studio/launcher-macosx/1.1.0/launcher-macosx-1.1.0.tar.gz
to: /Users/pajbam/Development/Apache/studio-maven/studio/target/ApacheDirectoryStudio-macosx
> org.codehaus.plexus.archiver.ArchiverException: chmod exit code was: 1
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 minutes 31 seconds
> [INFO] Finished at: Tue Feb 05 11:50:34 CET 2008
> [INFO] Final Memory: 35M/63M
> [INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message