With Bamboo you decide which version of the JDK is used, just as the 
Maven-version.By default mojo-projects still use 1.4, but it is very easy to 
upgrade: just add this property <mojo.java.target>1.5</mojo.java.target> The 
m-compiler-p will pick this up, and other reporting plugins. -RobertFrom: 
[email protected]
Date: Sun, 3 Jun 2012 12:01:47 -0400
To: [email protected]
Subject: [mojo-dev] tests failed on checkin?

Hi all,
Thanks for adding me to your team. I have now done my first subversion checkin 
of the idlj-maven-plugin project and received reports that no tests were found 
(which is wrong). But when I looked at the log, I saw:
03-Jun-2012 10:30:11[INFO] 
------------------------------------------------------------------------03-Jun-2012
 10:30:11[ERROR] BUILD ERROR03-Jun-2012 10:30:11[INFO] 
------------------------------------------------------------------------03-Jun-2012
 10:30:11[INFO] Internal error in the plugin manager executing goal 
'org.codehaus.mojo:cobertura-maven-plugin:2.5.1:clean': Unable to find the mojo 
'org.codehaus.mojo:cobertura-maven-plugin:2.5.1:clean' in the plugin 
'org.codehaus.mojo:cobertura-maven-plugin'03-Jun-2012 
10:30:11org/codehaus/mojo/cobertura/CoberturaCleanMojo (Unsupported major.minor 
version 49.0)03-Jun-2012 10:30:11[INFO] 
------------------------------------------------------------------------03-Jun-2012
 10:30:11[INFO] For more information, run Maven with the -e switch03-Jun-2012 
10:30:11[INFO] 
------------------------------------------------------------------------03-Jun-2012
 10:30:11[INFO] Total time: 8 seconds03-Jun-2012 10:30:11[INFO] Finished at: 
Sun Jun 03 10:30:11 CDT 201203-Jun-2012 10:30:11[INFO] Final Memory: 
13M/25M03-Jun-2012 10:30:11[INFO] 
------------------------------------------------------------------------03-Jun-2012
 10:30:11Failing task since return code was 1 while expected 003-Jun-2012 
10:30:11Finished task 'Maven 2.x'

This doesn't sound right. I'm inheriting the cobertura plugin from mojo-parent. 
Is the Bamboo process running JDK 1.4 for some reason? 
Thanks,Russ

-----------------Come read my webnovel, Take a Lemon 
<http://www.takealemon.com>, and listen to the Misfile radio play 
<http://www.gold-family.us/audio/misfile.html>!



                                          

Reply via email to