Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Duplicate
-
2.0-alpha-4, 2.0
-
None
-
None
-
Mac OS X 10.5.1
Java 1.5.0_13-b05-237
Maven 2.0.8
Description
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
]
[INFO] [dependency: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] ------------------------------------------------------------------------
Attachments
Attachments
Issue Links
- duplicates
-
MDEP-138 unpack of tar files fail with ArchiverException: chmod exit code was: 1
- Closed