Hi,
i'm working on the development of a plugin which can have a
configuration like this.
<plugin>
<groupId>com.soebes.maven.plugins.mlv</groupId>
<artifactId>maven-license-verifier-plugin</artifactId>
<version>0.4</version>
<dependencies>
<dependency>
<groupId>YouCompanyPackage.licenses</groupId>
<artifactId>licenses</artifactId>
<version>6</version>
</dependency>
</dependencies>
<configuration>
<verbose>true</verbose>
</configuration>
</plugin>
So the question is:
Is there a good way to access the classpath of the plugin only (not
compile, test etc.) and be sure to get the given dependency
(YouCompanyPackage.licenses) in simple way? Or do i have to inject
something special to the Plugin like documented on
http://maven.apache.org/guides/mini/guide-maven-classloading.html for
plugin class loader...
Does there exist an example how to do this?
Many thanks in advance...
Kind regards
Karl Heinz Marbaise
--
SoftwareEntwicklung Beratung Schulung Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise ICQ#: 135949029
Hauptstrasse 177 USt.IdNr: DE191347579
52146 Würselen http://www.soebes.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]