blob: 0cd43627c162fb4b517d43d8676bd1ff1e807dd4 [file]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2011, Chris Aniszczyk <caniszczyk@gmail.com>
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.html
-->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<prerequisites>
<maven>3.0</maven>
</prerequisites>
<groupId>org.eclipse</groupId>
<artifactId>org.eclipse.emf.eef.parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>EEF Parent</name>
<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>
<properties>
<tycho-version>0.20.0</tycho-version>
<maven-resources-version>2.6</maven-resources-version>
<resource-encoding>UTF-8</resource-encoding>
</properties>
<build>
<sourceDirectory>src</sourceDirectory>
<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>
<includePackedArtifacts>true</includePackedArtifacts>
<target>
<artifact>
<groupId>org.eclipse</groupId>
<artifactId>org.eclipse.emf.eef.parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<classifier>targetPlatforms/eef4e3</classifier>
</artifact>
</target>
</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>
<!-- 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>
<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>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
</environments>
</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>2.3.2</version>
<configuration>
<findbugsXmlOutput>true</findbugsXmlOutput>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.5</version>
<configuration>
<sourceEncoding>utf-8</sourceEncoding>
<minimumTokens>100</minimumTokens>
<targetJdk>1.5</targetJdk>
<format>xml</format>
<failOnViolation>false</failOnViolation>
</configuration>
<executions>
<execution>
<goals>
<goal>cpd-check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-version}</version>
<configuration>
<encoding>${resource-encoding}</encoding>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>../../plugins/org.eclipse.emf.eef.runtime</module>
<module>../../plugins/org.eclipse.emf.eef.runtime.ui</module>
<module>../../plugins/org.eclipse.emf.eef.runtime.ui.swt</module>
<module>../../plugins/org.eclipse.emf.eef.runtime.ui.swt.e3</module>
<module>../../plugins/org.eclipse.emf.eef.runtime.ui.jdt</module>
<module>../../plugins/org.eclipse.emf.eef.runtime.eclipse</module>
<module>../../plugins/org.eclipse.emf.eef.doc</module>
<module>../../plugins/org.eclipse.emf.eef.editor</module>
<module>../../features/org.eclipse.emf.eef.runtime.feature</module>
<module>../../features/org.eclipse.emf.eef.runtime.e3.feature</module>
<module>../../features/org.eclipse.emf.eef.toolkit.jdt</module>
<module>../../features/org.eclipse.emf.eef.edt.feature</module>
<module>../org.eclipse.emf.eef.repository</module>
<module>../../tests/org.eclipse.emf.eef.runtime.tests</module>
<!--module>../../tests/org.eclipse.emf.eef.runtime.tests.integration</module-->
<module>../../tests/org.eclipse.emf.eef.runtime.unit</module>
</modules>
<profiles>
<profile>
<id>std-sites</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<platform-version-name>helios</platform-version-name>
<eclipse-site>http://download.eclipse.org/releases/${platform-version-name}</eclipse-site>
<orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/R20120526062928/repository/</orbit-site>
</properties>
</profile>
<profile>
<id>sign</id>
<activation>
<property>
<name>BUILD_SIGN</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pack200a-plugin</artifactId>
<version>0.18.1</version>
<executions>
<execution>
<id>pack200-normalize</id>
<goals>
<goal>normalize</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.cbi.maven.plugins</groupId>
<artifactId>eclipse-jarsigner-plugin</artifactId>
<version>1.0.4</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>0.18.1</version>
<executions>
<execution>
<id>pack200-pack</id>
<goals>
<goal>pack</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
<pluginRepositories>
<pluginRepository>
<id>cbi</id>
<url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<!-- This profile should be enabled for sonar analysis-->
<id>quality</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<!-- Sonar properties -->
<sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
<!-- Points to the target folder of the global parent project -->
<sonar.jacoco.reportPath>../../releng/org.eclipse.emf.eef.parent/target/jacoco.exec</sonar.jacoco.reportPath>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.5.6.201201232323</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<append>true</append>
<destFile>${sonar.jacoco.reportPath}</destFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>