In your HOME/.maven/cache search the version of maven-clover-plugin. If your maven version is the 1.0.2 the maven plugin version for clover is 1.6 (that don't support external licence). I am at 99% sure that you need to update the version of maven-clover-plugin to 1.9+. You can find it here : http://maven.apache.org/reference/plugins/clover/downloads.html Remove the old in your cache and MAVEN_HOME/plugin and copy the new in MAVEN_HOME/plugin
2005/7/21, Michael Owen <[EMAIL PROTECTED]>: > Hi, > > I have this dependency: > > <dependency> > <groupId>clover</groupId> > <artifactId>clover-ant</artifactId> > <version>1.3.1</version> > <type>jar</type> > <properties> > <eclipse.dependency>true</eclipse.dependency> > </properties> > </dependency> > It is in your pom ? There is no need to add the dependancies of a maven plugin in your pom as the plugin add the correct version him self. You can remove this deps. Nicolas > which uses clover 1.3.1 clover-ant jar. For the maven-junit-report-plugin I > have: > > <reports> > <report>maven-junit-report-plugin</report> > <report>maven-clover-plugin</report> > <report>maven-jxr-plugin</report> > </reports> > > only. Have do I make sure I'm using right version etc. ie. what do I need to > change.? > > Many thanks for your reply, > > Mike > > <br><br><br>>From: Nicolas Chalumeau > <[EMAIL PROTECTED]><br>>Reply-To: Nicolas Chalumeau > <[EMAIL PROTECTED]><br>>To: Maven Users List > <[email protected]><br>>Subject: Re: [M1] Clover license > problem<br>>Date: Thu, 21 Jul 2005 14:29:33 +0200<br>><br>>What is > your maven-clover-plugin version? According to the change<br>>report this > has been fixed with 1.9.<br>><br>>Nicolas<br>><br>>2005/7/21, > Michael Owen <[EMAIL PROTECTED]>:<br>> > Hi,<br>> > ><br>> > I'm having trouble getting Clover to work with Maven > 1.0.2.<br>> ><br>> > In my project.xml I have (almong other > standard stuff):<br>> ><br>> > <reports><br>> > > > <report>maven-junit-report-plugin</report><br>> > > <report>maven-clover-plugin</report><br>> > > <report>maven-jxr-plugin</report><br>> > > </reports><br>> ><br>> > ..<br>> > ..<br>> > ><br>> > <dependencies><br>> ><br>> > > <dependency><br>> > > <groupId>clover</groupId><br>> > > <artifactId>clover-ant</artifactId><br>> > > <version>1.3.1</version><br>> > > <type>jar</type><br>> > > <properties><br>> > < > ;eclipse.dependency>true</eclipse.dependency><br>> > > </properties><br>> > </dependency><br>> > ><br>> > </dependencies><br>> ><br>> > > ..<br>> > ..<br>> ><br>> > I then have in > project.properties:<br>> ><br>> > maven.clover.license.path=C:/ > [snip] (etc etc.) ...<br>> > > /lib/clover/licenses/clover.license<br>> ><br>> > (with correct > path in :) )<br>> ><br>> > when I then do "maven > site" I get:<br>> ><br>> > [javac] Compiling 42 source > files to C:\build\clover\classes<br>> > [javac] Clover Version > 1.3_01, built on July 09 2004<br>> > [javac] loaded from: > C:\Documents and<br>> > Settings\owenm\.maven\repository\clove<br>> > > r\jars\clover-ant-1.3_01.jar<br>> ><br>> > BUILD > FAILED<br>> > File...... C:\Documents and<br>> > > Settings\owenm\.maven\cache\maven-java-plugin-1.5\pl<br>> > > ugin.jelly<br>> > Element... ant:javac<br>> > Line...... > 63<br>> > Column.... 48<br>> > Invalid or missing > License<br>> > Total time: 11 seconds<br>> > Finished at: Thu > Jul 21 13:03:58 BST 2005<br>> ><br>> ><br>> > I've noticed > that it is using clover-ant-1.3_01.jar and not 1.3.1 as I have<br>> > > asked, and is downloading and using clover-30day-eval-1.0.license instead > of<br>> > the license I have specified. I guess this is the reason why > the error is<br>> > happening, but how can I force it to use the right > jar file if that is the<br>> > reason, or the right license?<br>> > ><br>> ><br>> > Cheers,<br>> ><br>> > > Mike<br>> ><br>> ><br>> ><br>> > > ---------------------------------------------------------------------<br>> > > To unsubscribe, e-mail: [EMAIL PROTECTED]<br>> > > For additional commands, e-mail: [EMAIL PROTECTED]<br>> > ><br>> > ><br>><br>>---------------------------------------------------------------------<br>>To > unsubscribe, e-mail: [EMAIL PROTECTED]<br>>For > additional commands, e-mail: [EMAIL PROTECTED]<br>><br> > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
