On 23 April 2010 11:14, Jeremy Hughes <[email protected]> wrote: > On 22 April 2010 21:12, Alan D. Cabrera <[email protected]> wrote: >> I tried to build this under JDK 1.5 and got compilation errors. Should we >> not have a compiler check in the POM? > > I was using 1.6. Trying again with 1.5 the first compile error I get > is in 'util' because a method on IOException introduced in 1.6 is > being used. Although we use: > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <configuration> > <source>1.5</source> > <target>1.5</target> > </configuration> > </plugin> > > in the pom that doesn't mean we get the 1.5 libraries. Since we want > users to be able to use 1.5, I'll need to respin.
So, I was just thinking of ways to ensure the we use jdk 1.5. Here's one way: http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-using-different-jdk.html Which works for me: java -version gives me 1.6 and then building org.apache.aries.util-0.1-incubating gives the IOException compile problem. > >> >> >> Regards, >> Alan >> >> On Apr 22, 2010, at 10:39 AM, Jeremy Hughes wrote: >> >>> I've staged the second release candidate for Aries (Incubating) v0.1. >>> The following Aries top level modules are staged and tagged in >>> https://svn.apache.org/repos/asf/incubator/aries/tags/ at revision >>> 936975. >>> >>> Modules staged at >>> >>> https://repository.apache.org/content/repositories/orgapachearies-009/ >>> >>> are: >>> >>> parent >>> eba-maven-plugin >>> testsupport >>> util >>> blueprint >>> jndi >>> transaction >>> web >>> application >>> jmx >>> jpa >>> samples >>> >>> The RAT and IANAL bulid checks passed. >>> >>> The vote will be open for 72 hours. >>> >>> [ ] +1 >>> [ ] +0 >>> [ ] -1 >>> >>> Thanks, >>> Jeremy >> >> >
