| <?xml version="1.0" encoding="UTF-8"?> |
| <project |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" |
| xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <prerequisites> |
| <maven>3.0</maven> |
| </prerequisites> |
| |
| <groupId>org.eclipse.tcf</groupId> |
| <artifactId>org.eclipse.tcf.maven-config</artifactId> |
| <version>1.6.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| <name>TCF and Target Explorer, Maven Configuration Master</name> |
| |
| <licenses> |
| <license> |
| <name>Eclipse Public License</name> |
| <url>http://www.eclipse.org/legal/epl-v10.html</url> |
| <distribution>repo</distribution> |
| <comments> |
| All rights reserved. |
| |
| This program and the accompanying materials are made |
| available under the terms of the Eclipse Public License v1.0 |
| which accompanies this distribution, and is available at |
| http://www.eclipse.org/legal/epl-v10.htm |
| </comments> |
| </license> |
| </licenses> |
| |
| <organization> |
| <name>Eclipse Foundation</name> |
| <url>http://www.eclipse.org/</url> |
| </organization> |
| |
| <properties> |
| <!-- Define version id's to be used in the plugins section --> |
| <!-- We use tycho-0.23 for https://bugs.eclipse.org/bugs/show_bug.cgi?id=459873 --> |
| <!-- We cannot use tycho-0.25 or later since it doesn't support Java 7 for building --> |
| <!-- Using Java 8 for Tycho with a Java 7 target should be possible but takes some config --> |
| <!-- See https://bugs.eclipse.org/bugs/show_bug.cgi?id=518104 for reference --> |
| <tycho-version>0.23.1</tycho-version> |
| <tycho-extras-version>${tycho-version}</tycho-extras-version> |
| <maven-resources-version>2.7</maven-resources-version> |
| <maven-antrun-version>1.8</maven-antrun-version> |
| <gmaven-version>1.5</gmaven-version> |
| <findbugs-version>3.0.4</findbugs-version> |
| <!-- Check available versions at https://repository.sonatype.org/content/repositories/public/org/jacoco/jacoco-maven-plugin --> |
| <jacoco-version>0.7.9</jacoco-version> |
| <!-- Note: jarsigner-1.1.4 fails with Java 7 so stick to 1.1.2 --> |
| <eclipse-jarsigner-version>1.1.2</eclipse-jarsigner-version> |
| |
| <!-- Common global properties --> |
| <adminDir>${env.WORKSPACE}/admin</adminDir> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| |
| <!-- JaCoCo global properties --> |
| <jacoco.skip>false</jacoco.skip> |
| <jacoco.output>file</jacoco.output> |
| <jacoco.dumpOnExit>true</jacoco.dumpOnExit> |
| |
| <tcf-stream>development</tcf-stream> |
| <tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.git</tycho.scmUrl> |
| |
| <!-- P2 repository URL's --> |
| <!-- Default: Eclipse 3.8.x (Juno), CDT 8.3.0 (Kepler SR2), TM 4.0 + Remote 2.0 (Mars) --> |
| <platform-site>http://download.eclipse.org/eclipse/updates/3.8</platform-site> |
| <license-site>http://download.eclipse.org/cbi/updates/license</license-site> |
| <cdt-site>http://download.eclipse.org/tools/cdt/releases/kepler</cdt-site> |
| <tm-site>http://download.eclipse.org/tm/updates/4.0</tm-site> |
| <terminal-site>http://download.eclipse.org/tm/terminal/updates/4.0</terminal-site> |
| <remote-site>http://download.eclipse.org/tools/ptp/builds/remote/2.0.0</remote-site> |
| <!-- TCF needs gson-2.2.4 which was added to Orbit in Luna SR2 --> |
| <orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/R20150124073747/repository/</orbit-site> |
| <!-- SWTBot-2.4 and later require an e4-based Eclipse eg Juno or later: --> |
| <!-- See http://wiki.eclipse.org/SWTBot/Releases --> |
| <!-- Also, newer SWTBot needs JUnit 4.12 which is only in Orbit Mars and newer --> |
| <swtbot-site>http://download.eclipse.org/technology/swtbot/releases/2.2.1/</swtbot-site> |
| </properties> |
| |
| <repositories> |
| <repository> |
| <id>license-feature</id> |
| <url>${license-site}</url> |
| <layout>p2</layout> |
| </repository> |
| <repository> |
| <id>platform</id> |
| <url>${platform-site}</url> |
| <layout>p2</layout> |
| </repository> |
| <repository> |
| <id>orbit</id> |
| <url>${orbit-site}</url> |
| <layout>p2</layout> |
| </repository> |
| <repository> |
| <id>cdt</id> |
| <url>${cdt-site}</url> |
| <layout>p2</layout> |
| </repository> |
| <repository> |
| <id>terminal</id> |
| <url>${terminal-site}</url> |
| <layout>p2</layout> |
| </repository> |
| <repository> |
| <id>tm</id> |
| <url>${tm-site}</url> |
| <layout>p2</layout> |
| </repository> |
| <repository> |
| <id>swtbot</id> |
| <url>${swtbot-site}</url> |
| <layout>p2</layout> |
| </repository> |
| <repository> |
| <id>remote</id> |
| <url>${remote-site}</url> |
| <layout>p2</layout> |
| </repository> |
| </repositories> |
| |
| <pluginRepositories> |
| <pluginRepository> |
| <id>sonatype</id> |
| <url>https://oss.sonatype.org/content/repositories/public</url> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| </pluginRepository> |
| <pluginRepository> |
| <id>cbi</id> |
| <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url> |
| </pluginRepository> |
| <pluginRepository> |
| <id>cbi-snapshots</id> |
| <url>https://repo.eclipse.org/content/repositories/cbi-snapshots/</url> |
| </pluginRepository> |
| </pluginRepositories> |
| |
| <profiles> |
| <profile> |
| <!-- Eclipse 3.8 (Juno), CDT 8.3.0 (Kepler SR2) --> |
| <id>juno</id> |
| |
| <properties> |
| <!-- Same as default --> |
| </properties> |
| </profile> |
| |
| <profile> |
| <!-- Eclipse 4.3.2 (Kepler SR2), CDT 8.3.0 (Kepler SR2) --> |
| <id>kepler</id> |
| |
| <properties> |
| <platform-site>http://download.eclipse.org/eclipse/updates/4.3</platform-site> |
| </properties> |
| </profile> |
| |
| <profile> |
| <!-- Eclipse 4.4.2 (Luna SR2), CDT 8.6.0 (Luna SR2) --> |
| <id>luna</id> |
| |
| <properties> |
| <platform-site>http://download.eclipse.org/eclipse/updates/4.4</platform-site> |
| <cdt-site>http://download.eclipse.org/tools/cdt/releases/8.6</cdt-site> |
| </properties> |
| </profile> |
| |
| <profile> |
| <!-- Eclipse 4.5.2 (Mars.2), CDT 8.8.1 (Mars.2) --> |
| <id>mars</id> |
| |
| <properties> |
| <platform-site>http://download.eclipse.org/eclipse/updates/4.5</platform-site> |
| <orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/R20160221192158/repository</orbit-site> |
| <cdt-site>http://download.eclipse.org/tools/cdt/releases/8.8.1</cdt-site> |
| <swtbot-site>http://download.eclipse.org/technology/swtbot/releases/2.5.0</swtbot-site> |
| </properties> |
| </profile> |
| |
| <profile> |
| <!-- Eclipse 4.6.3 (Neon.3), CDT 9.2.2 (Neon.3) --> |
| <id>neon</id> |
| |
| <properties> |
| <platform-site>http://download.eclipse.org/eclipse/updates/4.6</platform-site> |
| <orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/R20170307180635/repository</orbit-site> |
| <cdt-site>http://download.eclipse.org/tools/cdt/releases/9.2</cdt-site> |
| <remote-site>http://download.eclipse.org/tools/ptp/builds/remote/2.1.1</remote-site> |
| <terminal-site>http://download.eclipse.org/tm/terminal/updates/4.2</terminal-site> |
| <tm-site>http://download.eclipse.org/tm/updates/4.2</tm-site> |
| <swtbot-site>http://download.eclipse.org/technology/swtbot/releases/2.5.0</swtbot-site> |
| </properties> |
| |
| <!-- Workaround for CDT release problem: |
| Missing requirement: org.eclipse.cdt.debug.core 8.1.0.201612061315 requires |
| 'bundle org.eclipse.launchbar.core 2.0.0' but it could not be found |
| --> |
| <repositories> |
| <repository> |
| <id>cdt-launchbar</id> |
| <url>http://download.eclipse.org/tools/cdt/launchbar/neon.2</url> |
| <layout>p2</layout> |
| </repository> |
| </repositories> |
| </profile> |
| |
| <profile> |
| <!-- Eclipse 4.7.1 (Oxygen), CDT 9.3 --> |
| <id>oxygen</id> |
| |
| <properties> |
| <platform-site>http://download.eclipse.org/eclipse/updates/4.7</platform-site> |
| <orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/R20170516192513/repository</orbit-site> |
| <cdt-site>http://download.eclipse.org/tools/cdt/releases/9.3</cdt-site> |
| <remote-site>http://download.eclipse.org/tools/ptp/builds/remote/3.0.0</remote-site> |
| <terminal-site>http://download.eclipse.org/tm/terminal/updates/4.3</terminal-site> |
| <tm-site>http://download.eclipse.org/tm/updates/4.3milestones</tm-site> |
| <swtbot-site>http://download.eclipse.org/technology/swtbot/releases/2.6.0/</swtbot-site> |
| </properties> |
| </profile> |
| |
| <profile> |
| <!-- Eclipse 4.8 (Photon), CDT 9.4 --> |
| <id>photon</id> |
| |
| <properties> |
| <platform-site>http://download.eclipse.org/eclipse/updates/4.8</platform-site> |
| <orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/R20180606145124/repository</orbit-site> |
| <cdt-site>http://download.eclipse.org/tools/cdt/releases/9.4</cdt-site> |
| <remote-site>http://download.eclipse.org/tools/ptp/builds/remote/3.0.0</remote-site> |
| <terminal-site>http://download.eclipse.org/tm/terminal/updates/4.4milestones</terminal-site> |
| <tm-site>http://download.eclipse.org/tm/updates/4.3milestones</tm-site> |
| <swtbot-site>http://download.eclipse.org/technology/swtbot/releases/2.7.0</swtbot-site> |
| </properties> |
| </profile> |
| |
| <profile> |
| <!-- Eclipse 2018-09, CDT 9.5 --> |
| <id>2018-09</id> |
| |
| <properties> |
| <platform-site>http://download.eclipse.org/releases/2018-09</platform-site> |
| <orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/R20180606145124/repository</orbit-site> |
| <cdt-site>http://download.eclipse.org/tools/cdt/releases/9.5</cdt-site> |
| <remote-site>http://download.eclipse.org/tools/ptp/builds/remote/3.0.0</remote-site> |
| <terminal-site>http://download.eclipse.org/tm/terminal/updates/4.4milestones</terminal-site> |
| <tm-site>http://download.eclipse.org/tm/updates/4.5.0-SNAPSHOT/repository</tm-site> |
| <swtbot-site>http://download.eclipse.org/technology/swtbot/releases/2.7.0</swtbot-site> |
| </properties> |
| |
| <repositories> |
| <!-- Terminal is merged with TM --> |
| <repository> |
| <id>terminal</id> |
| <snapshots><enabled>false</enabled></snapshots> |
| <releases><enabled>false</enabled></releases> |
| <url>${terminal-site}</url> |
| <layout>p2</layout> |
| </repository> |
| </repositories> |
| </profile> |
| </profiles> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-maven-plugin</artifactId> |
| <version>${tycho-version}</version> |
| <extensions>true</extensions> |
| </plugin> |
| </plugins> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <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> |
| <environments> |
| <environment> |
| <os>linux</os> |
| <ws>gtk</ws> |
| <arch>x86</arch> |
| </environment> |
| <environment> |
| <os>linux</os> |
| <ws>gtk</ws> |
| <arch>x86_64</arch> |
| </environment> |
| <environment> |
| <os>win32</os> |
| <ws>win32</ws> |
| <arch>x86</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> |
| <resolver>p2</resolver> |
| <ignoreTychoRepositories>true</ignoreTychoRepositories> |
| <includePackedArtifacts>true</includePackedArtifacts> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-compiler-plugin</artifactId> |
| <version>${tycho-version}</version> |
| <configuration> |
| <encoding>UTF-8</encoding> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-source-plugin</artifactId> |
| <version>${tycho-version}</version> |
| <configuration> |
| <encoding>UTF-8</encoding> |
| </configuration> |
| <executions> |
| <execution> |
| <id>plugin-source</id> |
| <goals> |
| <goal>plugin-source</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-packaging-plugin</artifactId> |
| <version>${tycho-version}</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-buildtimestamp-jgit</artifactId> |
| <version>${tycho-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-sourceref-jgit</artifactId> |
| <version>${tycho-extras-version}</version> |
| </dependency> |
| </dependencies> |
| <configuration> |
| <strictBinIncludes>false</strictBinIncludes> |
| <timestampProvider>jgit</timestampProvider> |
| <jgit.ignore>pom.xml</jgit.ignore> |
| <jgit.dirtyWorkingTree>ignore</jgit.dirtyWorkingTree> |
| <sourceReferences> |
| <generate>true</generate> |
| </sourceReferences> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-repository-plugin</artifactId> |
| <version>${tycho-version}</version> |
| <configuration> |
| <finalName>${project.artifactId}</finalName> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>${maven-resources-version}</version> |
| <configuration> |
| <encoding>UTF-8</encoding> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>${maven-antrun-version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.gmaven</groupId> |
| <artifactId>gmaven-plugin</artifactId> |
| <version>${gmaven-version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>${findbugs-version}</version> |
| <configuration> |
| <encoding>UTF-8</encoding> |
| <effort>Max</effort> |
| <threshold>Low</threshold> |
| <xmlOutput>true</xmlOutput> |
| <failOnError>false</failOnError> |
| <excludeFilterFile>${adminDir}/findbugs-exclude.xml</excludeFilterFile> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>${jacoco-version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <version>3.8</version> |
| <configuration> |
| <sourceEncoding>utf-8</sourceEncoding> |
| <minimumTokens>100</minimumTokens> |
| <targetJdk>1.7</targetJdk> |
| <format>xml</format> |
| <failOnViolation>false</failOnViolation> |
| <excludes> |
| <exclude>**/UbcCheck.java</exclude> |
| </excludes> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>cpd-check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!-- Pack200 and Signing --> |
| <plugin> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-pack200a-plugin</artifactId> |
| <version>${tycho-version}</version> |
| <executions> |
| <execution> |
| <id>pack200-normalize</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>normalize</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.cbi.maven.plugins</groupId> |
| <artifactId>eclipse-jarsigner-plugin</artifactId> |
| <version>${eclipse-jarsigner-version}</version> |
| <executions> |
| <execution> |
| <id>sign</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-pack200b-plugin</artifactId> |
| <version>${tycho-version}</version> |
| <executions> |
| <execution> |
| <id>pack200-pack</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>pack</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <!-- Keep the tycho-p2-plugin after the tycho-pack200b-plugin --> |
| <!-- Tycho p2 metadata generation shall happen _after_ the JAR has been packed. --> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-plugin</artifactId> |
| <version>${tycho-version}</version> |
| <!-- Signing appears to mess with the baseline repository logic. |
| Disable the baseline repository until we've figured out what is going on. --> |
| <!-- |
| <configuration> |
| <baselineRepositories> |
| <repository> |
| <url>http://download.eclipse.org/tools/tcf/builds/${tcf-stream}/nightly</url> |
| </repository> |
| </baselineRepositories> |
| </configuration> |
| --> |
| <executions> |
| <execution> |
| <id>p2-metadata</id> |
| <phase>package</phase> |
| <goals> |
| <goal>p2-metadata</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <defaultP2Metadata>false</defaultP2Metadata> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| </project> |