thank you for your reply but i am still getting same eror. could you please let me know what i am doing wrong.
thanks --- "Brian E. Fox" <[EMAIL PROTECTED]> wrote: > 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] > >
<?xml version="1.0" encoding="UTF-8"?> <!-- * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. --> <project> <parent> <groupId>org.apache.tuscany.sca.samples</groupId> <artifactId>parent</artifactId> <version>1.0-incubator-M2</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>sample-helloworldwsclient</artifactId> <packaging>jar</packaging> <name>Tuscany HelloWorld Web Service Client Sample</name> <description>A sample client for a HelloWorld Web Service.</description> <dependencies> <dependency> <groupId>commonj</groupId> <artifactId>sdo-api-r2.0.1</artifactId> <version>${sdoVersion}</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.osoa</groupId> <artifactId>sca-api-r0.95</artifactId> <version>${scaVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.tuscany.sca.kernel</groupId> <artifactId>tuscany-api</artifactId> <version>${scaImplVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.tuscany.sca.kernel</groupId> <artifactId>core</artifactId> <version>${scaImplVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.tuscany.sca.services.bindings</groupId> <artifactId>axis2</artifactId> <version>${scaImplVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.tuscany.sca</groupId> <artifactId>test</artifactId> <version>${scaImplVersion}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.tuscany.sca.services.databinding</groupId> <artifactId>databinding-sdo</artifactId> <version>${scaImplVersion}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.tuscany.sca.services.databinding</groupId> <artifactId>databinding-axiom</artifactId> <version>${scaImplVersion}</version> <scope>test</scope> </dependency> </dependencies> <build> <defaultGoal>package</defaultGoal> <finalName>${artifactId}</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifest> <mainClass>helloworld.HelloWorldClient</mainClass> <addClasspath>true</addClasspath> </manifest> </archive> </configuration> </plugin> <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>org.apache.tuscany.sca.samples</groupId> <artifactId>sample-helloworldwsclient</artifactId> <type>jar</type> <overWrite>false</overWrite> <outputDirectory>target</outputDirectory> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]