| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (C) 2011, 2012 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.acceleo</groupId> |
| <artifactId>org.eclipse.acceleo-parent</artifactId> |
| <version>3.3.5-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| <name>Acceleo 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.17.0</tycho-version> |
| <tycho-extras-version>0.17.0</tycho-extras-version> |
| <acceleo-version>3.3.4-SNAPSHOT</acceleo-version> |
| <platform-version-name>indigo</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/R20130517111416/repository/</orbit-site> |
| <swtbot-site>http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site</swtbot-site> |
| </properties> |
| |
| <modules> |
| <module>plugins/org.eclipse.acceleo.common</module> |
| <module>plugins/org.eclipse.acceleo.common.ui</module> |
| <module>plugins/org.eclipse.acceleo.model</module> |
| <module>plugins/org.eclipse.acceleo.model.edit</module> |
| <module>plugins/org.eclipse.acceleo.profiler</module> |
| <module>plugins/org.eclipse.acceleo.profiler.edit</module> |
| <module>plugins/org.eclipse.acceleo.profiler.editor</module> |
| <module>plugins/org.eclipse.acceleo.parser</module> |
| <module>plugins/org.eclipse.acceleo.engine</module> |
| <module>plugins/org.eclipse.acceleo.traceability.model</module> |
| <module>plugins/org.eclipse.acceleo.traceability</module> |
| <module>plugins/org.eclipse.acceleo.ui.interpreter</module> |
| <module>plugins/org.eclipse.acceleo.compatibility</module> |
| <module>plugins/org.eclipse.acceleo.compatibility.ui</module> |
| <module>plugins/org.eclipse.acceleo.ide.ui</module> |
| <module>plugins/org.eclipse.acceleo.ui.capabilities</module> |
| |
| <module>examples/org.eclipse.acceleo.examples</module> |
| |
| <module>doc/org.eclipse.acceleo.doc</module> |
| |
| <module>tests/org.eclipse.acceleo.common.tests</module> |
| <module>tests/org.eclipse.acceleo.dynamic.tests</module> |
| <module>tests/org.eclipse.acceleo.compatibility.tests</module> |
| <module>tests/org.eclipse.acceleo.engine.tests</module> |
| <module>tests/org.eclipse.acceleo.ide.ui.tests</module> |
| <module>tests/org.eclipse.acceleo.model.tests</module> |
| <module>tests/org.eclipse.acceleo.parser.tests</module> |
| <module>tests/org.eclipse.acceleo.traceability.tests</module> |
| <module>tests/org.eclipse.acceleo.tests</module> |
| |
| <module>features/org.eclipse.acceleo.doc-feature</module> |
| <module>features/org.eclipse.acceleo.examples-feature</module> |
| <module>features/org.eclipse.acceleo.runtime-feature</module> |
| <module>features/org.eclipse.acceleo.ui.capabilities-feature</module> |
| <module>features/org.eclipse.acceleo-feature</module> |
| <module>features/org.eclipse.acceleo.sdk-feature</module> |
| |
| <module>releng/org.eclipse.acceleo-updatesite</module> |
| </modules> |
| |
| <repositories> |
| <repository> |
| <id>eclipse-platform</id> |
| <layout>p2</layout> |
| <url>${eclipse-site}</url> |
| </repository> |
| <repository> |
| <id>orbit</id> |
| <layout>p2</layout> |
| <url>${orbit-site}</url> |
| </repository> |
| <repository> |
| <id>swtbot</id> |
| <layout>p2</layout> |
| <url>${swtbot-site}</url> |
| </repository> |
| </repositories> |
| |
| <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> |
| <!-- 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.extras</groupId> |
| <artifactId>tycho-source-feature-plugin</artifactId> |
| <version>${tycho-extras-version}</version> |
| <executions> |
| <execution> |
| <id>source-feature</id> |
| <phase>package</phase> |
| <goals> |
| <goal>source-feature</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-plugin</artifactId> |
| <version>${tycho-version}</version> |
| <executions> |
| <!-- These two should allow us not to get "duplicate artifact" warnings during the build. --> |
| <execution> |
| <!-- Don't attach (default) metadata before the source-feature execution.--> |
| <id>default-p2-metadata-default</id> |
| <configuration> |
| <attachP2Metadata>false</attachP2Metadata> |
| </configuration> |
| </execution> |
| <execution> |
| <!-- Do attach metadata after the source-feature execution.--> |
| <id>attach-p2-metadata</id> |
| <goals> |
| <goal>p2-metadata</goal> |
| </goals> |
| <phase>package</phase> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-compiler-plugin</artifactId> |
| <version>${tycho-version}</version> |
| <configuration> |
| <encoding>UTF-8</encoding> |
| <source>1.5</source> |
| <target>1.5</target> |
| </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>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>platform-kepler</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| <property> |
| <name>platform-version-name</name> |
| <value>kepler</value> |
| </property> |
| </activation> |
| <properties> |
| <eclipse-site>http://download.eclipse.org/releases/kepler</eclipse-site> |
| <platform-version>[4.3,4.4)</platform-version> |
| <swtbot-site>http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site</swtbot-site> |
| </properties> |
| </profile> |
| <profile> |
| <id>platform-juno</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| <property> |
| <name>platform-version-name</name> |
| <value>juno</value> |
| </property> |
| </activation> |
| <properties> |
| <eclipse-site>http://download.eclipse.org/releases/juno</eclipse-site> |
| <platform-version>[3.8,4.2)</platform-version> |
| <swtbot-site>http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site</swtbot-site> |
| </properties> |
| </profile> |
| <profile> |
| <id>platform-indigo</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| <property> |
| <name>platform-version-name</name> |
| <value>indigo</value> |
| </property> |
| </activation> |
| <properties> |
| <eclipse-site>http://download.eclipse.org/releases/indigo</eclipse-site> |
| <platform-version>[3.7,3.8)</platform-version> |
| <swtbot-site>http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site</swtbot-site> |
| </properties> |
| </profile> |
| <profile> |
| <id>platform-helios</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| <property> |
| <name>platform-version-name</name> |
| <value>helios</value> |
| </property> |
| </activation> |
| <properties> |
| <eclipse-site>http://download.eclipse.org/releases/helios</eclipse-site> |
| <platform-version>[3.6,3.7)</platform-version> |
| <swtbot-site>http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site</swtbot-site> |
| </properties> |
| </profile> |
| <profile> |
| <id>platform-galileo</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| <property> |
| <name>platform-version-name</name> |
| <value>galileo</value> |
| </property> |
| </activation> |
| <properties> |
| <eclipse-site>http://download.eclipse.org/releases/galileo</eclipse-site> |
| <platform-version>[3.5,3.6)</platform-version> |
| <swtbot-site>http://download.eclipse.org/technology/swtbot/galileo/dev-build/update-site</swtbot-site> |
| </properties> |
| </profile> |
| <profile> |
| <id>platform-ganymede</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| <property> |
| <name>platform-version-name</name> |
| <value>ganymede</value> |
| </property> |
| </activation> |
| <properties> |
| <eclipse-site>http://download.eclipse.org/releases/ganymede</eclipse-site> |
| <platform-version>[3.4,3.5)</platform-version> |
| <swtbot-site>http://download.eclipse.org/technology/swtbot/ganymede/dev-build/update-site</swtbot-site> |
| </properties> |
| </profile> |
| <profile> |
| <id>checkstyle</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.7</version> |
| <executions> |
| <execution> |
| <id>check my sources</id> |
| <goals> |
| <goal>checkstyle</goal> |
| </goals> |
| <phase>verify</phase> |
| <configuration> |
| <configLocation>features\org.eclipse.acceleo-feature/codestyle/AcceleoCheckstyleConfiguration5.xml</configLocation> |
| <failOnErrors>false</failOnErrors> |
| <consoleOutput>true</consoleOutput> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>static-checks</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <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> |
| <profile> |
| <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>${project.basedir}/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> |