IDEMPIERE-3531:convert osgi dependency on maven to p2 repository to support targerplatform

This commit is contained in:
hieplq 2018-02-19 10:48:35 +07:00
parent 31ad04d7ef
commit 75262231c8
8 changed files with 938 additions and 281 deletions

View File

@ -0,0 +1,6 @@
<?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="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.idempiere.maven.to.p2</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,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8

View File

@ -0,0 +1,11 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8

View File

@ -0,0 +1,4 @@
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1

View File

@ -0,0 +1,844 @@
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.idempiere</groupId>
<artifactId>org.idempiere.parent</artifactId>
<version>5.1.0-SNAPSHOT</version>
<relativePath>../org.idempiere.parent/pom.xml</relativePath>
</parent>
<artifactId>org.idempiere.maven.to.p2</artifactId>
<packaging>pom</packaging>
<properties>
<zk-osgi-zip-file>https://www.zkoss.org/zkdownload/downloadEvalFile?id=1245081552</zk-osgi-zip-file>
</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.maven.feature</id>
<version>${project.version}</version>
<label>Idempiere maven osgi dependency ${project.version}
feature</label>
<providerName>Idempiere</providerName>
<description>feature group all osgi bundle get from maven
repository</description>
<copyright>Idempiere</copyright>
<license>GPL v2.1</license>
<generateSourceFeature>true</generateSourceFeature>
<artifacts>
<artifact>
<id>org.passay:passay:jar:1.3.0</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.mortbay.jasper:apache-jsp:jar:8.5.23</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.mortbay.jasper:apache-el:jar:8.5.23</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.eclipse.jetty.toolchain:jetty-osgi-servlet-api:jar:3.1.0.M3</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.eclipse.jetty.orbit:org.eclipse.jdt.core:jar:3.8.2.v20130121</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>javax.websocket:javax.websocket-api:jar:1.1</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>javax.annotation:javax.annotation-api:jar:1.3.1</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>javax.management.j2ee:javax.management.j2ee-api:jar:1.1.1</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>com.sun.mail:javax.mail:jar:1.6.0</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.ow2.asm:asm-commons:jar:6.0</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.ow2.asm:asm-tree:jar:6.0</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.ow2.asm:asm:jar:6.0</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.apache.taglibs:taglibs-standard-impl:jar:1.2.5</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.apache.taglibs:taglibs-standard-spec:jar:1.2.5</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.apache.taglibs:taglibs-standard-jstlel:jar:1.2.5</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.apache.aries.spifly:org.apache.aries.spifly.dynamic.bundle:jar:1.0.10</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.apache.aries:org.apache.aries.util:jar:1.1.3</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib:jar:3.2.5_1</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.apache.activemq:activemq-core:jar:5.7.0</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.apache.activemq:kahadb:jar:5.7.0</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.apache.felix:org.apache.felix.webconsole:jar:4.3.4</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.apache.felix:org.apache.felix.webconsole.plugins.ds:jar:2.0.8</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.apache.felix:org.apache.felix.webconsole.plugins.memoryusage:jar:1.0.6</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.apache.felix:org.apache.felix.inventory:jar:1.0.6</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.apache.felix:org.apache.felix.webconsole.plugins.packageadmin:jar:1.0.4</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>com.itextpdf:itextpdf:jar:5.5.12</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.bouncycastle:bcpkix-jdk15on:jar:1.58</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.bouncycastle:bcprov-jdk15on:jar:1.58</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.bouncycastle:bcmail-jdk15on:jar:1.58</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.bouncycastle:bctsp-jdk15on:jar:1.46</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.apache.velocity:velocity:jar:1.7</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.apache.commons:commons-digester3:jar:3.2</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>com.google.code.maven-play-plugin.org.apache.commons:commons-javaflow:jar:1590792</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.cryptacular:cryptacular:jar:1.2.1</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>net.sf.supercsv:super-csv:jar:2.4.0</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.atmosphere:atmosphere-runtime:jar:2.4.16</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.eclipse.jetty:jetty-alpn-server:jar:${jetty-version}</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.eclipse.jetty.alpn:alpn-api:jar:1.1.3.v20160715</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.codehaus.groovy:groovy-all:jar:2.4.13</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>com.ibm.icu:icu4j:jar:60.2</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>joda-time:joda-time:jar:2.9.9</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.apache.commons:commons-configuration2:jar:2.2</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
<artifact>
<id>org.apache.commons:commons-collections4:jar:4.1</id>
<source>true</source>
<transitive>false</transitive>
</artifact>
</artifacts>
</feature>
<!-- zk public zk osgi on zip format download from sourceforge, so
make source bundle from maven on this step -->
<feature>
<id>org.idempiere.zk.source.feature</id>
<version>${project.version}</version>
<label>Idempiere zk source ${project.version} feature</label>
<providerName>Idempiere</providerName>
<description>feature group all zk source get from maven
repository</description>
<copyright>Idempiere</copyright>
<license>GPL v2.1</license>
<generateSourceFeature>true</generateSourceFeature>
<artifacts>
<artifact>
<id>org.zkoss.zk:zkplus:jar:sources:${zk-version}</id>
<source>false</source>
<transitive>false</transitive>
<instructions>
<Eclipse-SourceBundle>zkplus;version="${project.version}";roots:="."</Eclipse-SourceBundle>
<Bundle-SymbolicName>zkplus</Bundle-SymbolicName>
<Bundle-Name>zkplus.source</Bundle-Name>
</instructions>
</artifact>
<artifact>
<id>org.zkoss.common:zweb:jar:sources:${zk-version}</id>
<source>false</source>
<transitive>false</transitive>
<instructions>
<Eclipse-SourceBundle>zweb;version="${project.version}";roots:="."</Eclipse-SourceBundle>
<Bundle-SymbolicName>zweb</Bundle-SymbolicName>
<Bundle-Name>zweb.source</Bundle-Name>
</instructions>
</artifact>
<artifact>
<id>org.zkoss.zk:zul:jar:sources:${zk-version}</id>
<source>false</source>
<transitive>false</transitive>
<instructions>
<Eclipse-SourceBundle>zul;version="${project.version}";roots:="."</Eclipse-SourceBundle>
<Bundle-SymbolicName>zul</Bundle-SymbolicName>
<Bundle-Name>zul.source</Bundle-Name>
</instructions>
</artifact>
<artifact>
<id>org.zkoss.zk:zk:jar:sources:${zk-version}</id>
<source>false</source>
<transitive>false</transitive>
<instructions>
<Eclipse-SourceBundle>zk;version="${project.version}";roots:="."</Eclipse-SourceBundle>
<Bundle-SymbolicName>zk</Bundle-SymbolicName>
<Bundle-Name>zk.source</Bundle-Name>
</instructions>
</artifact>
<artifact>
<id>org.zkoss.zk:zhtml:jar:sources:${zk-version}</id>
<source>false</source>
<transitive>false</transitive>
<instructions>
<Eclipse-SourceBundle>zhtml;version="${project.version}";roots:="."</Eclipse-SourceBundle>
<Bundle-SymbolicName>zhtml</Bundle-SymbolicName>
<Bundle-Name>zhtml.source</Bundle-Name>
</instructions>
</artifact>
<artifact>
<id>org.zkoss.zk:zkbind:jar:sources:${zk-version}</id>
<source>false</source>
<transitive>false</transitive>
<instructions>
<Eclipse-SourceBundle>zkbind;version="${project.version}";roots:="."</Eclipse-SourceBundle>
<Bundle-SymbolicName>zkbind</Bundle-SymbolicName>
<Bundle-Name>zkbind.source</Bundle-Name>
</instructions>
</artifact>
<artifact>
<id>org.zkoss.common:zel:jar:sources:${zk-version}</id>
<source>false</source>
<transitive>false</transitive>
<instructions>
<Eclipse-SourceBundle>zel;version="${project.version}";roots:="."</Eclipse-SourceBundle>
<Bundle-SymbolicName>zel</Bundle-SymbolicName>
<Bundle-Name>zel.source</Bundle-Name>
</instructions>
</artifact>
<artifact>
<id>org.zkoss.common:zcommon:jar:sources:${zk-version}</id>
<source>false</source>
<transitive>false</transitive>
<instructions>
<Eclipse-SourceBundle>zcommon;version="${project.version}";roots:="."</Eclipse-SourceBundle>
<Bundle-SymbolicName>zcommon</Bundle-SymbolicName>
<Bundle-Name>zcommon.source</Bundle-Name>
</instructions>
</artifact>
<artifact>
<id>org.javassist:javassist:jar:sources:${zk-javassist-src-version}</id>
<source>false</source>
<transitive>false</transitive>
<instructions>
<Eclipse-SourceBundle>zjavassist;version="${project.version}";roots:="."</Eclipse-SourceBundle>
<Bundle-SymbolicName>zjavassist</Bundle-SymbolicName>
<Bundle-Version>${zk-version}</Bundle-Version>
<Bundle-Name>zjavassist.source</Bundle-Name>
</instructions>
</artifact>
</artifacts>
</feature>
<feature>
<id>org.idempiere.zk.feature</id>
<version>${project.version}</version>
<label>Idempiere zk ${project.version} feature</label>
<providerName>Idempiere</providerName>
<description>feature group all zk osgi bundle get from
sourcefore</description>
<copyright>Idempiere</copyright>
<license>GPL v2.1</license>
<generateSourceFeature>true</generateSourceFeature>
<artifacts>
<artifact>
<id>org.zkoss.zk:zkplus:${zk-version}</id>
<source>false</source>
<transitive>false</transitive>
<instructions>
<Bundle-SymbolicName>zkplus</Bundle-SymbolicName>
<Bundle-Name>zkplus</Bundle-Name>
</instructions>
</artifact>
<artifact>
<id>org.zkoss.common:zweb:${zk-version}</id>
<source>false</source>
<transitive>false</transitive>
<instructions>
<Bundle-SymbolicName>zweb</Bundle-SymbolicName>
<Bundle-Name>zweb</Bundle-Name>
</instructions>
</artifact>
<artifact>
<id>org.zkoss.zk:zul:${zk-version}</id>
<source>false</source>
<transitive>false</transitive>
<instructions>
<Bundle-SymbolicName>zul</Bundle-SymbolicName>
<Bundle-Name>zul</Bundle-Name>
</instructions>
</artifact>
<artifact>
<id>org.zkoss.zk:zk:${zk-version}</id>
<source>false</source>
<transitive>false</transitive>
<instructions>
<Bundle-SymbolicName>zk</Bundle-SymbolicName>
<Bundle-Name>zk</Bundle-Name>
</instructions>
</artifact>
<artifact>
<id>org.zkoss.zk:zhtml:${zk-version}</id>
<source>false</source>
<transitive>false</transitive>
<instructions>
<Bundle-SymbolicName>zhtml</Bundle-SymbolicName>
<Bundle-Name>zhtml</Bundle-Name>
</instructions>
</artifact>
<artifact>
<id>org.zkoss.zk:zkbind:${zk-version}</id>
<source>false</source>
<transitive>false</transitive>
<instructions>
<Bundle-SymbolicName>zkbind</Bundle-SymbolicName>
<Bundle-Name>zkbind</Bundle-Name>
</instructions>
</artifact>
<artifact>
<id>org.zkoss.common:zel:${zk-version}</id>
<source>false</source>
<transitive>false</transitive>
<instructions>
<Bundle-SymbolicName>zel</Bundle-SymbolicName>
<Bundle-Name>zel</Bundle-Name>
</instructions>
</artifact>
<artifact>
<id>org.zkoss.common:zcommon:${zk-version}</id>
<source>false</source>
<transitive>false</transitive>
<instructions>
<Bundle-SymbolicName>zcommon</Bundle-SymbolicName>
<Bundle-Name>zcommon</Bundle-Name>
</instructions>
</artifact>
</artifacts>
</feature>
<feature>
<id>org.idempiere.jasperreport.feature</id>
<version>${project.version}</version>
<label>Idempiere jasperreport ${project.version} feature</label>
<providerName>Idempiere</providerName>
<description>feature group all jasperreport osgi bundle get
from sourcefore</description>
<copyright>Idempiere</copyright>
<license>GPL v2.1</license>
<generateSourceFeature>true</generateSourceFeature>
<artifacts>
<artifact>
<id>net.sf.jasperreports:jasperreports:jar:${jp-version}</id>
<source>false</source>
<transitive>false</transitive>
<override>true</override>
<instructions>
<Bundle-SymbolicName>net.sf.jasperreports.engine</Bundle-SymbolicName>
<Bundle-Name>net.sf.jasperreports.engine</Bundle-Name>
</instructions>
</artifact>
</artifacts>
</feature>
</featureDefinitions>
<artifacts>
<artifact>
<id>org.javassist:javassist:${zk-javassist-src-version}</id>
<source>false</source>
<transitive>false</transitive>
<override>true</override>
<instructions>
<Bundle-SymbolicName>zjavassist</Bundle-SymbolicName>
<Bundle-Name>zjavassist</Bundle-Name>
<!-- this work-around can generate bundle with version is ${zk-version},
but feature still use version from artifact id, mean ${zk-javassist-src-version},
it let target recognize wrong bundle -->
<!-- need to adjust feature at next step -->
<Bundle-Version>${zk-version}</Bundle-Version>
</instructions>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
<!-- download zk osgi, unzip it -->
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<executions>
<execution>
<id>download-db-seed-pg</id>
<phase>package</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>${zk-osgi-zip-file}</url>
<unpack>true</unpack>
<outputFileName>zk-bin-osgi-${zk-version}.zip</outputFileName>
<outputDirectory>${project.build.directory}</outputDirectory>
<retries>5</retries>
</configuration>
</execution>
</executions>
</plugin>
<!-- copy zk osgi bundle to repository folder -->
<plugin>
<groupId>com.coderplus.maven.plugins</groupId>
<artifactId>copy-rename-maven-plugin</artifactId>
<executions>
<execution>
<id>rename-file</id>
<phase>package</phase>
<goals>
<goal>rename</goal>
</goals>
<configuration>
<fileSets>
<fileSet>
<sourceFile>${project.build.directory}/zk-bin-osgi-${zk-version}/dist/lib/zcommon.osgi.jar</sourceFile>
<destinationFile>${project.build.directory}/repository/plugins/zcommon_${zk-version}.jar</destinationFile>
</fileSet>
<fileSet>
<sourceFile>${project.build.directory}/zk-bin-osgi-${zk-version}/dist/lib/zel.osgi.jar</sourceFile>
<destinationFile>${project.build.directory}/repository/plugins/zel_${zk-version}.jar</destinationFile>
</fileSet>
<fileSet>
<sourceFile>${project.build.directory}/zk-bin-osgi-${zk-version}/dist/lib/zhtml.osgi.jar</sourceFile>
<destinationFile>${project.build.directory}/repository/plugins/zhtml_${zk-version}.jar</destinationFile>
</fileSet>
<fileSet>
<sourceFile>${project.build.directory}/zk-bin-osgi-${zk-version}/dist/lib/zjavassist.osgi.jar</sourceFile>
<destinationFile>${project.build.directory}/repository/plugins/zjavassist_${zk-version}.jar</destinationFile>
</fileSet>
<fileSet>
<sourceFile>${project.build.directory}/zk-bin-osgi-${zk-version}/dist/lib/zk.osgi.jar</sourceFile>
<destinationFile>${project.build.directory}/repository/plugins/zk_${zk-version}.jar</destinationFile>
</fileSet>
<fileSet>
<sourceFile>${project.build.directory}/zk-bin-osgi-${zk-version}/dist/lib/zkbind.osgi.jar</sourceFile>
<destinationFile>${project.build.directory}/repository/plugins/zkbind_${zk-version}.jar</destinationFile>
</fileSet>
<fileSet>
<sourceFile>${project.build.directory}/zk-bin-osgi-${zk-version}/dist/lib/zkplus.osgi.jar</sourceFile>
<destinationFile>${project.build.directory}/repository/plugins/zkplus_${zk-version}.jar</destinationFile>
</fileSet>
<fileSet>
<sourceFile>${project.build.directory}/zk-bin-osgi-${zk-version}/dist/lib/zul.osgi.jar</sourceFile>
<destinationFile>${project.build.directory}/repository/plugins/zul_${zk-version}.jar</destinationFile>
</fileSet>
<fileSet>
<sourceFile>${project.build.directory}/zk-bin-osgi-${zk-version}/dist/lib/zweb.osgi.jar</sourceFile>
<destinationFile>${project.build.directory}/repository/plugins/zweb_${zk-version}.jar</destinationFile>
</fileSet>
<fileSet>
<sourceFile>${project.build.directory}/repository/artifacts.jar</sourceFile>
<destinationFile>${project.build.directory}/artifacts.jar</destinationFile>
</fileSet>
<fileSet>
<sourceFile>${project.build.directory}/repository/content.jar</sourceFile>
<destinationFile>${project.build.directory}/content.jar</destinationFile>
</fileSet>
</fileSets>
</configuration>
</execution>
</executions>
</plugin>
<!-- update P2 after add zk lib -->
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-p2-extras-plugin</artifactId>
<executions>
<execution>
<id>generate-full-metadata</id>
<phase>package</phase>
<goals>
<goal>publish-features-and-bundles</goal>
</goals>
<configuration>
<append>false</append>
<sourceLocation>${project.build.directory}/repository</sourceLocation>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-eclipserun-plugin</artifactId>
<configuration>
<repositories>
<repository>
<id>juno</id>
<layout>p2</layout>
<url>${idempiere-equinox-url}</url>
</repository>
</repositories>
<dependencies>
<dependency>
<artifactId>org.eclipse.ecf</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.util</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.ds</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.p2.garbagecollector</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.frameworkadmin.equinox</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.p2.publisher.eclipse</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.ecf.provider.filetransfer.httpclient4.ssl</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.apache.commons.logging</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.ecf.provider.filetransfer.httpclient4</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.p2.director</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.common</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.p2.metadata</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.tukaani.xz</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.p2.core</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.core.net</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.concurrent</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.core.contenttype</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.p2.updatesite</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.apache.httpcomponents.httpcore</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.p2.touchpoint.eclipse</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.core.jobs</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.preferences</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.registry</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.simpleconfigurator.manipulator</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.security</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.p2.jarprocessor</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.p2.engine</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.ecf.identity</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.app</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.apache.felix.scr</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.p2.repository</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.apache.httpcomponents.httpclient</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.p2.artifact.repository</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.osgi.compatibility.state</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.ecf.provider.filetransfer</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.launcher</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.osgi.util</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.frameworkadmin</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.p2.repository.tools</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.p2.publisher</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.p2.touchpoint.natives</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.apache.commons.codec</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.osgi.services</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.ecf.filetransfer</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.ecf.provider.filetransfer.ssl</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.ecf.ssl</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.sat4j.core</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.core.runtime</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.p2.transport.ecf</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.p2.director.app</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.sat4j.pb</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.p2.metadata.repository</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.simpleconfigurator</artifactId>
<type>eclipse-plugin</type>
</dependency>
</dependencies>
<appArgLine>-application org.eclipse.equinox.p2.publisher.CategoryPublisher -artifactRepository file:${project.build.directory}/repository -metadataRepository file:${project.build.directory}/repository -categoryDefinition file:${project.build.directory}/repository/category.xml -categoryQualifier -compress</appArgLine>
</configuration>
<executions>
<execution>
<goals>
<goal>eclipse-run</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@ -14,9 +14,31 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jetty-version>9.4.7.v20170914</jetty-version> <jetty-version>9.4.7.v20170914</jetty-version>
<jp-version>6.3.1</jp-version> <jp-version>6.3.1</jp-version>
<zk-version>8.5.0</zk-version>
<zk-javassist-src-version>3.18.2-GA</zk-javassist-src-version>
<maven-dependency-version>3.0.2</maven-dependency-version> <maven-dependency-version>3.0.2</maven-dependency-version>
<download-maven-version>1.4.0</download-maven-version> <download-maven-version>1.4.0</download-maven-version>
<lifecycle-mapping-version>1.0.0</lifecycle-mapping-version> <lifecycle-mapping-version>1.0.0</lifecycle-mapping-version>
<idempiere-repository-url>https://sourceforge.net/projects/idempiere/files/binary.file/jarfile</idempiere-repository-url>
<idempiere-jasper-url>${idempiere-repository-url}/jp-p2/jp-${jp-version}</idempiere-jasper-url>
<idempiere-zkoss-url>${idempiere-repository-url}/zk-p2/zk-${zk-version}</idempiere-zkoss-url>
<!-- <idempiere-modifyBundle-url>${idempiere-repository-url}/modifyBundle-1.0.0</idempiere-modifyBundle-url> -->
<idempiere-equinox-url>http://download.eclipse.org/eclipse/updates/4.7</idempiere-equinox-url>
<idempiere-jetty-url>http://download.eclipse.org/jetty/updates/jetty-bundles-9.x</idempiere-jetty-url>
<idempiere-orbit-url>http://download.eclipse.org/tools/orbit/downloads/drops/R20170919201930/repository</idempiere-orbit-url>
<idempiere-restlet-url>http://p2.restlet.com/2.3</idempiere-restlet-url>
<idempiere-maven-central-url>http://central.maven.org/maven2</idempiere-maven-central-url>
<idempiere-maven-redhat-ga-url>https://maven.repository.redhat.com/ga</idempiere-maven-redhat-ga-url>
<idempiere-maven-opennms-url>http://repo.opennms.org/maven2</idempiere-maven-opennms-url>
<idempiere-maven-jr-ce-releases-url>https://jaspersoft.jfrog.io/jaspersoft/jr-ce-releases</idempiere-maven-jr-ce-releases-url>
<idempiere-maven-jp-third-party-ce-url>https://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts</idempiere-maven-jp-third-party-ce-url>
<idempiere-maven-netbeans-url>http://bits.netbeans.org/maven2</idempiere-maven-netbeans-url>
<idempiere-maven-clojars-url>http://clojars.org/repo</idempiere-maven-clojars-url>
<idempiere-maven-atlassian-3rdparty-url>https://maven.atlassian.com/3rdparty</idempiere-maven-atlassian-3rdparty-url>
<idempiere-maven-zkoss-url>http://mavensync.zkoss.org/maven2</idempiere-maven-zkoss-url>
<idempiere-maven-jenkins-url>http://repo.jenkins-ci.org/releases</idempiere-maven-jenkins-url>
<url.file.srv>http://downloads.sourceforge.net/project/idempiere/binary.file</url.file.srv>
</properties> </properties>
<profiles> <profiles>
@ -176,279 +198,6 @@
</repository> </repository>
</repositories> </repositories>
<dependencies>
<dependency>
<groupId>org.passay</groupId>
<artifactId>passay</artifactId>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>org.mortbay.jasper</groupId>
<artifactId>apache-jsp</artifactId>
<version>8.5.23</version>
</dependency>
<dependency>
<groupId>org.mortbay.jasper</groupId>
<artifactId>apache-el</artifactId>
<version>8.5.23</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.toolchain</groupId>
<artifactId>jetty-osgi-servlet-api</artifactId>
<version>3.1.0.M3</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.orbit</groupId>
<artifactId>org.eclipse.jdt.core</artifactId>
<version>3.8.2.v20130121</version>
</dependency>
<dependency>
<groupId>javax.websocket</groupId>
<artifactId>javax.websocket-api</artifactId>
<version>1.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.1</version>
</dependency>
<dependency>
<groupId>javax.management.j2ee</groupId>
<artifactId>javax.management.j2ee-api</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-commons</artifactId>
<version>6.0</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-tree</artifactId>
<version>6.0</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>6.0</version>
</dependency>
<dependency>
<groupId>org.apache.taglibs</groupId>
<artifactId>taglibs-standard-impl</artifactId>
<version>1.2.5</version>
</dependency>
<dependency>
<groupId>org.apache.taglibs</groupId>
<artifactId>taglibs-standard-spec</artifactId>
<version>1.2.5</version>
</dependency>
<dependency>
<groupId>org.apache.taglibs</groupId>
<artifactId>taglibs-standard-jstlel</artifactId>
<version>1.2.5</version>
</dependency>
<dependency>
<groupId>org.apache.aries.spifly</groupId>
<artifactId>org.apache.aries.spifly.dynamic.bundle</artifactId>
<version>1.0.10</version>
</dependency>
<dependency>
<groupId>org.apache.aries</groupId>
<artifactId>org.apache.aries.util</artifactId>
<version>1.1.3</version>
</dependency>
<dependency>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.cglib</artifactId>
<version>3.2.5_1</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-core</artifactId>
<version>5.7.0</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>kahadb</artifactId>
<version>5.7.0</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.webconsole</artifactId>
<version>4.3.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.webconsole.plugins.ds</artifactId>
<version>2.0.8</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.webconsole.plugins.memoryusage</artifactId>
<version>1.0.6</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.inventory</artifactId>
<version>1.0.6</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.webconsole.plugins.packageadmin</artifactId>
<version>1.0.4</version>
</dependency>
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.22.0-GA</version>
</dependency>
<dependency>
<groupId>com.itextpdf</groupId>
<artifactId>itextpdf</artifactId>
<version>5.5.12</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
<version>1.58</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>1.58</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcmail-jdk15on</artifactId>
<version>1.58</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bctsp-jdk15on</artifactId>
<version>1.46</version>
</dependency>
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
<version>1.7</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-digester3</artifactId>
<version>3.2</version>
</dependency>
<dependency>
<groupId>com.google.code.maven-play-plugin.org.apache.commons</groupId>
<artifactId>commons-javaflow</artifactId>
<version>1590792</version>
</dependency>
<dependency>
<groupId>org.cryptacular</groupId>
<artifactId>cryptacular</artifactId>
<version>1.2.1</version>
</dependency>
<dependency>
<groupId>net.sf.supercsv</groupId>
<artifactId>super-csv</artifactId>
<version>2.4.0</version>
</dependency>
<dependency>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-runtime</artifactId>
<version>2.4.16</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-alpn-server</artifactId>
<version>${jetty-version}</version>
<scope>test</scope>
</dependency>
<!-- https://github.com/eclipse/jetty.project/issues/702#issuecomment-354538021
work-around by use modify bundle on modifyBundle-1.0.0 -->
<dependency>
<groupId>org.eclipse.jetty.alpn</groupId>
<artifactId>alpn-api</artifactId>
<version>1.1.3.v20160715</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>2.4.13</version>
</dependency>
<dependency>
<groupId>com.ibm.icu</groupId>
<artifactId>icu4j</artifactId>
<version>60.2</version>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.9.9</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-configuration2</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
<version>4.1</version>
</dependency>
</dependencies>
<build> <build>
<pluginManagement> <pluginManagement>
<plugins> <plugins>
@ -495,8 +244,33 @@
<plugin> <plugin>
<groupId>org.eclipse.tycho</groupId> <groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId> <artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho-version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-p2-extras-plugin</artifactId>
<version>${tycho.extras.version}</version> <version>${tycho.extras.version}</version>
</plugin> </plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-publisher-plugin</artifactId>
<version>${tycho.extras.version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-eclipserun-plugin</artifactId>
<version>${tycho.extras.version}</version>
</plugin>
<plugin>
<groupId>com.coderplus.maven.plugins</groupId>
<artifactId>copy-rename-maven-plugin</artifactId>
<version>1.0.1</version>
</plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
<plugins> <plugins>
@ -512,14 +286,6 @@
<artifactId>target-platform-configuration</artifactId> <artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version> <version>${tycho-version}</version>
<configuration> <configuration>
<!-- to resolve osgi bundle on maven repository -->
<!-- Note: Tycho always attempts to resolve transitive dependencies,
so if you need a POM dependency in the target platform of one module, you
will also need it in all downstream modules. Therefore the POM dependencies
(and the pomDependencies=consider configuration) typically need to be added
in the parent POM. -->
<!-- https://wiki.eclipse.org/Tycho/Target_Platform#.22POM_dependencies_consider.22 -->
<pomDependencies>consider</pomDependencies>
<targetDefinitionIncludeSource>honor</targetDefinitionIncludeSource> <targetDefinitionIncludeSource>honor</targetDefinitionIncludeSource>
<!-- work-around for split package message error "Missing Constraint: <!-- work-around for split package message error "Missing Constraint:

View File

@ -71,6 +71,7 @@
<module>org.adempiere.payment.processor-feature</module> <module>org.adempiere.payment.processor-feature</module>
<module>org.idempiere.zk-feature</module> <module>org.idempiere.zk-feature</module>
<module>org.idempiere.p2</module> <module>org.idempiere.p2</module>
<module>org.idempiere.maven.to.p2</module>
</modules> </modules>
</project> </project>