Created
March 19, 2010 15:48
-
-
Save jamescarr/337654 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-------- | |
Maven version: 2.0.10 | |
Java version: 1.6.0_11 | |
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" | |
-------- | |
pom.xml: | |
-------- | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.jamescarr</groupId> | |
<artifactId>foo</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<build> | |
<finalName>advancement</finalName> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-dependency-plugin</artifactId> | |
<executions> | |
<!-- copy and unpack advancement-common so it is included in the JAR --> | |
<execution> | |
<id>unpack-advancement-common-product-service-interfaces-and-relative-layout-and-jsci-core</id> | |
<phase>process-classes</phase> | |
<goals> | |
<goal>unpack</goal> | |
</goals> | |
<configuration> | |
<artifactItems> | |
<artifactItem> | |
<groupId>${project.groupId}</groupId> | |
<artifactId>advancement-common</artifactId> | |
<version>${project.version}</version> | |
<type>jar</type> | |
<overWrite>true</overWrite> | |
<outputDirectory>${project.build.outputDirectory}</outputDirectory> | |
</artifactItem> | |
</artifactItems> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> | |
-------- | |
mvn dependency:unpack output: | |
-------- | |
[INFO] Scanning for projects... | |
[INFO] Searching repository for plugin with prefix: 'dependency'. | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Unnamed - org.jamescarr:foo:jar:0.0.1-SNAPSHOT | |
[INFO] task-segment: [dependency:unpack] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] BUILD ERROR | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] One or more required plugin parameters are invalid/missing for 'dependency:unpack' | |
[0] Inside the definition for plugin 'maven-dependency-plugin' specify the following: | |
<configuration> | |
... | |
<artifactItems>VALUE</artifactItems> | |
</configuration>. | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] For more information, run Maven with the -e switch | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 3 seconds | |
[INFO] Finished at: Fri Mar 19 10:46:11 CDT 2010 | |
[INFO] Final Memory: 8M/19M | |
[INFO] ------------------------------------------------------------------------ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment