You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Wei SD Zhang <we...@cn.ibm.com> on 2014/08/05 03:41:54 UTC
Must use JDK 7 to build 3.0.1?
Hi,
When I tried to build 3.0.1 with JDK 6, I got an error from maven javac:
invalid target release: 1.7. And I checked pom.xml, found
<targetJdk>1.7</targetJdk>. Does 3.0.1 use any JDK 7 specific feature?
Yours Sincerely,
Zhang Wei(张巍)
WAS Web Service Development, China Software Development Lab, IBM GCG
E-mail: weiz@cn.ibm.com
Tel: 86-10-82453958
3/F, Ring Building, Dongbeiwang West Road No.8, ShangDi, Beijing 100193,
PRC
Re: Must use JDK 7 to build 3.0.1?
Posted by Wei SD Zhang <we...@cn.ibm.com>.
OK, thanks!
Yours Sincerely,
Zhang Wei(张巍)
WAS Web Service Development, China Software Development Lab, IBM GCG
E-mail: weiz@cn.ibm.com
Tel: 86-10-82453958
3/F, Ring Building, Dongbeiwang West Road No.8, ShangDi, Beijing 100193,
PRC
From: Daniel Kulp <dk...@apache.org>
To: users@cxf.apache.org,
Date: 2014/08/05 10:33
Subject: Re: Must use JDK 7 to build 3.0.1?
On Aug 4, 2014, at 9:41 PM, Wei SD Zhang <we...@cn.ibm.com> wrote:
>
> When I tried to build 3.0.1 with JDK 6, I got an error from maven javac:
> invalid target release: 1.7. And I checked pom.xml, found
> <targetJdk>1.7</targetJdk>. Does 3.0.1 use any JDK 7 specific feature?
>
Are you sure you grabbed 3.0.1 and not the 3.1.0-SNAPSHOTs? I just
checked the 3.0.x-fixes branch and it says:
dkulp@macbook ~/working/cxf-git $ git grep targetJdk
parent/pom.xml: <targetJdk>1.6</targetJdk>
3.1.x will definitely require Java7. 3.0.x will be the last line to still
support Java6.
--
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com
Re: Must use JDK 7 to build 3.0.1?
Posted by Daniel Kulp <dk...@apache.org>.
On Aug 4, 2014, at 9:41 PM, Wei SD Zhang <we...@cn.ibm.com> wrote:
>
> When I tried to build 3.0.1 with JDK 6, I got an error from maven javac:
> invalid target release: 1.7. And I checked pom.xml, found
> <targetJdk>1.7</targetJdk>. Does 3.0.1 use any JDK 7 specific feature?
>
Are you sure you grabbed 3.0.1 and not the 3.1.0-SNAPSHOTs? I just checked the 3.0.x-fixes branch and it says:
dkulp@macbook ~/working/cxf-git $ git grep targetJdk
parent/pom.xml: <targetJdk>1.6</targetJdk>
3.1.x will definitely require Java7. 3.0.x will be the last line to still support Java6.
--
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com