Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-03-09 04:38:55 -0500
committerUwe Stieber2012-03-09 04:38:55 -0500
commit6b48a912136e51eeb93170f1b70f730dd90e1e4a (patch)
treec01e86985fd83fe329df3334be44abc324efb0d2 /pom.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 'pom.xml')
-rw-r--r--pom.xml331
1 files changed, 64 insertions, 267 deletions
diff --git a/pom.xml b/pom.xml
index ebb571178..625ab4b5f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,283 +4,80 @@
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>
+ <parent>
+ <groupId>org.eclipse.tcf</groupId>
+ <artifactId>org.eclipse.tcf.maven-build</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>admin/pom-build.xml</relativePath>
+ </parent>
<groupId>org.eclipse.tcf</groupId>
<artifactId>tcf-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
- <name>TCF Parent</name>
-
- <properties>
- <tycho-version>0.14.0</tycho-version>
- <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>
- <findbugs-maven-version>2.4.1-SNAPSHOT</findbugs-maven-version>
- </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>
+ <name>TCF and Target Explorer, Maven Master</name>
<modules>
- <module>plugins/org.eclipse.tcf</module>
- <module>plugins/org.eclipse.tcf.core</module>
- <module>plugins/org.eclipse.tcf.debug</module>
- <module>plugins/org.eclipse.tcf.debug.ui</module>
- <module>plugins/org.eclipse.tcf.cdt.ui</module>
- <module>plugins/org.eclipse.tcf.rse</module>
+ <module>plugins/org.eclipse.tcf</module>
+ <module>plugins/org.eclipse.tcf.core</module>
+ <module>plugins/org.eclipse.tcf.debug</module>
+ <module>plugins/org.eclipse.tcf.debug.ui</module>
+ <module>plugins/org.eclipse.tcf.cdt.ui</module>
+ <module>plugins/org.eclipse.tcf.rse</module>
- <module>features/org.eclipse.tcf.feature</module>
- <module>features/org.eclipse.tcf.sdk.feature</module>
- <module>features/org.eclipse.tcf.cdt.feature</module>
- <module>features/org.eclipse.tcf.cdt.sdk.feature</module>
- <module>features/org.eclipse.tcf.rse.feature</module>
- <module>features/org.eclipse.tcf.rse.sdk.feature</module>
+ <module>features/org.eclipse.tcf.feature</module>
+ <module>features/org.eclipse.tcf.sdk.feature</module>
+ <module>features/org.eclipse.tcf.cdt.feature</module>
+ <module>features/org.eclipse.tcf.cdt.sdk.feature</module>
+ <module>features/org.eclipse.tcf.rse.feature</module>
+ <module>features/org.eclipse.tcf.rse.sdk.feature</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.runtime</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.runtime.concurrent</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.runtime.model</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.runtime.services</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.runtime.statushandler</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.core</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.core.cdt</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.launch.core</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.launch.ui</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.ui</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.ui.controls</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.ui.forms</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.ui.swt</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.ui.terminals</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.process</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.serial</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.ssh</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.telnet</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.ui.views</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.ui.views.workingsets</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.core</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.core.model</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.core.scripting</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.locator</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.log.core</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.services.contexts</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.terminals.core</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.terminals.ui</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.ui</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.console</module>
- <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.views</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.runtime</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.runtime.concurrent</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.runtime.model</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.runtime.services</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.runtime.statushandler</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.core</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.core.cdt</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.launch.core</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.launch.ui</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.ui</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.ui.controls</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.ui.forms</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.ui.swt</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.ui.terminals</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.process</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.serial</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.ssh</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.telnet</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.ui.views</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.ui.views.workingsets</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.core</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.core.model</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.core.scripting</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.locator</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.log.core</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.services.contexts</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.terminals.core</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.terminals.ui</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.ui</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.console</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.views</module>
- <module>target_explorer/features/org.eclipse.tcf.te.feature</module>
- <module>target_explorer/features/org.eclipse.tcf.te.sdk.feature</module>
- <module>target_explorer/features/org.eclipse.tcf.te.cdt.feature</module>
- <module>target_explorer/features/org.eclipse.tcf.te.cdt.sdk.feature</module>
- <module>target_explorer/features/org.eclipse.tcf.te.tcf.feature</module>
- <module>target_explorer/features/org.eclipse.tcf.te.tcf.sdk.feature</module>
+ <module>target_explorer/features/org.eclipse.tcf.te.feature</module>
+ <module>target_explorer/features/org.eclipse.tcf.te.sdk.feature</module>
+ <module>target_explorer/features/org.eclipse.tcf.te.cdt.feature</module>
+ <module>target_explorer/features/org.eclipse.tcf.te.cdt.sdk.feature</module>
+ <module>target_explorer/features/org.eclipse.tcf.te.tcf.feature</module>
+ <module>target_explorer/features/org.eclipse.tcf.te.tcf.sdk.feature</module>
- <module>features/org.eclipse.tcf.repo</module>
+ <module>features/org.eclipse.tcf.repo</module>
</modules>
-
- <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>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>target-platform-configuration</artifactId>
- <version>${tycho-version}</version>
- <configuration>
- <resolver>p2</resolver>
- <pomDependencies>consider</pomDependencies>
- <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>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-source-plugin</artifactId>
- <version>${tycho-version}</version>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- </plugins>
- <pluginManagement>
- <plugins>
- <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>2.4.1</version>
- <configuration>
- <encoding>ISO-8859-1</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.3</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- <version>${findbugs-maven-version}</version>
- <configuration>
- <effort>Max</effort>
- <threshold>Low</threshold>
- <xmlOutput>true</xmlOutput>
- <failOnError>false</failOnError>
- <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
-
- <profiles>
- <profile>
- <id>findbugs</id>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
</project>

Back to the top