maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@gmx.de>
Subject Re: maven-dependency-plugin:unpack-dependencies doesn't always work
Date Fri, 06 Nov 2009 22:23:54 GMT
Hi Sony,

Sony Antony wrote:

> My apologies if I didnt understand your Q correctly :
> The following works for me
> <plugin>
>             <artifactId>maven-dependency-plugin</artifactId>
>             <version>2.1</version>
>             <executions>
>                <execution>
>                   <id>fetch-wsdls-and-schemas</id>
>                   <phase>generate-sources</phase>
>                   <goals>
>                      <goal>unpack-dependencies</goal>
>                   </goals>
>                   <configuration>
> 
>
<outputDirectory>${project.build.directory}/wsdls-and-schemas</outputDirect
> ory>
>                      <includeGroupIds>mygroupid</includeGroupIds>
>                      <includeArtifacIds>sms-wsdlfiles</includeArtifacIds>
>                      <excludeTransitive>true</excludeTransitive>
>                   </configuration>
>                </execution>
>             </executions>
>          </plugin>
> 
> Also I had to give teh dependency as the project dependency ( not inside
> the plugin )

Good catch, I did not notice this. The dependency-plugin works on the
proejct's deps, not on the deps of the plugin itself.

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message