IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (tycho access restriction on classpath entry of jaxws-api)

jaxws-api look same javax.xml.ws but when build with tycho it said about access restriction on package javax.xml.ws,..
(i guess jaxws-api is new and it follow jdk mudule)
javax.xml.ws is special package, it's marked for remove on next jdk release.

it can't resolve ever i use <arg>-warn:+discouraged,forbidden</arg>
This commit is contained in:
hieplq 2018-10-27 16:04:38 +07:00
parent 69c91e1111
commit 7426cd54d1
4 changed files with 12 additions and 72 deletions

View File

@ -330,4 +330,11 @@
version="0.0.0" version="0.0.0"
unpack="false"/> unpack="false"/>
<plugin
id="javax.xml.ws"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
</feature> </feature>

View File

@ -876,8 +876,8 @@
<unit id="javax.xml.soap-api.source" version="1.4.0"/> <unit id="javax.xml.soap-api.source" version="1.4.0"/>
<unit id="jaxb-api" version="2.3.1"/> <unit id="jaxb-api" version="2.3.1"/>
<unit id="jaxb-api.source" version="2.3.1"/> <unit id="jaxb-api.source" version="2.3.1"/>
<unit id="jaxws-api" version="0.0.0"/> <unit id="jaxws-api" version="2.3.1"/>
<unit id="jaxws-api.source" version="0.0.0"/> <unit id="jaxws-api.source" version="2.3.1"/>
<unit id="joda-time" version="2.10.0"/> <unit id="joda-time" version="2.10.0"/>
<unit id="joda-time.source" version="2.10.0"/> <unit id="joda-time.source" version="2.10.0"/>
<unit id="json" version="20171018.0.0"/> <unit id="json" version="20171018.0.0"/>

View File

@ -500,73 +500,6 @@
<version>${tycho.version}</version> <version>${tycho.version}</version>
<configuration> <configuration>
<targetDefinitionIncludeSource>honor</targetDefinitionIncludeSource> <targetDefinitionIncludeSource>honor</targetDefinitionIncludeSource>
<filters>
<filter>
<type>java-package</type>
<id>javax.xml.ws</id>
<restrictTo>
<type>eclipse-plugin</type>
<id>jaxws-api</id>
</restrictTo>
</filter>
<filter>
<type>java-package</type>
<id>javax.xml.ws.handler</id>
<restrictTo>
<type>eclipse-plugin</type>
<id>jaxws-api</id>
</restrictTo>
</filter>
<filter>
<type>java-package</type>
<id>javax.xml.ws.handler.soap</id>
<restrictTo>
<type>eclipse-plugin</type>
<id>jaxws-api</id>
</restrictTo>
</filter>
<filter>
<type>java-package</type>
<id>javax.xml.ws.http</id>
<restrictTo>
<type>eclipse-plugin</type>
<id>jaxws-api</id>
</restrictTo>
</filter>
<filter>
<type>java-package</type>
<id>javax.xml.ws.soap</id>
<restrictTo>
<type>eclipse-plugin</type>
<id>jaxws-api</id>
</restrictTo>
</filter>
<filter>
<type>java-package</type>
<id>javax.xml.ws.spi</id>
<restrictTo>
<type>eclipse-plugin</type>
<id>jaxws-api</id>
</restrictTo>
</filter>
<filter>
<type>java-package</type>
<id>javax.xml.ws.spi.http</id>
<restrictTo>
<type>eclipse-plugin</type>
<id>jaxws-api</id>
</restrictTo>
</filter>
<filter>
<type>java-package</type>
<id>javax.xml.ws.wsadressing</id>
<restrictTo>
<type>eclipse-plugin</type>
<id>jaxws-api</id>
</restrictTo>
</filter>
</filters>
<!-- work-around for split package message error "Missing Constraint: <!-- work-around for split package message error "Missing Constraint:
Bundle-RequiredExecutionEnvironment" track:https://bugs.eclipse.org/bugs/show_bug.cgi?id=403196 Bundle-RequiredExecutionEnvironment" track:https://bugs.eclipse.org/bugs/show_bug.cgi?id=403196
discuss:https://dev.eclipse.org/mhonarc/lists/tycho-user/msg03941.html --> discuss:https://dev.eclipse.org/mhonarc/lists/tycho-user/msg03941.html -->

View File

@ -75,7 +75,6 @@ Require-Bundle: org.adempiere.base;bundle-version="0.0.0",
org.apache.cxf.cxf-rt-frontend-simple;bundle-version="3.2.6", org.apache.cxf.cxf-rt-frontend-simple;bundle-version="3.2.6",
org.apache.cxf.cxf-rt-transports-http;bundle-version="3.2.6", org.apache.cxf.cxf-rt-transports-http;bundle-version="3.2.6",
org.apache.cxf.cxf-rt-wsdl;bundle-version="3.2.6", org.apache.cxf.cxf-rt-wsdl;bundle-version="3.2.6",
jaxws-api;bundle-version="0.0.0",
javax.jws-api;bundle-version="1.1.0", javax.jws-api;bundle-version="1.1.0",
javax.xml.soap-api;bundle-version="1.4.0", javax.xml.soap-api;bundle-version="1.4.0",
org.springframework.spring-aop;bundle-version="5.1.1", org.springframework.spring-aop;bundle-version="5.1.1",
@ -86,7 +85,8 @@ Require-Bundle: org.adempiere.base;bundle-version="0.0.0",
org.springframework.spring-jcl;bundle-version="5.1.1", org.springframework.spring-jcl;bundle-version="5.1.1",
org.springframework.spring-web;bundle-version="5.1.1", org.springframework.spring-web;bundle-version="5.1.1",
javax.annotation-api;bundle-version="1.3.2", javax.annotation-api;bundle-version="1.3.2",
com.sun.activation.javax.activation;bundle-version="1.2.0" com.sun.activation.javax.activation;bundle-version="1.2.0",
javax.xml.ws;bundle-version="2.1.0"
Bundle-ClassPath: ., Bundle-ClassPath: .,
WEB-INF/lib/aopalliance.jar, WEB-INF/lib/aopalliance.jar,
WEB-INF/lib/axis.jar, WEB-INF/lib/axis.jar,