| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| #=============================================================================# |
| # Copyright (c) 2018, 2021 Stephan Wahlbrink and others. |
| # |
| # This program and the accompanying materials are made available under the |
| # terms of the Eclipse Public License 2.0 which is available at |
| # https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 |
| # which is available at https://www.apache.org/licenses/LICENSE-2.0. |
| # |
| # SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 |
| # |
| # Contributors: |
| # Stephan Wahlbrink <sw@wahlbrink.eu> - initial API and implementation |
| #=============================================================================# |
| --> |
| |
| <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.eclipse.statet-releng</groupId> |
| <artifactId>parent</artifactId> |
| <version>4.5.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <name>Eclipse StatET - Maven Parent</name> |
| |
| <prerequisites> |
| <maven>3.6.3</maven> |
| </prerequisites> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| |
| <tycho.version>2.3.0</tycho.version> |
| <tycho-extras.version>${tycho.version}</tycho-extras.version> |
| <maven.compiler.showWarnings>true</maven.compiler.showWarnings> |
| <cbi-plugins.version>1.3.1</cbi-plugins.version> |
| |
| <java.platform.version>11</java.platform.version> |
| <maven.compiler.release>${java.platform.version}</maven.compiler.release> |
| |
| <!-- if working tree is dirty (error|warning|ignore) --> |
| <dirtyWorkingTree>error</dirtyWorkingTree> |
| |
| <qualifier.format>yyyyMMddHHmm</qualifier.format> |
| <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format> |
| |
| <statet.version>4.5.0</statet.version> |
| <statet.target.id>E202112</statet.target.id> |
| <statet.build.timestamp>${maven.build.timestamp}</statet.build.timestamp> |
| <statet.build.id>${statet.build.timestamp}</statet.build.id> |
| |
| <statet.test.excludes></statet.test.excludes> |
| <trimStackTrace>false</trimStackTrace> |
| |
| </properties> |
| |
| <pluginRepositories> |
| <pluginRepository> |
| <id>cbi-releases</id> |
| <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url> |
| </pluginRepository> |
| </pluginRepositories> |
| |
| <repositories> |
| <repository> |
| <id>eclipse.license</id> |
| <url>https://download.eclipse.org/cbi/updates/license/</url> |
| <layout>p2</layout> |
| </repository> |
| </repositories> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.statet.jcommons</groupId> |
| <artifactId>org.eclipse.statet.jcommons.util</artifactId> |
| <version>4.5.0-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.statet.jcommons</groupId> |
| <artifactId>org.eclipse.statet.jcommons.text.core</artifactId> |
| <version>4.5.0-SNAPSHOT</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.ibm.icu</groupId> |
| <artifactId>icu4j</artifactId> |
| <version>67.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.statet.rj</groupId> |
| <artifactId>org.eclipse.statet.rj.data</artifactId> |
| <version>4.5.0-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.statet.rj</groupId> |
| <artifactId>org.eclipse.statet.rj.server</artifactId> |
| <version>4.5.0-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.statet.rj</groupId> |
| <artifactId>org.eclipse.statet.rj.server.remotetools</artifactId> |
| <version>4.5.0-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.statet.rj</groupId> |
| <artifactId>org.eclipse.statet.rj.client</artifactId> |
| <version>4.5.0-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.statet.rj</groupId> |
| <artifactId>org.eclipse.statet.rj.services.core</artifactId> |
| <version>4.5.0-SNAPSHOT</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.statet.rj</groupId> |
| <artifactId>org.eclipse.statet.rj.servi</artifactId> |
| <version>4.5.0-SNAPSHOT</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <plugins> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-maven-plugin</artifactId> |
| <extensions>true</extensions> |
| </plugin> |
| |
| <!-- configure the p2 repo/target --> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>target-platform-configuration</artifactId> |
| <configuration> |
| <resolver>p2</resolver> |
| <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> |
| <environment> |
| <os>macosx</os> |
| <ws>cocoa</ws> |
| <arch>x86_64</arch> |
| </environment> |
| </environments> |
| <executionEnvironmentDefault>JavaSE-${java.platform.version}</executionEnvironmentDefault> |
| </configuration> |
| </plugin> |
| |
| <!-- configure build qualifier generation --> |
| <!-- enable source reference generation --> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-packaging-plugin</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-sourceref-jgit</artifactId> |
| <version>${tycho-extras.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-buildtimestamp-jgit</artifactId> |
| <version>${tycho-extras.version}</version> |
| </dependency> |
| </dependencies> |
| <configuration> |
| <format>${qualifier.format}</format> |
| <timestampProvider>jgit</timestampProvider> |
| <jgit.ignore> |
| .polyglot.* |
| </jgit.ignore> |
| <jgit.dirtyWorkingTree>${dirtyWorkingTree}</jgit.dirtyWorkingTree> |
| <sourceReferences> |
| <generate>true</generate> |
| </sourceReferences> |
| </configuration> |
| </plugin> |
| |
| <!-- enable source plugin and feature generation --> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>plugin-source</id> |
| <goals> |
| <goal>plugin-source</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>feature-source</id> |
| <goals> |
| <goal>feature-source</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <labelSuffix xml:space="preserve"> • Sources</labelSuffix> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-p2-metadata</id> |
| <phase>package</phase> |
| <goals> |
| <goal>p2-metadata</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>properties-maven-plugin</artifactId> |
| <inherited>false</inherited> |
| </plugin> |
| </plugins> |
| |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>3.1.2</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>3.2.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.8.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>3.2.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>3.3.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>properties-maven-plugin</artifactId> |
| <version>1.0.0</version> |
| <executions> |
| <execution> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>write-project-properties</goal> |
| </goals> |
| <configuration> |
| <outputFile>${project.build.directory}/mvn-build.properties</outputFile> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.cbi.maven.plugins</groupId> |
| <artifactId>eclipse-jarsigner-plugin</artifactId> |
| <version>${cbi-plugins.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-maven-plugin</artifactId> |
| <version>${tycho.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>target-platform-configuration</artifactId> |
| <version>${tycho.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-compiler-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <configuration> |
| <compilerArgs> |
| <compilerArg>-annotationpath</compilerArg> |
| <compilerArg>${session.executionRootDirectory}/eea/</compilerArg> |
| </compilerArgs> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-packaging-plugin</artifactId> |
| <version>${tycho.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-custom-bundle-plugin</artifactId> |
| <version>${tycho-extras.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-source-plugin</artifactId> |
| <version>${tycho.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-source-feature-plugin</artifactId> |
| <version>${tycho-extras.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-plugin</artifactId> |
| <version>${tycho.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-publisher-plugin</artifactId> |
| <version>${tycho.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-repository-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <executions> |
| <execution> |
| <id>verify</id> |
| <goals> |
| <goal>verify-repository</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-director-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-surefire-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <configuration> |
| <!-- providerHint></providerHint --> |
| <excludes> |
| <exclude>**/*$*</exclude> |
| <exclude>${statet.test.excludes}</exclude> |
| </excludes> |
| <!-- https://bugs.eclipse.org/bugs/show_bug.cgi?id=567913 --> |
| <dependencies> |
| <dependency> |
| <artifactId>org.junit</artifactId> |
| <type>eclipse-plugin</type> |
| </dependency> |
| </dependencies> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>eclipse-sign</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.cbi.maven.plugins</groupId> |
| <artifactId>eclipse-jarsigner-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>sign</id> |
| <phase>package</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>p2-metadata</id> |
| <phase>package</phase> |
| <goals> |
| <goal>p2-metadata</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <defaultP2Metadata>false</defaultP2Metadata> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| </profiles> |
| </project> |