blob: 9b905d2aa94d57577231c723ddf85b122ead8cbe [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.eclipse.papyrus.robotml</groupId>
<artifactId>org.eclipse.papyrus.robotml.parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>RobotML</name>
<description>Papyrus RobotML platform</description>
<modules>
<module>generators</module>
<module>org.eclipse.papyrus.robotml</module>
<module>org.eclipse.papyrus.robotml.deployment</module>
<module>org.eclipse.papyrus.robotml.diagram.common</module>
<module>org.eclipse.papyrus.robotml.diagram.ui</module>
<module>org.eclipse.papyrus.robotml.doc</module>
<!--module>org.eclipse.papyrus.robotml.help</module -->
<!-- module>org.eclipse.papyrus.robotml.modelexplorer</module -->
<module>org.eclipse.papyrus.robotml.perspective</module>
<module>org.eclipse.papyrus.robotml.templaterepository</module>
<module>org.eclipse.papyrus.robotml.validation</module>
<module>targetplatform</module>
<module>releng</module>
</modules>
<repositories>
<repository>
<id>eclipse-neon</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/neon</url>
</repository>
<repository>
<id>papyrus-neon-nightly-developer</id>
<layout>p2</layout>
<url>https://hudson.eclipse.org/papyrus/job/Papyrus-Master-Developer/lastSuccessfulBuild/artifact/repository/</url>
</repository>
</repositories>
<properties>
<!-- plugins versions -->
<!-- use 'mvn versions:display-plugin-updates' to check for the latest -->
<tycho-version>0.24.0</tycho-version>
<tychoExtrasVersion>0.24.0</tychoExtrasVersion>
<maven-checkstyle-version>2.12.1</maven-checkstyle-version>
<maven-findbugs-version>3.0.0</maven-findbugs-version>
<maven-pmd-version>3.1</maven-pmd-version>
<maven-jxr-version>2.3</maven-jxr-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<siteMainDirectory>${user.home}/staging</siteMainDirectory>
<!-- Eclipse properties -->
<eclipse.release>neon</eclipse.release>
<!-- Platform properties -->
<env.ui.test>-Xms512m -Xmx2048m -XX:MaxPermSize=512M</env.ui.test>
<testConfig>CI_TESTS_CONFIG</testConfig> <!-- See org.eclipse.papyrus.junit.framework.classification.ClassificationConfig -->
</properties>
<ciManagement>
<system>Hudson</system>
<url>https://hudson.eclipse.org/papyrus/view/RobotML/</url>
</ciManagement>
<issueManagement>
<url>https://bugs.eclipse.org/bugs/buglist.cgi?product=Papyrus&amp;component=RobotML</url>
<system>Bugzilla</system>
</issueManagement>
<distributionManagement>
<repository>
<id>repo.eclipse.org</id>
<name>Papyrus
Repository - Releases
</name>
<url>https://repo.eclipse.org/content/repositories/papyrus-releases/
</url>
</repository>
<snapshotRepository>
<id>repo.eclipse.org</id>
<name>Papyrus
Repository - Snapshots
</name>
<url>https://repo.eclipse.org/content/repositories/papyrus-snapshots/
</url>
<uniqueVersion>true</uniqueVersion>
</snapshotRepository>
<site>
<id>my.git.server</id>
<url>scm:git:git@github.com/flefevre/testpapy.git</url>
</site>
</distributionManagement>
<organization>
<name>Eclipse foundation</name>
<url>https://www.eclipse.org/</url>
</organization>
<developers>
<developer>
<name>Saadia DHOUIB</name>
<organization>CEA Tech LIST</organization>
<organizationUrl>http://www-list.cea.fr/</organizationUrl>
<id>sdhouib</id>
</developer>
<developer>
<name>Francois LE FEVRE</name>
<organization>CEA Tech LIST</organization>
<organizationUrl>http://www-list.cea.fr/</organizationUrl>
<id>flefevre</id>
</developer>
</developers>
<contributors>
<contributor>
<name>Benoit MAGGI</name>
<organization>CEA Tech LIST</organization>
<organizationUrl>http://www-list.cea.fr/</organizationUrl>
</contributor>
</contributors>
<licenses>
<license>
<name>Eclipse Public License</name>
<url>https://www.eclipse.org/legal/epl-v10.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>https://git.eclipse.org/c/papyrus/org.eclipse.papyrus-robotml.git</url>
<connection>scm:git:git://git.eclipse.org/gitroot/papyrus/org.eclipse.papyrus-robotml.git</connection>
</scm>
<pluginRepositories>
<pluginRepository>
<id>eclipse-maven-releases</id>
<url>https://repo.eclipse.org/content/repositories/releases/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.18.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho-version}</version>
</plugin>
<!-- enable tycho build extension -->
<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>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
</plugin>
<plugin><!-- enable source bundle generation -->
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<version>${tycho-version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-source-feature-plugin</artifactId>
<version>${tychoExtrasVersion}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<version>${tycho-version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-versions-plugin</artifactId>
<version>${tycho-version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho-version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pack200a-plugin</artifactId>
<version>${tychoExtrasVersion}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pack200b-plugin</artifactId>
<version>${tychoExtrasVersion}</version>
</plugin>
<plugin>
<groupId>org.eclipse.cbi.maven.plugins</groupId>
<artifactId>eclipse-jarsigner-plugin</artifactId>
<version>1.1.2</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<optimize>true</optimize>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<!-- enable tycho build extension -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
</plugin>
<plugin><!-- enable source bundle generation -->
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<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>
<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>
<executions>
<execution>
<id>attach-p2-metadata</id>
<phase>package</phase>
<goals>
<goal>p2-metadata</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-versions-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
<testClass>org.eclipse.papyrus.robotml.tests.AllTests</testClass>
<failIfNoTests>false</failIfNoTests>
<useUIHarness>true</useUIHarness>
<useUIThread>true</useUIThread>
<argLine>-Xms512m -Xmx2048m</argLine>
<appArgLine>-testConfig=${testConfig}</appArgLine>
<product>org.eclipse.sdk.ide</product>
<application>org.eclipse.ui.ide.workbench</application>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<configuration>
<includePackedArtifacts>true</includePackedArtifacts>
<targetDefinitionIncludeSource>honor</targetDefinitionIncludeSource>
<environments>
<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>
<target>
<artifact>
<groupId>org.eclipse.papyrus.robotml</groupId>
<artifactId>org.eclipse.papyrus.robotml.targetplatform.${eclipse.release}</artifactId>
<version>${project.version}</version>
</artifact>
</target>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>documentation</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<phase>pre-site</phase>
<goals>
<goal>create</goal>
</goals>
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
<format>{0,date,yyyy-MM-dd_HH-mm}</format>
<items>
<item>timestamp</item>
</items>
</configuration>
</execution>
</executions>
</plugin>
<!-- plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<inherited>false</inherited>
<executions>
<execution>
<id>copy-resources</id>
<phase>pre-site</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>src/site/resources/images/rcptt-screenshots/</outputDirectory>
<resources>
<resource>
<directory>${user.home}/rcptt-screenshots/</directory>
<filtering>false</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<generateReports>true</generateReports>
<inputEncoding>UTF-8</inputEncoding>
<outputEncoding>UTF-8</outputEncoding>
<skipDeploy>false</skipDeploy>
<stagingSiteURL>file://${siteMainDirectory}/${project.version}</stagingSiteURL>
<!--topSiteURL>http://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/</topSiteURL -->
</configuration>
<dependencies>
<dependency>
<groupId>lt.velykis.maven.skins</groupId>
<artifactId>reflow-velocity-tools</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
<version>1.7</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<version>1.1</version>
<configuration>
<!-- checkoutDirectory>${siteMainDirectory}</checkoutDirectory -->
<content>${siteMainDirectory}</content>
<tryUpdate>true</tryUpdate>
<scmBranch>master</scmBranch>
<pubScmUrl>scm:git:https://git.eclipse.org/gitroot/www.eclipse.org/papyrus-robotml</pubScmUrl>
</configuration>
<executions>
<execution>
<id>scm-publish</id>
<phase>site-deploy</phase>
<goals>
<goal>publish-scm</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<reporting>
<excludeDefaults>false</excludeDefaults>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>javadoc-no-fork</report>
<report>test-javadoc-no-fork</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.8.1</version>
<reportSets>
<reportSet>
<reports>
<report>index</report>
<report>dependencies</report>
<report>project-team</report>
<report>mailing-list</report>
<report>cim</report>
<report>issue-tracking</report>
<report>license</report>
<report>scm</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId>
<version>2.3</version>
<reportSets>
<reportSet>
<id>dual-report</id>
<configuration>
<type>range</type>
<range>30</range>
</configuration>
<reports>
<report>changelog</report>
<report>file-activity</report>
<report>dev-activity</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>2.11</version>
<reportSets>
<reportSet>
<reports>
<report>changes-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-version}</version>
</plugin>
</plugins>
</reporting>
</profile>
<!-- Have to be activated with profile documentation -->
<profile>
<id>documentation-pdf</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<!-- Failed on hudson see https://bugs.eclipse.org/bugs/show_bug.cgi?id=473888 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pdf-plugin</artifactId>
<version>1.3</version>
<inherited>false</inherited>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>1.7.5</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.5</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<version>1.7.5</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-nop</artifactId>
<version>1.7.5</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.2</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>userguidepdf</id>
<phase>site</phase>
<goals>
<goal>pdf</goal>
</goals>
<configuration>
<outputDirectory>${project.reporting.outputDirectory}/pdf</outputDirectory>
<includeReports>false</includeReports>
<docDescriptor>src/site/pdf/user-guide.pdf.xml</docDescriptor>
</configuration>
</execution>
<execution>
<id>developerguidepdf</id>
<phase>site</phase>
<goals>
<goal>pdf</goal>
</goals>
<configuration>
<outputDirectory>${project.reporting.outputDirectory}/pdf</outputDirectory>
<includeReports>false</includeReports>
<docDescriptor>src/site/pdf/developer-guide.pdf.xml</docDescriptor>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- Profiles for Eclipse Server - start -->
<!-- Stable release profile. Eclipse servers only -->
<profile>
<id>eclipse-sign</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<configuration>
<includePackedArtifacts>true</includePackedArtifacts>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pack200a-plugin</artifactId>
<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>
<executions>
<execution>
<id>sign</id>
<goals>
<goal>sign</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pack200b-plugin</artifactId>
<executions>
<execution>
<id>pack200-pack</id>
<goals>
<goal>pack</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<executions>
<execution>
<id>p2-metadata</id>
<goals>
<goal>p2-metadata</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
<configuration>
<defaultP2Metadata>false</defaultP2Metadata>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>eclipse-pack</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<configuration>
<includePackedArtifacts>true</includePackedArtifacts>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pack200a-plugin</artifactId>
<executions>
<execution>
<id>pack200-normalize</id>
<goals>
<goal>normalize</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pack200b-plugin</artifactId>
<executions>
<execution>
<id>pack200-pack</id>
<goals>
<goal>pack</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<executions>
<execution>
<id>p2-metadata</id>
<goals>
<goal>p2-metadata</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
<configuration>
<defaultP2Metadata>false</defaultP2Metadata>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<!-- Profiles for Eclipse Server - end -->
<profile>
<id>macosx</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<properties>
<ui.test.vmargs>-XstartOnFirstThread ${env.ui.test}</ui.test.vmargs>
</properties>
</profile>
<profile>
<id>other-os</id>
<activation>
<os>
<family>!mac</family>
</os>
</activation>
<properties>
<ui.test.vmargs>${env.ui.test}</ui.test.vmargs>
</properties>
</profile>
<!-- Profile for web publication -->
<profile>
<id>web.staging</id>
<properties>
<web.absoluteResourceURL>https://hudson.eclipse.org/papyrus/view/RobotML/job/papyrus-robotml-website/ws/site-staging/${project.version}/</web.absoluteResourceURL>
<web.href>https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-RobotML-website/ws/site-staging/${project.version}/index.html</web.href>
</properties>
</profile>
<profile>
<id>web.release</id>
<properties>
<web.absoluteResourceURL>https://www.eclipse.org/papyrus-robotml/${project.version}/</web.absoluteResourceURL>
<web.href>https://www.eclipse.org/papyrus-robotml/${project.version}/index.html</web.href>
</properties>
</profile>
</profiles>
</project>