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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/annotations-are-not-supported-in--source-1.3-tp18186885p18187371.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