IDEMPIERE-3531:add export product

This commit is contained in:
hieplq 2018-02-11 00:30:07 +07:00
parent 9482f02dec
commit 30b579a65e
8 changed files with 256 additions and 0 deletions

23
org.idempiere.p2/.project Normal file
View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.idempiere.p2</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.UpdateSiteBuilder</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.pde.UpdateSiteNature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8

View File

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

View File

@ -0,0 +1,88 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/org.adempiere.base.feature_5.1.0.qualifier.jar" id="org.adempiere.base.feature" version="5.1.0.qualifier">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.adempiere.bundles.external.feature_5.1.0.qualifier.jar" id="org.adempiere.bundles.external.feature" version="5.1.0.qualifier">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.adempiere.payment.processor.feature_5.1.0.qualifier.jar" id="org.adempiere.payment.processor.feature" version="5.1.0.qualifier">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.adempiere.pipo.feature_5.1.0.qualifier.jar" id="org.adempiere.pipo.feature" version="5.1.0.qualifier">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.adempiere.replication.feature_5.1.0.qualifier.jar" id="org.adempiere.replication.feature" version="5.1.0.qualifier">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.adempiere.replication.server.feature_5.1.0.qualifier.jar" id="org.adempiere.replication.server.feature" version="5.1.0.qualifier">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.adempiere.report.jasper.feature_5.1.0.qualifier.jar" id="org.adempiere.report.jasper.feature" version="5.1.0.qualifier">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.adempiere.server.feature_5.1.0.qualifier.jar" id="org.adempiere.server.feature" version="5.1.0.qualifier">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.adempiere.target.platform.feature_5.1.0.qualifier.jar" id="org.adempiere.target.platform.feature" version="5.1.0.qualifier">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.adempiere.ui.zk.feature_5.1.0.qualifier.jar" id="org.adempiere.ui.zk.feature" version="5.1.0.qualifier">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.adempiere.webstore.feature_5.1.0.qualifier.jar" id="org.adempiere.webstore.feature" version="5.1.0.qualifier">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.compiere.db.provider.feature_5.1.0.qualifier.jar" id="org.compiere.db.provider.feature" version="5.1.0.qualifier">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.eclipse.ecf.core.feature_1.4.0.v20170516-2248.jar" id="org.eclipse.ecf.core.feature" version="1.4.0.v20170516-2248">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.eclipse.ecf.core.ssl.feature_1.1.0.v20170110-1317.jar" id="org.eclipse.ecf.core.ssl.feature" version="1.1.0.v20170110-1317">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.eclipse.ecf.filetransfer.feature_3.13.7.v20170516-2248.jar" id="org.eclipse.ecf.filetransfer.feature" version="3.13.7.v20170516-2248">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.13.7.v20170516-2248.jar" id="org.eclipse.ecf.filetransfer.httpclient4.feature" version="3.13.7.v20170516-2248">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.1.0.v20170110-1317.jar" id="org.eclipse.ecf.filetransfer.httpclient4.ssl.feature" version="1.1.0.v20170110-1317">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.eclipse.ecf.filetransfer.ssl.feature_1.1.0.v20170110-1317.jar" id="org.eclipse.ecf.filetransfer.ssl.feature" version="1.1.0.v20170110-1317">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.eclipse.equinox.executable_3.7.2.v20171108-1834.jar" id="org.eclipse.equinox.executable" version="3.7.2.v20171108-1834">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.eclipse.equinox.server.core_1.5.2.v20171108-1350.jar" id="org.eclipse.equinox.server.core" version="1.5.2.v20171108-1350">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.eclipse.equinox.server.p2_1.3.1.v20170928-1405.jar" id="org.eclipse.equinox.server.p2" version="1.3.1.v20170928-1405">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.eclipse.osgi.compatibility.plugins.feature_1.1.1.v20170811-1325.jar" id="org.eclipse.osgi.compatibility.plugins.feature" version="1.1.1.v20170811-1325">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.idempiere.eclipse.platform.feature_5.1.0.qualifier.jar" id="org.idempiere.eclipse.platform.feature" version="5.1.0.qualifier">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.idempiere.equinox.p2.director.feature_5.1.0.qualifier.jar" id="org.idempiere.equinox.p2.director.feature" version="5.1.0.qualifier">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.idempiere.felix.webconsole.feature_5.1.0.qualifier.jar" id="org.idempiere.felix.webconsole.feature" version="5.1.0.qualifier">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.idempiere.fitnesse.feature_5.1.0.qualifier.jar" id="org.idempiere.fitnesse.feature" version="5.1.0.qualifier">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.idempiere.hazelcast.service.feature_5.1.0.qualifier.jar" id="org.idempiere.hazelcast.service.feature" version="5.1.0.qualifier">
<category name="idempiere.core"/>
</feature>
<feature url="features/org.idempiere.zk.feature_5.1.0.qualifier.jar" id="org.idempiere.zk.feature" version="5.1.0.qualifier">
<category name="idempiere.core"/>
</feature>
<category-def name="idempiere.core" label="idempiere core"/>
</site>

46
org.idempiere.p2/pom.xml Normal file
View File

@ -0,0 +1,46 @@
<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.p2</artifactId>
<packaging>eclipse-repository</packaging>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<executions>
<execution>
<!-- install the product using the p2 director -->
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<!-- create zip file with the installed product -->
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
<configuration>
<products>
<product>
<!-- The uid in the .product file, NOT the name of the .product file -->
<id>org.adempiere.server.product</id>
<archiveFileName>idempiere-server-${unqualifiedVersion}-${buildQualifier}</archiveFileName>
</product>
</products>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -0,0 +1,87 @@
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
<product name="iDempiere Server" uid="org.adempiere.server.product" id="org.adempiere.server.server_product" application="org.adempiere.server.application" version="5.1.0.qualifier" useFeatures="true" includeLaunchers="true">
<configIni use="default">
</configIni>
<launcherArgs>
<programArgs>-console
</programArgs>
<vmArgs>-Xbootclasspath/p:alpn-boot.jar -Declipse.product=org.adempiere.server.product -Dosgi.noShutdown=true -Dosgi.framework.activeThreadType=normal -Dorg.osgi.framework.bootdelegation=sun.security.ssl,org.eclipse.jetty.alpn -Dosgi.compatibility.bootdelegation=true -Djetty.home=jettyhome -Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-ssl-context.xml,etc/jetty-http.xml,etc/jetty-alpn.xml,etc/jetty-http2.xml,etc/jetty-https.xml -Dmail.mime.encodefilename=true -Dmail.mime.decodefilename=true -Dmail.mime.encodeparameters=true -Dmail.mime.decodeparameters=true -Dhazelcast.config=hazelcast.xml -Dorg.zkoss.zk.config.path=file://${workspace_loc}/zk.xml
</vmArgs>
<vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts
</vmArgsMac>
</launcherArgs>
<windowImages/>
<launcher name="idempiere">
<win useIco="false">
<bmp/>
</win>
</launcher>
<vm>
<linux include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</linux>
</vm>
<plugins>
</plugins>
<features>
<feature id="org.adempiere.server.feature"/>
<feature id="org.adempiere.target.platform.feature"/>
<feature id="org.idempiere.eclipse.platform.feature"/>
</features>
<configurations>
<plugin id="org.adempiere.eclipse.equinox.http.servlet" autoStart="true" startLevel="0" />
<plugin id="org.adempiere.pipo" autoStart="true" startLevel="0" />
<plugin id="org.adempiere.server" autoStart="true" startLevel="0" />
<plugin id="org.adempiere.ui.zk" autoStart="true" startLevel="0" />
<plugin id="org.apache.aries.spifly.dynamic.bundle" autoStart="true" startLevel="0" />
<plugin id="org.apache.felix.webconsole" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.equinox.cm" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.event" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.http.registry" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1" />
<plugin id="org.eclipse.jetty.alpn.api" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.jetty.alpn.server" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.jetty.apache-jsp" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.jetty.http" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.jetty.http2.common" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.jetty.http2.hpack" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.jetty.http2.server" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.jetty.osgi.boot" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.jetty.osgi.httpservice" autoStart="true" startLevel="0" />
<plugin id="org.idempiere.felix.webconsole" autoStart="true" startLevel="0" />
<plugin id="org.mortbay.jasper.apache-el" autoStart="true" startLevel="0" />
<plugin id="org.mortbay.jasper.apache-jsp" autoStart="true" startLevel="0" />
<plugin id="org.restlet" autoStart="true" startLevel="0" />
<property name="eclipse.product" value="org.adempiere.server.product" />
<property name="org.eclipse.equinox.simpleconfigurator.exclusiveInstallation" value="false" />
<property name="org.eclipse.update.reconcile" value="false" />
<property name="osgi.compatibility.bootdelegation" value="true" />
<property name="osgi.console.enable.builtin" value="false" />
<property name="osgi.framework.activeThreadType" value="normal" />
<property name="osgi.instance.area.default" value="@config.dir/../workspace" />
<property name="osgi.noShutdown" value="true" />
</configurations>
<preferencesInfo>
<targetfile overwrite="false"/>
</preferencesInfo>
<cssInfo>
</cssInfo>
</product>

View File

@ -492,6 +492,11 @@
<artifactId>download-maven-plugin</artifactId> <artifactId>download-maven-plugin</artifactId>
<version>${download-maven-version}</version> <version>${download-maven-version}</version>
</plugin> </plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.extras.version}</version>
</plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
<plugins> <plugins>

View File

@ -70,6 +70,7 @@
<module>org.idempiere.hazelcast.service-feature</module> <module>org.idempiere.hazelcast.service-feature</module>
<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>
</modules> </modules>
</project> </project>