I know a number of people have had errors building with JDK 7 in the past. I 
thought all the problems had been fixed, but this may not be the case.

Regards,

Tim Ward
-------------------
Apache Aries PMC member & Enterprise OSGi advocate
Enterprise OSGi in Action (http://www.manning.com/cummins)
-------------------


> Date: Mon, 15 Apr 2013 19:52:35 +0900
> From: tangy...@cn.fujitsu.com
> To: dev@aries.apache.org
> Subject: [Asking]About Aries JDK7's building
> 
> Team,
> 
> Whether noting current trunk can not be built using jdk7?
> 
> ...
> INFO] BUILD FAILURE
> INFO]
> ------------------------------------------------------------------------
> INFO] Total time: 28.922s
> INFO] Finished at: Mon Apr 15 19:48:46 JST 2013
> INFO] Final Memory: 70M/185M
> INFO]
> ------------------------------------------------------------------------
> 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 failure:
> ERROR] could not parse error message: 警告:[options] ブートストラップ・
> クラスパスが-source 1.5と一緒に設定されていません
> ERROR]
> D:\aries\testsupport\testsupport-unit\src\main\java\org\apache\aries\mocks\BundleMock.java:187:
> 警告:[deprecation] FileのtoURL()は推奨されません
> ERROR] this(name,properties,location.toURL().toExternalForm());
> ERROR] ^
> ERROR]
> ERROR]
> D:\aries\testsupport\testsupport-unit\src\main\java\org\apache\aries\mocks\BundleMock.java:[239,17]
> 警告:[deprecation] FileのtoURL()は推奨されません
> ERROR]
> ERROR]
> D:\aries\testsupport\testsupport-unit\src\main\java\org\apache\aries\mocks\BundleMock.java:[263,60]
> 警告:[deprecation] FileのtoURL()は推奨されません
> ERROR]
> ERROR]
> D:\aries\testsupport\testsupport-unit\src\main\java\org\apache\aries\mocks\BundleMock.java:[328,65]
> 警告:[deprecation] FileのtoURL()は推奨されません
> ERROR]
> ERROR]
> D:\aries\testsupport\testsupport-unit\src\main\java\org\apache\aries\mocks\BundleContextMock.java:[632,58]
> 警告:[deprecation] FileのtoURL()は推奨されません
> ERROR] -> [Help 1]
> ERROR]
> ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> ERROR] Re-run Maven using the -X switch to enable full debug logging.
> ERROR]
> ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> ERROR]
> ERROR] After correcting the problems, you can resume the build with the
> command
> ERROR]   mvn <goals> -rf :org.apache.aries.testsupport.unit
> ...
> 
> The issue has been existed long time and there is a jira[1] for it,
> however, so far, always in Unresolved.
> 
> [1]: https://issues.apache.org/jira/browse/ARIES-1006
> 
> Thanks
> --Tang
> 
> 
> 
> 
                                          

Reply via email to