blob: 260b6aba3a4c3b5831bca396d07cf07f16a09e69 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.eclipse.papyrusrt</groupId>
<artifactId>umlrt.code-generator</artifactId>
<version>0.7.2-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>targetplatform</module>
<module>site</module>
<module>../../features/codegen/org.eclipse.papyrusrt.codegen-feature</module>
<module>../../features/runtime/org.eclipse.papyrusrt.rts-feature</module>
<module>../../features/xtext/org.eclipse.papyrusrt.xtumlrt.xtext.feature</module>
<module>../../plugins/umlrt/codegen/org.eclipse.papyrusrt.codegen</module>
<module>../../plugins/umlrt/codegen/org.eclipse.papyrusrt.codegen.cpp</module>
<module>../../plugins/umlrt/codegen/org.eclipse.papyrusrt.codegen.cpp.capopaquebehaviour</module>
<module>../../plugins/umlrt/codegen/org.eclipse.papyrusrt.codegen.cpp.profile</module>
<module>../../plugins/umlrt/codegen/org.eclipse.papyrusrt.codegen.cpp.rts</module>
<module>../../plugins/umlrt/codegen/org.eclipse.papyrusrt.codegen.cpp.statemachines.flat</module>
<module>../../plugins/umlrt/codegen/org.eclipse.papyrusrt.codegen.cpp.structure</module>
<module>../../plugins/umlrt/codegen/org.eclipse.papyrusrt.codegen.lang</module>
<module>../../plugins/umlrt/codegen/org.eclipse.papyrusrt.codegen.lang.cpp</module>
<module>../../plugins/umlrt/codegen/org.eclipse.papyrusrt.codegen.statemachines.flat</module>
<module>../../plugins/umlrt/codegen/org.eclipse.papyrusrt.codegen.papyrus</module>
<module>../../plugins/umlrt/codegen/org.eclipse.papyrusrt.codegen.standalone</module>
<module>../../plugins/umlrt/codegen/org.eclipse.papyrusrt.codegen.utils</module>
<module>../../plugins/umlrt/codegen/org.eclipse.papyrusrt.codegen.xtumlrt.trans</module>
<module>../../plugins/umlrt/modellib/org.eclipse.papyrusrt.rts</module>
<module>../../plugins/xtumlrt/metamodel/org.eclipse.papyrusrt.xtumlrt.common.model</module>
<module>../../plugins/xtumlrt/metamodel/org.eclipse.papyrusrt.xtumlrt.statemach.model</module>
<module>../../plugins/xtumlrt/metamodel/org.eclipse.papyrusrt.xtumlrt.statemach.ext.model</module>
<module>../../plugins/xtumlrt/metamodel/org.eclipse.papyrusrt.xtumlrt.umlrt.model</module>
<module>../../plugins/xtumlrt/metamodel/org.eclipse.papyrusrt.xtumlrt.mmgenerators</module>
<module>../../plugins/xtumlrt/common/org.eclipse.papyrusrt.xtumlrt.util</module>
<module>../../plugins/xtumlrt/trans/org.eclipse.papyrusrt.xtumlrt.trans</module>
<module>../../plugins/xtumlrt/xtext/org.eclipse.papyrusrt.xtumlrt.xtext</module>
<module>../../plugins/xtumlrt/xtext/org.eclipse.papyrusrt.xtumlrt.xtext.ide</module>
<module>../../plugins/xtumlrt/xtext/org.eclipse.papyrusrt.xtumlrt.xtext.ui</module>
<module>../../plugins/xtumlrt/xtext/org.eclipse.papyrusrt.xtumlrt.xtext.codegen.ui</module>
<module>../../plugins/xtumlrt/xtext/org.eclipse.papyrusrt.xtumlrt.xtext.trans</module>
<module>../../plugins/xtumlrt/xtext/org.eclipse.papyrusrt.xtumlrt.xtext.trans.ui</module>
<module>../../tests/junit/umlrt/codegen/org.eclipse.papyrusrt.codegen.cpp.test</module>
<module>../../tests/junit/umlrt/codegen/org.eclipse.papyrusrt.codegen.lang.test</module>
<module>../../tests/junit/umlrt/codegen/org.eclipse.papyrusrt.codegen.lang.cpp.test</module>
<module>../org.eclipse.papyrusrt.codegen.p2</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<target.version>${project.version}</target.version>
<tycho-version>0.25.0</tycho-version>
<eclipse.targetrelease>neon.papyrusnightly</eclipse.targetrelease>
<build-helper-maven.version>1.7</build-helper-maven.version>
<maven-clean.version>3.0.0</maven-clean.version>
<exec-maven.version>1.2.1</exec-maven.version>
<papyrus.version></papyrus.version>
<!-- This is a temporary measure until the papyrus.version parameter can be updated in the Gerrit Hudson build config. -->
<papyrus.versionFIXME>2.0</papyrus.versionFIXME>
<uml.version>5.2milestones</uml.version>
<uml.release>S201603210821</uml.release>
<xtext.version>2.10.0</xtext.version>
<eclipse.stream>neon</eclipse.stream>
<ECLIPSE_DOWNLOADS>http://download.eclipse.org</ECLIPSE_DOWNLOADS> <!-- Set to file:/home/data/httpd/download.eclipse.org when building on Eclipse servers to improve performances -->
<eclipse.download>${ECLIPSE_DOWNLOADS}</eclipse.download>
<simrel-repo.url>${eclipse.download}/releases/${eclipse.stream}</simrel-repo.url>
<uml.url>${eclipse.download}/modeling/mdt/uml2/updates/${uml.version}/${uml.release}/</uml.url>
<orbit-repo.url>${eclipse.download}/tools/orbit/downloads/drops/R20150821153341/repository/</orbit-repo.url>
<xtend-gen.dir>${project.basedir}/xtend-gen</xtend-gen.dir>
<src-gen.dir>${project.basedir}/src-gen</src-gen.dir>
</properties>
<dependencies>
<dependency>
<groupId>org.eclipse.xtend</groupId>
<artifactId>org.eclipse.xtend.lib</artifactId>
<version>${xtext.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-maven-plugin</artifactId>
<version>${xtext.version}</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>src</sourceDirectory>
<outputDirectory>bin</outputDirectory>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper-maven.version}</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${xtend-gen.dir}</source>
<source>${src-gen.dir}</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven-clean.version}</version>
<executions>
<execution>
<id>gen-clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
<configuration>
<filesets>
<fileset>
<directory>${xtend-gen.dir}</directory>
</fileset>
<fileset>
<directory>${src-gen.dir}</directory>
</fileset>
</filesets>
</configuration>
</execution>
</executions>
</plugin>
<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>
<includePackedArtifacts>true</includePackedArtifacts>
<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_64</arch>
</environment>
</environments>
<target>
<artifact>
<groupId>org.eclipse.papyrusrt</groupId>
<artifactId>org.eclipse.papyrusrt.codegen.targetplatform.${eclipse.targetrelease}</artifactId>
<version>${target.version}</version>
</artifact>
</target>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<verbose>true</verbose>
<copyResources>false</copyResources> <!-- Don't copy xtend sources or xtend ._trace files -->
</configuration>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<dependencies>
<dependency>
<groupId>ant-contrib</groupId>
<artifactId>ant-contrib</artifactId>
<version>1.0b3</version>
<exclusions>
<exclusion>
<groupId>ant</groupId>
<artifactId>ant</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-nodeps</artifactId>
<version>1.8.1</version>
</dependency>
</dependencies>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-maven-plugin</artifactId>
<version>${xtext.version}</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
<configuration>
<outputDirectory>${xtend-gen.dir}</outputDirectory>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<name>Papyrus RT CodeGen</name>
</project>