Hi,
I want to configure in the maven-dependency-plugin in the POM the goal
purge-local-repository. Now I have the problem that I want to exclude a
artifact from this mechanism. How can I configure this in the POM.
My code looks like this:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>purge-local-repository</id>
<phase>generate-sources</phase>
<goals>
<goal>purge-local-repository</goal>
</goals>
<configuration>
<excludes>
<exclude>groupId:artifactId</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
Is this correct? If not, how should it look like.
Regards
Christina
--
Christina Becker
Software Engineer, RnD
NAVTEQ Europe B.V.
Otto-Volger-Straße 1
65843 Sulzbach
Frankfurt
www.navteq.com <http://www.navteq.com>
+49.6196.589.308
+49 177 26 333 90
The information contained in this communication may be CONFIDENTIAL and is
intended only for the use of the recipient(s) named above. If you are not the
intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication, or any of its contents, is
strictly prohibited. If you have received this communication in error, please
notify the sender and delete/destroy the original message and any copy of it
from your computer or paper files.