core-jgi/org.idempiere.parent/pom.xml

563 lines
18 KiB
XML
Raw Normal View History

<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.1.0</tycho.version>
<tycho.extras.version>${tycho.version}</tycho.extras.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jetty.version>9.4.9.v20180320</jetty.version>
<jp.version>6.3.1</jp.version>
<zk.version>8.5.0</zk.version>
<zk.javassist.src.version>3.18.2-GA</zk.javassist.src.version>
<maven.dependency.version>3.0.2</maven.dependency.version>
<download.maven.version>1.4.0</download.maven.version>
<lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
<asm.version>6.0.0.v20180116-1719</asm.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>
<!-- 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.7</idempiere-equinox-url>
<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>
</properties>
<profiles>
<profile>
<id>local</id>
<properties>
<idempiere-repository-url>http://localhost</idempiere-repository-url>
<idempiere-equinox-url>${idempiere-repository-url}/eclipse-4.7.1</idempiere-equinox-url>
<url.file.srv>${idempiere-repository-url}/binary.file</url.file.srv>
<idempiere.target>org.idempiere.p2.targetplatform.offline</idempiere.target>
</properties>
</profile>
<profile>
<id>online</id>
<properties>
<idempiere-equinox-url>http://download.eclipse.org/eclipse/updates/4.7</idempiere-equinox-url>
<url.file.srv>http://downloads.sourceforge.net/project/idempiere/binary.file</url.file.srv>
<idempiere.target>org.idempiere.p2.targetplatform</idempiere.target>
</properties>
</profile>
</profiles>
<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>
<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</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho.version}</version>
</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>
2018-02-11 00:30:07 +07:00
<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>
2018-02-11 00:30:07 +07:00
<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>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-eclipserun-plugin</artifactId>
<version>${tycho.extras.version}</version>
<configuration>
<repositories>
<repository>
<id>juno</id>
<layout>p2</layout>
<url>${idempiere-equinox-url}</url>
</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>
</dependencies>
</configuration>
</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.1.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>
<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>
<filters>
<!-- filter out eclipse bundle from eclipse repository. it's version
9.4.8.v20171121 https://idempiere.atlassian.net/browse/IDEMPIERE-3531?focusedCommentId=42202&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-42202 -->
<filter>
<type>eclipse-plugin</type>
<id>org.eclipse.jetty.http</id>
<restrictTo>
<version>${jetty.version}</version>
</restrictTo>
</filter>
<filter>
<type>eclipse-plugin</type>
<id>org.eclipse.jetty.io</id>
<restrictTo>
<version>${jetty.version}</version>
</restrictTo>
</filter>
<filter>
<type>eclipse-plugin</type>
<id>org.eclipse.jetty.security</id>
<restrictTo>
<version>${jetty.version}</version>
</restrictTo>
</filter>
<filter>
<type>eclipse-plugin</type>
<id>org.eclipse.jetty.server</id>
<restrictTo>
<version>${jetty.version}</version>
</restrictTo>
</filter>
<filter>
<type>eclipse-plugin</type>
<id>org.eclipse.jetty.servlet</id>
<restrictTo>
<version>${jetty.version}</version>
</restrictTo>
</filter>
<filter>
<type>eclipse-plugin</type>
<id>org.eclipse.jetty.util</id>
<restrictTo>
<version>${jetty.version}</version>
</restrictTo>
</filter>
<filter>
<type>eclipse-plugin</type>
<id>org.objectweb.asm.tree</id>
<restrictTo>
<version>${asm.version}</version>
</restrictTo>
</filter>
<filter>
<type>eclipse-plugin</type>
<id>org.objectweb.asm</id>
<restrictTo>
<version>${asm.version}</version>
</restrictTo>
</filter>
<filter>
<type>eclipse-plugin</type>
<id>org.objectweb.asm.commons</id>
<restrictTo>
<version>${asm.version}</version>
</restrictTo>
</filter>
<filter>
<type>eclipse-plugin</type>
<id>org.objectweb.asm.commons</id>
<restrictTo>
<version>${asm.version}</version>
</restrictTo>
</filter>
</filters>
</configuration>
</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>
</project>