I recently enhanced the plugin page to cover this specifically:
http://maven.apache.org/plugins/maven-dependency-plugin/faq.html

-----Original Message-----
From: muhwas [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 20, 2007 4:09 PM
To: users@maven.apache.org
Subject: mvn dependency:unpack

hi,

Can somebody please explain me how "mvn
dependency:unpack" works because i am trying to run
tuscany-incubating-M2 samples. when i run "mvn
dependency:unpack" i am getting 

[INFO]
------------------------------------------------------------------------
[INFO] One or more required plugin parameters are
invalid/missing for 'dependen
y:unpack'

[0] inside the definition for plugin:
'maven-dependency-plugin'specify the foll
wing:

<configuration>
  ...
  <artifactItems>VALUE</artifactItems>
</configuration>.


I found on the list that i have to include 

<plugin>
                  <groupId>org.apache.maven.plugins</groupId>
                 
<artifactId>maven-dependency-plugin</artifactId>
                  <version>2.0-alpha-1</version>
                  <executions>
                    <execution>
                      <id>unpack</id>
                      <phase>package</phase>
                      <goals>
                        <goal>unpack</goal>
                      </goals>
                      <configuration>
                         <artifactItems>
                          <artifactItem>
                          <groupId>myModule</groupId>
                            <artifactId>myArtifactId</artifactId>
                               <version>1.0-SNAPSHOT</version>
                                <type>jar</type>
                                  <overWrite>false</overWrite>
                         
<outputDirectory>${project.build.directory}</outputDirectory>
                         </artifactItem>
                        </artifactItems>
                      </configuration>
                    </execution>
                  </executions>
                </plugin>

in the <plugins> section in pom.xml file. but i what
to know how do i know what plug-ins to unpack?

regards,
muhwas

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

Reply via email to