IDEMPIERE-3908:webservice client example

add project to build p2 repository for webservice client
This commit is contained in:
hieplq 2019-03-02 12:42:44 +07:00
parent e20f725f6c
commit 874d238c5c
5 changed files with 272 additions and 0 deletions

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="output" path="target"/>
</classpath>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.idempiere.webservice.client</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,196 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.idempiere</groupId>
<artifactId>org.idempiere.parent</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../org.idempiere.parent/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>org.idempiere.webservice.client</artifactId>
<packaging>pom</packaging>
<properties>
<xml.ws.version>2.3.2</xml.ws.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.reficio</groupId>
<artifactId>p2-maven-plugin</artifactId>
<version>1.3.0</version>
<executions>
<execution>
<id>default-cli</id>
<phase>package</phase>
<goals>
<goal>site</goal>
</goals>
<configuration>
<featureDefinitions>
<feature>
<id>org.idempiere.webservice.client.p2.feature</id>
<version>${project.version}</version>
<label>Idempiere webservice client maven osgi dependency ${project.version} feature</label>
<providerName>Idempiere</providerName>
<description>feature group all osgi bundle get from maven repository for webservice client dependency</description>
<copyright>Idempiere</copyright>
<license>GPL v2.1</license>
<generateSourceFeature>true</generateSourceFeature>
<artifacts>
<artifact>
<!-- https://github.com/eclipse-ee4j/metro-xmlstreambuffer -->
<!-- dependency of JAX WS RI Runtime Bundle (for service client)-->
<id>com.sun.xml.stream.buffer:streambuffer:jar:1.5.7</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<!-- https://github.com/eclipse-ee4j/metro-policy -->
<!-- dependency of JAX WS RI Runtime Bundle (for service client)-->
<id>com.sun.xml.ws:policy:jar:2.7.6</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<!-- https://github.com/eclipse-ee4j/metro-mimepull -->
<!-- dependency of JAX WS RI Runtime Bundle (for service client)-->
<id>org.jvnet.mimepull:mimepull:1.9.11</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<!-- https://jcp.org/en/jsr/detail?id=173 -->
<!-- dependency of JAX WS RI Runtime Bundle (for service client)-->
<id>org.jvnet.staxex:stax-ex:jar:1.8.1</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<!--https://projects.eclipse.org/projects/ee4j.orb-->
<!-- dependency of JAX WS RI Runtime Bundle (for service client)-->
<id>org.glassfish.gmbal:gmbal:jar:4.0.0</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<!--https://projects.eclipse.org/projects/ee4j.orb-->
<!-- dependency of JAX WS RI Runtime Bundle (for service client)-->
<id>com.sun.xml.fastinfoset:FastInfoset:jar:1.2.16</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<!--GlassFish High Availability APIs and SPI-->
<!-- dependency of JAX WS RI Runtime Bundle (for service client)-->
<id>org.glassfish.ha:ha-api:jar:3.1.12</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<!--https://github.com/eclipse-ee4j/orb-gmbal-commons-->
<!-- dependency of JAX WS RI Runtime Bundle (for service client)-->
<id>org.glassfish.external:management-api:jar:3.2.1</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<!--https://github.com/eclipse-ee4j/orb-gmbal-commons-->
<!-- dependency of JAX WS RI Runtime Bundle (for service client)-->
<id>org.glassfish.pfl:pfl-tf:jar:4.0.1</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<!--https://github.com/eclipse-ee4j/orb-gmbal-commons-->
<!-- dependency of JAX WS RI Runtime Bundle (for service client)-->
<id>org.glassfish.pfl:pfl-asm:jar:4.0.1</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<!--https://github.com/eclipse-ee4j/orb-gmbal-commons-->
<!-- dependency of JAX WS RI Runtime Bundle (for service client)-->
<id>org.glassfish.pfl:pfl-dynamic:jar:4.0.1</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<!--https://github.com/eclipse-ee4j/orb-gmbal-commons-->
<!-- dependency of JAX WS RI Runtime Bundle (for service client)-->
<id>org.glassfish.pfl:pfl-basic:jar:4.0.1</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<!-- dependency of JAX WS RI Runtime Bundle (for service client)-->
<id>javax.interceptor:javax.interceptor-api:jar:1.2.2</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<!-- dependency of JAX WS RI Runtime Bundle (for service client)-->
<id>com.sun.org.apache.xml.internal:resolver:jar:20050927</id>
<source>true</source>
<transitive>false</transitive>
<instructions>
<Import-Package>*;resolution:=optional</Import-Package>
<Export-Package>*</Export-Package>
</instructions>
</artifact>
<artifact>
<id>com.sun.istack:istack-commons-runtime:jar:3.0.8</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<!--use on web client -->
<artifact>
<id>com.sun.xml.ws:jaxws-rt:jar:${xml.ws.version}</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>com.sun.xml.bind:jaxb-impl:jar:${xml.ws.version}</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<!--https://github.com/eclipse-ee4j/jaxb-api/issues/78#issuecomment-457133266-->
<id>jakarta.xml.bind:jakarta.xml.bind-api:jar:${xml.ws.version}</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<!-- https://github.com/eclipse-ee4j/jax-ws-api -->
<id>jakarta.xml.ws:jakarta.xml.ws-api:jar:${xml.ws.version}</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<!--https://github.com/eclipse-ee4j/jws-api-->
<id>jakarta.jws:jakarta.jws-api:jar:1.1.1</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<!--https://github.com/eclipse-ee4j/saaj-api-->
<id>jakarta.xml.soap:jakarta.xml.soap-api:1.4.1</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<!-- dependency of JAX WS RI Runtime Bundle (for service client)-->
<id>com.sun.xml.messaging.saaj:saaj-impl:1.5.1</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
</artifacts>
</feature>
</featureDefinitions>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@ -13,6 +13,7 @@
</parent> </parent>
<modules> <modules>
<module>org.idempiere.maven.to.p2</module> <module>org.idempiere.maven.to.p2</module>
<module>org.idempiere.webservice.client</module>
</modules> </modules>
</project> </project>

View File

@ -1303,6 +1303,53 @@
<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-R20190118"/> <repository location="https://raw.githubusercontent.com/idempiere/binary.file/master/p2.maven/maven-p2-R20190118"/>
</location> </location>
<location includeAllPlatforms="true" includeConfigurePhase="true" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="com.sun.istack.commons-runtime" version="3.0.8"/>
<unit id="com.sun.istack.commons-runtime.source" version="3.0.8"/>
<unit id="com.sun.org.apache.xml.internal.resolver" version="20050927.0.0"/>
<unit id="com.sun.org.apache.xml.internal.resolver.source" version="20050927.0.0"/>
<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.fastinfoset.FastInfoset" version="1.2.16"/>
<unit id="com.sun.xml.fastinfoset.FastInfoset.source" version="1.2.16"/>
<unit id="com.sun.xml.messaging.saaj.impl" version="1.5.1"/>
<unit id="com.sun.xml.messaging.saaj.impl.source" version="1.5.1"/>
<unit id="com.sun.xml.stream.buffer.streambuffer" version="1.5.7"/>
<unit id="com.sun.xml.stream.buffer.streambuffer.source" version="1.5.7"/>
<unit id="com.sun.xml.ws.jaxws-rt" version="2.3.2"/>
<unit id="com.sun.xml.ws.jaxws-rt.source" version="2.3.2"/>
<unit id="com.sun.xml.ws.policy" version="2.7.6"/>
<unit id="com.sun.xml.ws.policy.source" version="2.7.6"/>
<unit id="jakarta.jws-api" version="1.1.1"/>
<unit id="jakarta.jws-api.source" version="1.1.1"/>
<unit id="jakarta.xml.bind-api" version="2.3.2"/>
<unit id="jakarta.xml.bind-api.source" version="2.3.2"/>
<unit id="jakarta.xml.soap-api" version="1.4.1"/>
<unit id="jakarta.xml.soap-api.source" version="1.4.1"/>
<unit id="jakarta.xml.ws-api" version="2.3.2"/>
<unit id="jakarta.xml.ws-api.source" version="2.3.2"/>
<unit id="javax.interceptor-api" version="1.2.2"/>
<unit id="javax.interceptor-api.source" version="1.2.2"/>
<unit id="org.glassfish.external.management-api" version="3.2.1"/>
<unit id="org.glassfish.external.management-api.source" version="3.2.1"/>
<unit id="org.glassfish.gmbal.gmbal" version="4.0.0"/>
<unit id="org.glassfish.gmbal.gmbal.source" version="4.0.0"/>
<unit id="org.glassfish.ha.ha-api" version="3.1.12"/>
<unit id="org.glassfish.ha.ha-api.source" version="3.1.12"/>
<unit id="org.glassfish.pfl.pfl-asm" version="4.0.1"/>
<unit id="org.glassfish.pfl.pfl-asm.source" version="4.0.1"/>
<unit id="org.glassfish.pfl.pfl-basic" version="4.0.1"/>
<unit id="org.glassfish.pfl.pfl-basic.source" version="4.0.1"/>
<unit id="org.glassfish.pfl.pfl-dynamic" version="4.0.1"/>
<unit id="org.glassfish.pfl.pfl-dynamic.source" version="4.0.1"/>
<unit id="org.glassfish.pfl.pfl-tf" version="4.0.1"/>
<unit id="org.glassfish.pfl.pfl-tf.source" version="4.0.1"/>
<unit id="org.jvnet.mimepull" version="1.9.11"/>
<unit id="org.jvnet.mimepull.source" version="1.9.11"/>
<unit id="org.jvnet.staxex.stax-ex" version="1.8.1"/>
<unit id="org.jvnet.staxex.stax-ex.source" version="1.8.1"/>
<repository location="https://raw.githubusercontent.com/idempiere/binary.file/master/p2.maven/org.idempiere.webservice.client-p2-R20190302"/>
</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"/>
</target> </target>