Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-03-09 09:38:55 +0000
committerUwe Stieber2012-03-09 09:38:55 +0000
commit6b48a912136e51eeb93170f1b70f730dd90e1e4a (patch)
treec01e86985fd83fe329df3334be44abc324efb0d2 /admin/pom-config.xml
parentc1aee45c863a6a9f1b49d502286a43b6738be44f (diff)
downloadorg.eclipse.tcf-6b48a912136e51eeb93170f1b70f730dd90e1e4a.tar.gz
org.eclipse.tcf-6b48a912136e51eeb93170f1b70f730dd90e1e4a.tar.xz
org.eclipse.tcf-6b48a912136e51eeb93170f1b70f730dd90e1e4a.zip
Maven: Rework build files to cleanup structure and increase maintainability
Diffstat (limited to 'admin/pom-config.xml')
-rw-r--r--admin/pom-config.xml220
1 files changed, 220 insertions, 0 deletions
diff --git a/admin/pom-config.xml b/admin/pom-config.xml
new file mode 100644
index 000000000..ac103ee6b
--- /dev/null
+++ b/admin/pom-config.xml
@@ -0,0 +1,220 @@
+<?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.0.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <name>TCF and Target Explorer, Maven Configuration Master</name>
+
+ <properties>
+ <!-- Define version id's to be used in the plugins section -->
+ <tycho-version>0.14.0</tycho-version>
+ <maven-resources-version>2.4.1</maven-resources-version>
+ <maven-antrun-version>1.3</maven-antrun-version>
+ <findbugs-version>2.4.1-SNAPSHOT</findbugs-version>
+ <jacoco-version>0.5.6.201201232323</jacoco-version>
+
+ <!-- Common global properties -->
+ <adminDir>${env.WORKSPACE}/admin</adminDir>
+
+ <!-- P2 repository URL's -->
+ <platform-version>3.8milestones</platform-version>
+ <platform-site>http://download.eclipse.org/eclipse/updates/${platform-version}</platform-site>
+ <cdt-version>juno</cdt-version>
+ <cdt-site>http://download.eclipse.org/tools/cdt/builds/${cdt-version}/nightly</cdt-site>
+ <tm-version>3.3</tm-version>
+ <tm-site>http://download.eclipse.org/tm/updates/${tm-version}</tm-site>
+ <rxtx-site>http://rxtx.qbang.org/eclipse</rxtx-site>
+ </properties>
+
+ <licenses>
+ <license>
+ <name>Eclipse Public License v1.0</name>
+ <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>
+
+ <repositories>
+ <repository>
+ <id>platform-${platform-version}</id>
+ <url>${platform-site}</url>
+ <layout>p2</layout>
+ </repository>
+ <repository>
+ <id>cdt</id>
+ <url>${cdt-site}</url>
+ <layout>p2</layout>
+ </repository>
+ <repository>
+ <id>tm</id>
+ <url>${tm-site}</url>
+ <layout>p2</layout>
+ </repository>
+ <repository>
+ <id>rxtx</id>
+ <url>${rxtx-site}</url>
+ <layout>p2</layout>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>sonatype</id>
+ <url>https://repository.sonatype.org/content/repositories/public</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <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</arch>
+ </environment>
+ <environment>
+ <os>macosx</os>
+ <ws>cocoa</ws>
+ <arch>x86_64</arch>
+ </environment>
+ </environments>
+ <resolver>p2</resolver>
+ <ignoreTychoRepositories>true</ignoreTychoRepositories>
+ <pomDependencies>consider</pomDependencies>
+ </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>
+ <configuration>
+ <strictBinIncludes>false</strictBinIncludes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>${maven-resources-version}</version>
+ <configuration>
+ <encoding>ISO-8859-1</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.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>
+ </plugins>
+ </pluginManagement>
+ </build>
+</project>

Back to the top