aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Ward (JIRA)" <>
Subject [jira] [Commented] (ARIES-1006) Compilation error with JDK7
Date Fri, 03 May 2013 14:26:16 GMT


Timothy Ward commented on ARIES-1006:

Hi Tang,

Thanks for the verification of the fix. My investigation shows that the parent pom changes
do work, but that some projects may also need some minor source changes. Util, for example,
has a strange compile error due to use of generics in the OSGi API (easily fixed by an explicit
cast). I'm going to attempt to get a release of the parent poms out next week, and at that
point I can start to roll out releases of the other Aries projects. Hopefully we'll have everything
sorted soon!
> Compilation error with JDK7
> ---------------------------
>                 Key: ARIES-1006
>                 URL:
>             Project: Aries
>          Issue Type: Bug
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Timothy Ward
> When I try to compile Aries with JDK 7, I have:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
(default-compile) on project org.apache.aries.testsupport.unit: Compilation failure: Compilation
> [ERROR] could not parse error message: warning: [options] bootstrap class path not set
in conjunction with -source 1.5
> [ERROR] /home/jbonofre/workspace/aries/testsupport/testsupport-unit/src/main/java/org/apache/aries/mocks/
warning: [deprecation] toURL() in File has been deprecated
> [ERROR] this(name,properties,location.toURL().toExternalForm());
> [ERROR] ^
> [ERROR] 
> [ERROR] /home/jbonofre/workspace/aries/testsupport/testsupport-unit/src/main/java/org/apache/aries/mocks/[239,17]
[deprecation] toURL() in File has been deprecated
> [ERROR] 
> [ERROR] /home/jbonofre/workspace/aries/testsupport/testsupport-unit/src/main/java/org/apache/aries/mocks/[263,60]
[deprecation] toURL() in File has been deprecated
> [ERROR] 
> [ERROR] /home/jbonofre/workspace/aries/testsupport/testsupport-unit/src/main/java/org/apache/aries/mocks/[328,65]
[deprecation] toURL() in File has been deprecated
> [ERROR] 
> It's due to some parent POM definition which force JDK5 support (target and source).
> I don't think that the JDK5 support is still required. I gonna prepare a couple of patches
about that.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message