618 lines
24 KiB
XML
618 lines
24 KiB
XML
<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>
|
|
<!-- https://github.com/jetty-project/jasper-jsp/issues/5 -->
|
|
<source>false</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="${zk.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="${zk.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="${zk.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="${zk.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="${zk.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="${zk.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="${zk.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="${zk.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="${zk.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>
|
|
<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> |