IDEMPIERE-3908:webservice client example

fix to can build with maven
This commit is contained in:
hieplq 2019-03-04 04:46:08 +07:00
parent 9d5e5212e7
commit 32d4d189f9
5 changed files with 27 additions and 12 deletions

File diff suppressed because one or more lines are too long

View File

@ -439,11 +439,6 @@
<source>true</source> <source>true</source>
<transitive>false</transitive> <transitive>false</transitive>
</artifact> </artifact>
<artifact>
<id>com.sun.xml.bind:jaxb-core:jar:2.3.0.1</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact> <artifact>
<id>com.sun.xml.bind:jaxb-impl:jar:${xml.ws.version}</id> <id>com.sun.xml.bind:jaxb-impl:jar:${xml.ws.version}</id>
<source>true</source> <source>true</source>
@ -1754,6 +1749,26 @@
<skipCache>true</skipCache> <skipCache>true</skipCache>
</configuration> </configuration>
</execution> </execution>
<execution>
<!--https://stackoverflow.com/questions/20469049/resolve-a-dependency-on-package-sun-misc-with-tycho
download from maven and add export sun.reflect
'com.diffplug.osgi:com.diffplug.osgi.extension.sun.misc:jar:0.0.0'
-->
<id>download-sun-package</id>
<phase>package</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>${url.file.srv}/extra.jar/com.diffplug.osgi.extension.sun.misc_0.0.0.jar</url>
<unpack>false</unpack>
<outputFileName>com.diffplug.osgi.extension.sun.misc_0.0.0.jar</outputFileName>
<outputDirectory>${project.build.directory}/repository/plugins</outputDirectory>
<retries>5</retries>
<overwrite>true</overwrite>
<skipCache>true</skipCache>
</configuration>
</execution>
</executions> </executions>
</plugin> </plugin>
<!-- copy zk osgi bundle to repository folder --> <!-- copy zk osgi bundle to repository folder -->

View File

@ -935,6 +935,7 @@
<unit id="bcprov.source" version="1.60.0"/> <unit id="bcprov.source" version="1.60.0"/>
<unit id="bctsp" version="1.46.0"/> <unit id="bctsp" version="1.46.0"/>
<unit id="bctsp.source" version="1.46.0"/> <unit id="bctsp.source" version="1.46.0"/>
<unit id="com.diffplug.osgi.extension.sun.misc" version="0.0.0"/>
<unit id="com.fasterxml.jackson.core.jackson-annotations" version="2.9.8"/> <unit id="com.fasterxml.jackson.core.jackson-annotations" version="2.9.8"/>
<unit id="com.fasterxml.jackson.core.jackson-annotations.source" version="2.9.8"/> <unit id="com.fasterxml.jackson.core.jackson-annotations.source" version="2.9.8"/>
<unit id="com.fasterxml.jackson.core.jackson-core" version="2.9.8"/> <unit id="com.fasterxml.jackson.core.jackson-core" version="2.9.8"/>
@ -979,8 +980,6 @@
<unit id="com.sun.mail.jakarta.mail.source" version="1.6.3"/> <unit id="com.sun.mail.jakarta.mail.source" version="1.6.3"/>
<unit id="com.sun.mail.smtp" version="1.6.3"/> <unit id="com.sun.mail.smtp" version="1.6.3"/>
<unit id="com.sun.mail.smtp.source" version="1.6.3"/> <unit id="com.sun.mail.smtp.source" version="1.6.3"/>
<unit id="com.sun.xml.bind.jaxb-core" version="2.3.0.1"/>
<unit id="com.sun.xml.bind.jaxb-core.source" version="2.3.0.1"/>
<unit id="com.sun.xml.bind.jaxb-impl" version="2.3.2"/> <unit id="com.sun.xml.bind.jaxb-impl" version="2.3.2"/>
<unit id="com.sun.xml.bind.jaxb-impl.source" version="2.3.2"/> <unit id="com.sun.xml.bind.jaxb-impl.source" version="2.3.2"/>
<unit id="com.sun.xml.bind.jaxb-osgi" version="2.3.2"/> <unit id="com.sun.xml.bind.jaxb-osgi" version="2.3.2"/>
@ -1349,7 +1348,7 @@
<unit id="zul.sources" version="8.6.0.1-patched"/> <unit id="zul.sources" version="8.6.0.1-patched"/>
<unit id="zweb" version="8.6.0.1"/> <unit id="zweb" version="8.6.0.1"/>
<unit id="zweb.sources" version="8.6.0.1"/> <unit id="zweb.sources" version="8.6.0.1"/>
<repository location="https://raw.githubusercontent.com/idempiere/binary.file/master/p2.maven/maven-p2-R20190302"/> <repository location="https://raw.githubusercontent.com/idempiere/binary.file/master/p2.maven/maven-p2-R20190304"/>
</location> </location>
</locations> </locations>
<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/> <targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>

View File

@ -165,10 +165,11 @@
unpack="false"/> unpack="false"/>
<plugin <plugin
id="org.globalqss.idempiere.test.fe" id="com.diffplug.osgi.extension.sun.misc"
download-size="0" download-size="0"
install-size="0" install-size="0"
version="0.0.0" version="0.0.0"
fragment="true"
unpack="false"/> unpack="false"/>
</feature> </feature>

View File

@ -6,6 +6,6 @@
<version>6.2.0-SNAPSHOT</version> <version>6.2.0-SNAPSHOT</version>
<relativePath>../org.idempiere.parent/pom.xml</relativePath> <relativePath>../org.idempiere.parent/pom.xml</relativePath>
</parent> </parent>
<artifactId>org.idempiere.webservices.client-feature</artifactId> <artifactId>org.idempiere.webservices.client.feature</artifactId>
<packaging>eclipse-feature</packaging> <packaging>eclipse-feature</packaging>
</project> </project>