I am trying to figure out how to use dependency plugin to copy both .class
jar files as well as source jars.

Unfortunately, so far I only able to copy the .class jar files, but the
source jars (which I know are available for my artifacts) do not get copied.

Please have a look at my plugin configuration and tell me what I'm doing
wrong. Note that I have tried declaring the includeClassifiers element both
inside and outside the execution element with no success.

Here is my plugin configuration:

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.0</version>
        <configuration>
                <includeClassifiers>sources</includeClassifiers>
        </configuration>
        <executions>
                <execution>
                        <id></id>
                        <phase>install</phase>
                        <goals>
                                <goal>copy-dependencies</goal>
                        </goals>
                        <inherited>false</inherited>
                </execution>
        </executions>
</plugin>

-- 
View this message in context: 
http://www.nabble.com/Question-on-the-dependency-plugin-tp21342783p21342783.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