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>
|
2021-09-04 21:12:10 +07:00
|
|
|
<version>${revision}</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>
|
2022-08-22 22:09:33 +07:00
|
|
|
<properties>
|
|
|
|
<materializeProduct>package</materializeProduct>
|
|
|
|
</properties>
|
2018-02-11 00:30:07 +07:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2022-08-22 22:09:33 +07:00
|
|
|
<plugin>
|
2023-10-23 12:15:25 +07:00
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
2022-08-22 22:09:33 +07:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2023-10-23 12:15:25 +07:00
|
|
|
<id>auto-clean</id>
|
2022-08-22 22:09:33 +07:00
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
2023-10-23 12:15:25 +07:00
|
|
|
<goal>clean</goal>
|
2022-08-22 22:09:33 +07:00
|
|
|
</goals>
|
2023-10-23 12:15:25 +07:00
|
|
|
|
2022-08-22 22:09:33 +07:00
|
|
|
<configuration>
|
2023-10-23 12:15:25 +07:00
|
|
|
<skip>${skipClean}</skip>
|
|
|
|
<excludeDefaultDirectories>false</excludeDefaultDirectories>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>${project.basedir}/lib</directory>
|
|
|
|
<includes>
|
|
|
|
<include>*.jar</include>
|
|
|
|
</includes>
|
|
|
|
<followSymlinks>false</followSymlinks>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>always-clean</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>clean</goal>
|
|
|
|
</goals>
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
<skip>false</skip>
|
|
|
|
<excludeDefaultDirectories>true</excludeDefaultDirectories>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>${project.basedir}/target</directory>
|
|
|
|
<includes>
|
|
|
|
<include>local-artifacts.properties</include>
|
|
|
|
<include>repository</include>
|
|
|
|
<include>repository/**</include>
|
|
|
|
</includes>
|
|
|
|
<followSymlinks>false</followSymlinks>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
2022-08-22 22:09:33 +07:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.tycho</groupId>
|
|
|
|
<artifactId>tycho-p2-publisher-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-publish-osgi-ee</id>
|
|
|
|
<goals>
|
|
|
|
<goal>publish-osgi-ee</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>${materializeProduct}</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>default-publish-categories</id>
|
|
|
|
<goals>
|
|
|
|
<goal>publish-categories</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>${materializeProduct}</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>default-publish-products</id>
|
|
|
|
<goals>
|
|
|
|
<goal>publish-products</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>package</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>default-attach-artifacts</id>
|
|
|
|
<goals>
|
|
|
|
<goal>attach-artifacts</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>package</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
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>
|
2022-08-22 22:09:33 +07:00
|
|
|
<id>default-assemble-repository</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>
|
2022-08-22 22:09:33 +07:00
|
|
|
<phase>package</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>default-archive-repository</id>
|
|
|
|
<goals>
|
|
|
|
<goal>archive-repository</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>package</phase>
|
2018-02-11 00:30:07 +07:00
|
|
|
</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 -->
|
2022-08-22 22:09:33 +07:00
|
|
|
<id>default-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>
|
2022-08-22 22:09:33 +07:00
|
|
|
<phase>${materializeProduct}</phase>
|
2018-02-11 00:30:07 +07:00
|
|
|
</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>
|
2023-06-21 18:44:18 +07:00
|
|
|
<applicationArgs>
|
|
|
|
<arg>-application</arg>
|
|
|
|
<arg>org.eclipse.equinox.p2.director</arg>
|
|
|
|
<arg>-repository</arg>
|
|
|
|
<arg>file:${project.build.directory}/repository</arg>
|
|
|
|
<arg>-destination</arg>
|
|
|
|
<arg>${project.build.directory}/products/${idempiere.product.id}/${tycho.env.osgi.os}/${tycho.env.osgi.ws}/${tycho.env.osgi.arch}</arg>
|
|
|
|
<arg>-installIU</arg>
|
|
|
|
<arg>${extra.ui.install}</arg>
|
|
|
|
<arg>-profileProperties</arg>
|
|
|
|
<arg>org.eclipse.update.install.features=true</arg>
|
|
|
|
<arg>-p2.os</arg>
|
|
|
|
<arg>${tycho.env.osgi.os}</arg>
|
|
|
|
<arg>-p2.ws</arg>
|
|
|
|
<arg>${tycho.env.osgi.ws}</arg>
|
|
|
|
<arg>-p2.arch</arg>
|
|
|
|
<arg>${tycho.env.osgi.arch}</arg>
|
|
|
|
<arg>-consoleLog</arg>
|
|
|
|
<arg>-roaming</arg>
|
|
|
|
</applicationArgs>
|
2018-03-09 14:33:31 +07:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2022-08-22 22:09:33 +07:00
|
|
|
<id>default-eclipse-run</id>
|
2018-03-09 14:33:31 +07:00
|
|
|
<goals>
|
|
|
|
<goal>eclipse-run</goal>
|
|
|
|
</goals>
|
2022-08-22 22:09:33 +07:00
|
|
|
<phase>${materializeProduct}</phase>
|
2018-03-09 14:33:31 +07:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-02-11 00:30:07 +07:00
|
|
|
</plugins>
|
2022-08-22 22:09:33 +07:00
|
|
|
</build>
|
|
|
|
</project>
|