567 lines
22 KiB
XML
567 lines
22 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>
|
|
|
|
<groupId>org.idempiere</groupId>
|
|
<artifactId>org.idempiere.parent</artifactId>
|
|
<version>5.1.0-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
<name>Maven parent project for idempiere</name>
|
|
|
|
<properties>
|
|
<tycho.version>1.2.0</tycho.version>
|
|
<tycho.extras.version>${tycho.version}</tycho.extras.version>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<jetty.version>9.4.12.v20180830</jetty.version>
|
|
<jp.version>6.7.0</jp.version>
|
|
<zk.version>8.5.0</zk.version>
|
|
<zk.javassist.src.version>3.23.1-GA</zk.javassist.src.version>
|
|
<maven.dependency.version>3.1.1</maven.dependency.version>
|
|
<download.maven.version>1.4.1</download.maven.version>
|
|
<lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
|
|
<springframework.version>5.1.1.RELEASE</springframework.version>
|
|
<!-- https://www.eclipse.org/jetty/documentation/9.3.x/alpn-chapter.html#alpn-versions -->
|
|
<jetty.alpn-boot.version>8.1.12.v20180117</jetty.alpn-boot.version>
|
|
<netbeans.lib.version>RELEASE731</netbeans.lib.version>
|
|
<!-- default value of properties, use when run without profile -->
|
|
<idempiere.target>org.idempiere.p2.targetplatform</idempiere.target>
|
|
<idempiere-equinox-url>http://download.eclipse.org/eclipse/updates/4.9</idempiere-equinox-url>
|
|
<idempiere-equinox-repository-id>eclipse-photon-201809</idempiere-equinox-repository-id>
|
|
<idempiere-orbit-url>http://download.eclipse.org/tools/orbit/downloads/drops/R20180905201904/repository</idempiere-orbit-url>
|
|
<idempiere-orbit-repository-id>orbit-photon-R20180905201904</idempiere-orbit-repository-id>
|
|
<url.file.srv>http://downloads.sourceforge.net/project/idempiere/binary.file</url.file.srv>
|
|
<extra.ui.install>org.eclipse.equinox.p2.director, org.idempiere.equinox.p2.director.feature.feature.group, org.idempiere.fitnesse.feature.feature.group</extra.ui.install>
|
|
<idempiere.product.id>org.adempiere.server.product</idempiere.product.id>
|
|
<codehaus.plexus>2.8.5</codehaus.plexus>
|
|
<!-- override from tycho to get latest version of jdt -->
|
|
<jdtVersion>3.15.0</jdtVersion>
|
|
<jdtAptVersion>1.3.300</jdtAptVersion>
|
|
</properties>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<!-- https://www.eclipse.org/m2e/documentation/m2e-execution-not-covered.html -->
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
<version>${lifecycle.mapping.version}</version>
|
|
<configuration>
|
|
<lifecycleMappingMetadata>
|
|
<pluginExecutions>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>com.googlecode.maven-download-plugin</groupId>
|
|
<artifactId>download-maven-plugin</artifactId>
|
|
<versionRange>[1.0.0,)</versionRange>
|
|
<goals>
|
|
<goal>wget</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore />
|
|
</action>
|
|
</pluginExecution>
|
|
</pluginExecutions>
|
|
</lifecycleMappingMetadata>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.eclipse.tycho.extras</groupId>
|
|
<artifactId>tycho-eclipserun-plugin</artifactId>
|
|
<version>${tycho.extras.version}</version>
|
|
<configuration>
|
|
<repositories>
|
|
<repository>
|
|
<id>${idempiere-equinox-repository-id}</id>
|
|
<url>${idempiere-equinox-url}</url>
|
|
<layout>p2</layout>
|
|
</repository>
|
|
<repository>
|
|
<id>${idempiere-orbit-repository-id}</id>
|
|
<url>${idempiere-orbit-url}</url>
|
|
<layout>p2</layout>
|
|
</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>
|
|
<dependency>
|
|
<artifactId>org.eclipse.equinox.console</artifactId>
|
|
<type>eclipse-plugin</type>
|
|
</dependency>
|
|
<dependency>
|
|
<artifactId>org.apache.felix.gogo.command</artifactId>
|
|
<type>eclipse-plugin</type>
|
|
</dependency>
|
|
<dependency>
|
|
<artifactId>org.apache.felix.gogo.runtime</artifactId>
|
|
<type>eclipse-plugin</type>
|
|
</dependency>
|
|
<dependency>
|
|
<artifactId>org.apache.felix.gogo.shell</artifactId>
|
|
<type>eclipse-plugin</type>
|
|
</dependency>
|
|
</dependencies>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.eclipse.tycho</groupId>
|
|
<artifactId>tycho-compiler-plugin</artifactId>
|
|
<version>${tycho.version}</version>
|
|
<configuration>
|
|
<verbose>true</verbose>
|
|
</configuration>
|
|
<dependencies>
|
|
<!-- overrider tycho to get latest for compiler ~/.m2/repository/org/eclipse/tycho/tycho-compiler-jdt/1.2.0/tycho-compiler-jdt-1.2.0.pom-->
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-utils</artifactId>
|
|
<version>3.1.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-compiler-manager</artifactId>
|
|
<version>${codehaus.plexus}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-compiler-api</artifactId>
|
|
<version>${codehaus.plexus}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-exec</artifactId>
|
|
<version>1.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jdt</groupId>
|
|
<artifactId>org.eclipse.jdt.compiler.tool</artifactId>
|
|
<version>1.2.300</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jdt</groupId>
|
|
<artifactId>org.eclipse.jdt.core</artifactId>
|
|
<version>${jdtVersion}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jdt</groupId>
|
|
<artifactId>org.eclipse.jdt.compiler.apt</artifactId>
|
|
<version>${jdtAptVersion}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.eclipse.tycho</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>${tycho.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.googlecode.maven-download-plugin</groupId>
|
|
<artifactId>download-maven-plugin</artifactId>
|
|
<version>${download.maven.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.eclipse.tycho</groupId>
|
|
<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>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.eclipse.tycho</groupId>
|
|
<artifactId>tycho-p2-publisher-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>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>${maven.dependency.version}</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<!-- enable the Tycho build extension -->
|
|
<groupId>org.eclipse.tycho</groupId>
|
|
<artifactId>tycho-maven-plugin</artifactId>
|
|
<version>${tycho.version}</version>
|
|
<extensions>true</extensions>
|
|
</plugin>
|
|
|
|
<!-- enable source bundle generation -->
|
|
<plugin>
|
|
<groupId>org.eclipse.tycho</groupId>
|
|
<artifactId>tycho-source-plugin</artifactId>
|
|
<version>${tycho.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>plugin-source</id>
|
|
<goals>
|
|
<goal>plugin-source</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>buildIdempiere</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<repositories>
|
|
<repository>
|
|
<id>Central</id>
|
|
<url>http://central.maven.org/maven2</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>Redhat-GA</id>
|
|
<url>https://maven.repository.redhat.com/ga</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>OpenNMS</id>
|
|
<url>http://repo.opennms.org/maven2</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>jr-ce-releases</id>
|
|
<url>https://jaspersoft.jfrog.io/jaspersoft/jr-ce-releases</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>jp-third-party-ce</id>
|
|
<url>https://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>NetBeans</id>
|
|
<url>http://bits.netbeans.org/maven2</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>Clojars</id>
|
|
<url>http://clojars.org/repo</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>atlassian-3rdparty</id>
|
|
<url>https://maven.atlassian.com/3rdparty</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>zkoss</id>
|
|
<url>http://mavensync.zkoss.org/maven2</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>jenkins</id>
|
|
<url>http://repo.jenkins-ci.org/releases</url>
|
|
</repository>
|
|
</repositories>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.eclipse.tycho</groupId>
|
|
<artifactId>target-platform-configuration</artifactId>
|
|
<version>${tycho.version}</version>
|
|
<configuration>
|
|
<targetDefinitionIncludeSource>honor</targetDefinitionIncludeSource>
|
|
<!-- work-around for split package message error "Missing Constraint:
|
|
Bundle-RequiredExecutionEnvironment" track:https://bugs.eclipse.org/bugs/show_bug.cgi?id=403196
|
|
discuss:https://dev.eclipse.org/mhonarc/lists/tycho-user/msg03941.html -->
|
|
<dependency-resolution>
|
|
<extraRequirements>
|
|
<requirement>
|
|
<type>eclipse-plugin</type>
|
|
<id>org.eclipse.core.runtime</id>
|
|
<versionRange>0.0.0</versionRange>
|
|
</requirement>
|
|
<requirement>
|
|
<type>eclipse-plugin</type>
|
|
<id>org.eclipse.equinox.common</id>
|
|
<versionRange>0.0.0</versionRange>
|
|
</requirement>
|
|
</extraRequirements>
|
|
</dependency-resolution>
|
|
<target>
|
|
<artifact>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>${idempiere.target}</artifactId>
|
|
<version>${project.version}</version>
|
|
</artifact>
|
|
</target>
|
|
|
|
<!-- configure the p2 target environments for multi-platform build -->
|
|
<environments>
|
|
<environment>
|
|
<os>linux</os>
|
|
<ws>gtk</ws>
|
|
<arch>x86_64</arch>
|
|
</environment>
|
|
<environment>
|
|
<os>win32</os>
|
|
<ws>win32</ws>
|
|
<arch>x86_64</arch>
|
|
</environment>
|
|
</environments>
|
|
<executionEnvironmentDefault>JavaSE-10</executionEnvironmentDefault>
|
|
<executionEnvironment>JavaSE-10</executionEnvironment>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>buildP2FromMaven</id>
|
|
<repositories>
|
|
<repository>
|
|
<id>${idempiere-equinox-repository-id}</id>
|
|
<url>${idempiere-equinox-url}</url>
|
|
<layout>p2</layout>
|
|
</repository>
|
|
<repository>
|
|
<id>${idempiere-orbit-repository-id}</id>
|
|
<url>${idempiere-orbit-url}</url>
|
|
<layout>p2</layout>
|
|
</repository>
|
|
</repositories>
|
|
</profile>
|
|
|
|
</profiles>
|
|
</project>
|