Yes, this is obviously, but my goal not to have the same java for all version 
type of compilations but have different jdks, since it unknown how application 
will behave if it was compiled with jdk 1.6 but with specified source and 
target as 1.5 or at least requires additional testing.

Best regards,
                        Juri.

-----Original Message-----
From: Victor Kirk [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 25, 2008 11:54 AM
To: continuum-users@maven.apache.org
Subject: RE: Different JDKS


> Could you please tell me if  continuum 1.1 can help to
> separate the building of the some projects under java 1.5
> for example and some other projects under 1.6 or this is
> certainly maven settings? 

This is definately a mvn issue, you can add the following
to your pom as required

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.6</source>
          <target>1.6</target>
        </configuration>
      </plugin>

Cheers, Vic

--
Victor Kirk
Analyst
Serco Integrated Transport
Cavendish House
Clearwater Park
Prince's Wharf
Stockton-on-Tees
TS17 6QY
Tel: +44 (0)1642 636894



This e-mail and any attachments are for the intended addressee(s) only
and may contain confidential and/or privileged material. If you are not a
named addressee, do not use, retain or disclose such information.
This email is not guaranteed to be free from viruses and does not bind
Serco in any contract or obligation.
Serco Limited. Registered in England and Wales. No: 242246
Registered Office: Serco House,16 Bartley Wood Business Park, Hook,
Hampshire RG27 9UY United Kingdom.

Help cut carbon...please don't print this e-mail unless you really need to.

Reply via email to