Buters, That is a known issue that has been fixed in the latest release of clover.
Have a look at: http://confluence.atlassian.com/display/CLOVER/Clover-for-Maven+2+User's +Guide If this does not solve your problem please contact our support department. Thanks! James On Sun, 2008-06-29 at 18:34 -0700, buters wrote: > Thank you very much, James William. > > But I have a new problem. I want create Test Coverage report with clover > plugin, but I get such error: > > [INFO] [clover:instrumentInternal] > Clover Version 1.3.13, built on September 04 2006 > loaded from: > C:\shared\.m2\repository\com\cenqua\clover\clover\1.3.13\clover-1.3.13.jar > [INFO] > ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] This license has now expired. > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > java.lang.RuntimeException: This license has now expired. > > Please help me. > > Thanks beforehand, > regards, buters > > > James William Dumay wrote: > > > > Buters, > > > > Ahh, thats because annotations are 1.5 only. > > > > You might want to configure the source and target parameters of the > > compiler plugin in your build like the following: > > > > <build> > > <plugins> > > <plugin> > > <artifactId>maven-compiler-plugin</artifactId> > > <version>2.0.2</version> > > <configuration> > > <source>1.5</source> > > <target>1.5</target> > > </configuration> > > </plugin> > > </plugins> > > </build> > > > > Cheers > > James > > > > On Sun, 2008-06-29 at 17:16 -0700, buters wrote: > >> Hi, > >> > >> I've executed junit tests with Maven and get such error: > >> 'annotations are not supported in -source 1.3 > >> <use -source 5 or higher to enable annotations> > >> @Before' > >> Which source is meant here? How can I solve this? > >> > >> Thanks beforehand, > >> regards, buters > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
