blob: 0630e0f20539581e250bdff152d728d2816cfa5a [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2011, Obeo
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.emf.ecoretools</groupId>
<artifactId>emf.ecoretools-parent</artifactId>
<version>3.2.1-SNAPSHOT</version>
<packaging>pom</packaging>
<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.23.1</tycho-version>
</properties>
<modules>
<module>../org.eclipse.emf.ecoretools</module>
<module>../org.eclipse.emf.ecoretools.design</module>
<module>../org.eclipse.emf.ecoretools.design.ui</module>
<module>../org.eclipse.emf.ecoretools.design.tests</module>
<module>../org.eclipse.emf.ecoretools.design-feature</module>
<module>../org.eclipse.emf.ecoretools.design.properties</module>
<module>../org.eclipse.emf.ecoretools.doc</module>
<module>../org.eclipse.emf.ecoretools.doc-feature</module>
<module>../org.eclipse.emf.ecoretools.properties</module>
<module>../org.eclipse.emf.ecoretools.registration</module>
<module>../org.eclipse.emf.ecoretools.sdk-feature</module>
<module>../org.eclipse.emf.ecoretools.tabbedproperties</module>
<module>../org.eclipse.emf.ecoretools.explorer.contextual</module>
<module>../org.eclipse.emf.ecoretools.explorer.contextual-feature</module>
<module>../org.eclipse.emf.ecoretools.ui</module>
<module>../org.eclipse.emf.ecoretools.update</module>
<module>../org.eclipse.emf.ecoretools.update-all</module>
</modules>
<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>
<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>
</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.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>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>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>oxygen</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository><id>cbi</id><layout>p2</layout>
<url>http://download.eclipse.org/cbi/updates/license</url>
</repository>
<repository><id>sirius</id><layout>p2</layout>
<url>http://download.eclipse.org/sirius/updates/nightly/4.1.x/neon</url>
</repository>
<repository><id>acceleo for AQL</id><layout>p2</layout>
<url>http://download.eclipse.org/acceleo/updates/nightly/latest</url>
</repository>
<repository><id>amalgam</id><layout>p2</layout>
<url>http://download.eclipse.org/modeling/amalgam/updates/nightly/1.7.x/mars/</url>
</repository>
<repository><id>rest-of-the-world</id><layout>p2</layout>
<url>http://download.eclipse.org/releases/neon</url>
</repository>
</repositories>
</profile>
<profile>
<id>neon</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<repositories>
<repository><id>cbi</id><layout>p2</layout>
<url>http://download.eclipse.org/cbi/updates/license</url>
</repository>
<repository><id>sirius</id><layout>p2</layout>
<url>http://download.eclipse.org/sirius/updates/nightly/4.1.x/neon</url>
</repository>
<repository><id>acceleo for AQL</id><layout>p2</layout>
<url>http://download.eclipse.org/acceleo/updates/nightly/latest</url>
</repository>
<repository><id>amalgam</id><layout>p2</layout>
<url>http://download.eclipse.org/modeling/amalgam/updates/nightly/1.7.x/mars/</url>
</repository>
<repository><id>rest-of-the-world</id><layout>p2</layout>
<url>http://download.eclipse.org/releases/neon</url>
</repository>
</repositories>
</profile>
<profile>
<id>mars</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<repositories>
<repository><id>cbi</id><layout>p2</layout>
<url>http://download.eclipse.org/cbi/updates/license</url>
</repository>
<repository><id>sirius</id><layout>p2</layout>
<url>http://download.eclipse.org/sirius/updates/nightly/3.0.x/mars</url>
</repository>
<repository><id>acceleo for AQL</id><layout>p2</layout>
<url>http://download.eclipse.org/acceleo/updates/milestones/3.6</url>
</repository>
<repository><id>amalgam</id><layout>p2</layout>
<url>http://download.eclipse.org/modeling/amalgam/updates/nightly/1.7.x/mars/</url>
</repository>
<repository><id>rest-of-the-world</id><layout>p2</layout>
<url>http://download.eclipse.org/releases/mars</url>
</repository>
</repositories>
</profile>
<profile>
<id>luna</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<repositories>
<repository><id>cbi</id><layout>p2</layout>
<url>http://download.eclipse.org/cbi/updates/license</url>
</repository>
<repository><id>sirius</id><layout>p2</layout>
<url>http://download.eclipse.org/sirius/updates/nightly/3.0.x/luna</url>
</repository>
<repository><id>acceleo for AQL</id><layout>p2</layout>
<url>http://download.eclipse.org/sirius/updates/stable/3.0.0-S20150504-101721/mars</url>
</repository>
<repository><id>amalgam</id><layout>p2</layout>
<url>http://download.eclipse.org/modeling/amalgam/updates/nightly/1.7.x/mars/</url>
</repository>
<repository><id>rest-of-the-world</id><layout>p2</layout>
<url>http://download.eclipse.org/releases/luna</url>
</repository>
<repository><id>eef</id><layout>p2</layout>
<url>http://download.eclipse.org/modeling/emft/eef/updates/milestones/1.5/S201412231052/</url>
</repository>
</repositories>
</profile>
<profile>
<id>kepler</id>
<repositories>
<repository><id>platform</id><layout>p2</layout>
<url>http://download.eclipse.org/releases/kepler</url>
</repository>
</repositories>
</profile>
<profile>
<id>juno</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<repositories>
<repository><id>platform</id><layout>p2</layout>
<url>http://download.eclipse.org/releases/juno</url>
</repository>
</repositories>
</profile>
<profile>
<id>indigo</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<repositories>
<repository><id>indigo</id><layout>p2</layout>
<url>http://download.eclipse.org/releases/indigo</url>
</repository>
</repositories>
</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>${tycho-version}</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>${tycho-version}</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>
<id>checkstyle</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<id>check my sources</id>
<goals>
<goal>checkstyle</goal>
</goals>
<phase>verify</phase>
<configuration>
<failOnErrors>false</failOnErrors>
<consoleOutput>true</consoleOutput>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>coverage</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<modules>
<module>org.eclemma.runtime.equinox</module>
</modules>
</profile>
<profile>
<id>static-checks</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>