Hi,
I have updated bamboo to use a jdk 1.5 for your build and it looks better
now.


2012/6/4 Russell Gold <[email protected]>

> OK, I am scratching my head. I made this change and it had no effect. I
> took a look a the findbugs plugin pom, and it defined
> project.build.java.target as 1.5, so i tried that, too - again, with no
> effect. Bamboo insists on building my code with JDK 1.4
>
> Can somebody else take a look at my POM and see what I'm missing?
>
> http://svn.codehaus.org/mojo/trunk/mojo/idlj-maven-plugin/pom.xml
>
> Thanks.
> Russ
>
> On Jun 3, 2012, at 12:56 PM, Robert Scholte wrote:
>
> 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.
>
> -Robert
> ------------------------------
> From: [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<http://bamboo.ci.codehaus.org/browse/MOJO-MIDLJ-JOB1-2/log>,
> I saw:
>
> 03-Jun-2012 10:30:11 [INFO]
> ------------------------------------------------------------------------03-Jun-2012
>  10:30:11[ERROR]
> BUILD ERROR 03-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/25M 03-Jun-2012 10:30:11[INFO]
> ------------------------------------------------------------------------ 
> 03-Jun-2012
> 10:30:11 Failing task since return code was 1 while expected 003-Jun-2012
> 10:30:11 Finished 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>!
>
>
>
>
>
>
>  -----------------
> 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>!
>
>
>
>
>


-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

Reply via email to