2018-02-11 00:30:07 +07:00
|
|
|
<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>
|
2019-11-22 05:28:48 +07:00
|
|
|
<version>7.1.0-SNAPSHOT</version>
|
2018-02-11 00:30:07 +07:00
|
|
|
<relativePath>../org.idempiere.parent/pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
<artifactId>org.idempiere.p2</artifactId>
|
|
|
|
<packaging>eclipse-repository</packaging>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2018-03-09 14:33:31 +07:00
|
|
|
|
2018-02-11 00:30:07 +07:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.tycho</groupId>
|
2018-03-09 14:33:31 +07:00
|
|
|
<artifactId>tycho-p2-repository-plugin</artifactId>
|
2018-02-11 00:30:07 +07:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<!-- install the product using the p2 director -->
|
2018-03-09 14:33:31 +07:00
|
|
|
<id>build-site-p2</id>
|
2018-02-11 00:30:07 +07:00
|
|
|
<goals>
|
2018-03-09 14:33:31 +07:00
|
|
|
<goal>assemble-repository</goal>
|
2018-02-11 00:30:07 +07:00
|
|
|
</goals>
|
|
|
|
</execution>
|
2018-03-09 14:33:31 +07:00
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<!-- from import package maven can lookup bundle from all repositorys
|
|
|
|
declare on target platform, also maven local so default generated site-p2
|
|
|
|
don't include that bundle. this configuration change default behavior -->
|
|
|
|
<includeAllDependencies>true</includeAllDependencies>
|
|
|
|
<!-- https://bugs.eclipse.org/bugs/show_bug.cgi?id=512396 -->
|
|
|
|
<xzCompress>false</xzCompress>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.tycho</groupId>
|
|
|
|
<artifactId>tycho-p2-director-plugin</artifactId>
|
|
|
|
<executions>
|
2018-02-11 00:30:07 +07:00
|
|
|
<execution>
|
2018-03-09 14:33:31 +07:00
|
|
|
<!-- install the product using the p2 director -->
|
|
|
|
<id>materialize-products</id>
|
2018-02-11 00:30:07 +07:00
|
|
|
<goals>
|
2018-03-09 14:33:31 +07:00
|
|
|
<goal>materialize-products</goal>
|
2018-02-11 00:30:07 +07:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
2018-03-09 14:33:31 +07:00
|
|
|
<source>repository</source>
|
2018-02-11 00:30:07 +07:00
|
|
|
<products>
|
|
|
|
<product>
|
|
|
|
<!-- The uid in the .product file, NOT the name of the .product file -->
|
2018-03-09 14:33:31 +07:00
|
|
|
<id>${idempiere.product.id}</id>
|
2018-02-11 00:30:07 +07:00
|
|
|
<archiveFileName>idempiere-server-${unqualifiedVersion}-${buildQualifier}</archiveFileName>
|
|
|
|
</product>
|
|
|
|
</products>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2018-03-09 14:33:31 +07:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.tycho.extras</groupId>
|
|
|
|
<artifactId>tycho-eclipserun-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<appArgLine>-application org.eclipse.equinox.p2.director -repository file:${project.build.directory}/repository -destination ${project.build.directory}/products/${idempiere.product.id}/${tycho.env.osgi.os}/${tycho.env.osgi.ws}/${tycho.env.osgi.arch} -installIU "${extra.ui.install}" -profileProperties org.eclipse.update.install.features=true -p2.os ${tycho.env.osgi.os} -p2.ws ${tycho.env.osgi.ws} -p2.arch ${tycho.env.osgi.arch} -consoleLog -roaming</appArgLine>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>eclipse-run</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>package</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-02-11 00:30:07 +07:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|