Move the configuration from the executions section. For some reason,
when executing from the cli, it doesn't use any execution. 

-----Original Message-----
From: Thorsten Heit [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 01, 2007 9:57 AM
To: Maven Users List
Subject: Re: RE: [m2.0.5] Problems getting "mvn dependency:unpack" to
work

Hi Brian,

> If you are running from the cli, you either need to add configuration 
> to the pom to tell the plugin what to unpack, or maybe you want to use

> the unpack-dependencies goal.

I thought I already added the configuration as I wrote in my former
post...?

*snip*

> although I have the following configuration in my POM (similar to one 
> of the examples listed on the plugin description):
> 
> <build>
>   <plugins>
>     <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>
>   </plugins>
> </build>

Can you tell me what I'm doing wrong here?


Regards

Thorsten

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