forgot to say about vote,

+1(updating maven-compiler-plugin to 3.1)

Thanks
--Tang

Tang Yong wrote:
>> 2) updating org.osgi.core to 4.3.1 because of an issue using jdk7
> about the point, if updating org.osgi.core to 5.0.0, building is also OK.
> 
> Thanks
> --Tang
> 
> Tang Yong wrote:
>> Tim,John,
>>
>>> I will try to build the whole aries project and see what will happen.
>> I have commented on ARIES-1006, and finally, I built the whole project
>> successfully using jdk7.
>>
>> In summary, in order to build using jdk7,
>>
>> 1) updating maven-compiler-plugin to 3.1
>> 2) updating org.osgi.core to 4.3.1 because of an issue using jdk7
>> pl. seeing http://blog.osgi.org/2012/10/43-companion-code-for-java-7.html
>>
>> 3) Since jdk7, some java core classes added some new apis,
>> eg.javax.sql.CommonDataSource, this has effect on aries jpa module.
>> So, needing to implement these new apis by simply implementing these
>> apis if having not more complex logic.
>>
>> Thanks
>> --Tang
>>
>> Tang Yong wrote:
>>> John, Tim,
>>>
>>> I made a confirmation by specifying version 3.1 (latest release) of the
>>> maven-compiler-plugin in parent/default-parent/pom.xml, and both
>>> subsystem-core and util are built successfully.
>>>
>>> John, whether you have modified util/util/pom.xml liking following,
>>>
>>>  <parent>
>>>         <groupId>org.apache.aries</groupId>
>>>         <artifactId>java5-parent</artifactId>
>>>         <version>1.1.1-SNAPSHOT</version>
>>>         <relativePath />
>>>  </parent>
>>>
>>> BTW: I suggest util/util and util/util-r42's parent pom is set as
>>> util/pom rather than java5-parent.
>>>
>>> I will try to build the whole aries project and see what will happen.
>>>
>>> Thanks
>>> --Tang
>>>
>>> John W Ross wrote:
>>>> Specifying version 3.1 (latest release) of the maven-compiler-plugin in
>>>> parent/default-parent/pom.xml fixes the subsystem-core build issue on java
>>>> 7 (jdk1.7.0_21). I suspect it will also fix the same issue, and perhaps
>>>> others, for other projects.
>>>>
>>>> Unfortunately, this does not fix the issue in util. An explicit cast to
>>>> BundleWiring is still needed in the R43Worker class. The 3.2-SNAPSHOT
>>>> version of maven-compiler-plugin has the same issue. So it looks like
>>>> proceeding with this vote may be the only option for util.
>>>>
>>>> John
>>>>
>>>>> RE: [VOTE] Apache Aries release parent-1.1.0
>>>>>
>>>>> +1 for upgrading the maven-compiler-plugin
>>>>>
>>>>> I've been trying to build using maven-compiler-plugin 3.1 as an exercise
>>>>> for the past hour but can't figure out how to get it to stop using 2.0.2.
>>>>>
>>>>> John
>>>>>
>>>>>> RE: [VOTE] Apache Aries release parent-1.1.0
>>>>>>
>>>>>> After doing some further digging I've found we're using a very old
>>>>>> (2.0.2) version of the maven-compiler-plugin. This is over 6 years
>>>>>> old and predates Java 7. Apparently nobody (including me) thought to
>>>>>> try upgrading it.
>>>>>> The release we have here does work, in that it prevents a compiler
>>>>>> warning that was being interpreted as an error. On the other hand
>>>>>> there are still other warnings that break the build. I'm happy do do
>>>>>> some rework/respin upgrading the maven-compiler plugin, or to go
>>>>>> with the solution we have.
>>>>>> Tim Ward
>>>>>> -------------------
>>>>>> Apache Aries PMC member & Enterprise OSGi advocate
>>>>>> Enterprise OSGi in Action (http://www.manning.com/cummins)
>>>>>> -------------------
>>>>>>
>>>>>>
>>>>>>> Date: Fri, 3 May 2013 23:44:55 +0900
>>>>>>> From: tangy...@cn.fujitsu.com
>>>>>>> To: dev@aries.apache.org
>>>>>>> Subject: Re: [VOTE] Apache Aries release parent-1.1.0
>>>>>>>
>>>>>>> after confirming poms, +1
>>>>>>>
>>>>>>> Timothy Ward wrote:
>>>>>>>> This is a vote for the release of the aries parent poms at
>>>>>> version 1.1.0. This is a significant fix, and is the first step in
>>>>>> getting Aries building properly with JDK 7. Individual projects will
>>>>>> need to be updated to use these poms before they can be successfully
>>>>>> built using Java 7.
>>>>>>>> The staging area is available here: https://
>>>>>> repository.apache.org/content/repositories/orgapachearies-167/
>>>>>>>> Tags:  https://svn.apache.org/repos/asf/aries/tags/parent-1.1.0
>>>>>>>>
>>>>>>>>
>>>>>>>> Note that this project only contains poms. Please verify the
>>>>>> source release for parent and the pom files for default-parent,
>>>>>> java5-parent and java6-parent
>>>>>>>> This vote will remain open for at least 72 hours.
>>>>>>>>
>>>>>>>>
>>>>>>>> Tim Ward
>>>>>>>> -------------------
>>>>>>>> Apache Aries PMC member & Enterprise OSGi advocate
>>>>>>>> Enterprise OSGi in Action (http://www.manning.com/cummins)
>>>>>>>> -------------------
>>>>>>>>
>>>>>>> --
>>>>>>> −−−−−−−−−−−−−−−−−−−−−−
>>>>>>> Tang Yong
>>>>>>> Senior Engineer
>>>>>>> Glassfish Team Developer(OSGi&OSGi-JavaEE)
>>>>>>> OSGi Alliance Supporter
>>>>>>> Blog: http://osgizone.typepad.com/tangyong/
>>>>>>>
>>>>>>> Nanjing Fujitsu NanDa Software Tec CO.,LTD
>>>>>>> http://www.fujitsu.com/cn/fnst
>>>>>>> Tel: +86-25-86630566-8310
>>>>>>> Fax: +86-25-83317685
>>>>>>> −−−−−−−−−−−−−−−−−−−−−−
>>>>>>>
> 

-- 
−−−−−−−−−−−−−−−−−−−−−−
Tang Yong
Senior Engineer
Glassfish Team Developer(OSGi&OSGi-JavaEE)
OSGi Alliance Supporter
Blog: http://osgizone.typepad.com/tangyong/

Nanjing Fujitsu NanDa Software Tec CO.,LTD
http://www.fujitsu.com/cn/fnst
Tel: +86-25-86630566-8310
Fax: +86-25-83317685              
−−−−−−−−−−−−−−−−−−−−−−

Reply via email to