Ok I think I posted too fast and just found it...

dependency:copy-dependencies:excludeTransitive parameter was set to true.
Setting it to false and excluding pom types does the job.

                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-dependency-plugin</artifactId>
                                <executions>
                                        <execution>
                                                <id>copy-dependencies</id>
                                                <phase>package</phase>
                                                <goals>
                                                        
<goal>copy-dependencies</goal>
                                                </goals>
                                                <configuration>
                                                        
<outputDirectory>./target/maven_plugins</outputDirectory>
                                                        
<excludeTransitive>false</excludeTransitive>
                                                        
<excludeTypes>pom</excludeTypes>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>

Fred
-- 
View this message in context: 
http://www.nabble.com/How-to-copy-dependencies-of-a-pom-packaged-dependency---tp20430629p20430821.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to