| <?xml version="1.0" encoding="UTF-8"?> |
| <project> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>org.eclipse.app4mc.transformation</groupId> |
| <artifactId>org.eclipse.app4mc.transformation.build</artifactId> |
| <version>0.3.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| <name>Model Transformation</name> |
| |
| <properties> |
| <tycho.version>0.22.0</tycho.version> |
| <jacoco.version>0.7.4.201502262128</jacoco.version> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8 |
| </project.reporting.outputEncoding> |
| |
| <luna-repo.url>http://download.eclipse.org/releases/neon |
| </luna-repo.url> |
| <amalthea-repo.url>http://download.eclipse.org/app4mc/updatesites/releases/0.9.0/ |
| </amalthea-repo.url> |
| |
| <orbit-repo.url>http://download.eclipse.org/tools/orbit/downloads/drops/R20170307180635/repository/ |
| </orbit-repo.url> |
| <sphinx-repo-url>http://download.eclipse.org/sphinx/updates/interim/ |
| </sphinx-repo-url> |
| |
| <xtext-url>http://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.14.0/ |
| </xtext-url> |
| |
| <eclipse-license>http://download.eclipse.org/cbi/updates/license/</eclipse-license> |
| |
| <inchron-url>http://eclipse.inchron.com/realtime/updatesites/release/current/</inchron-url> |
| |
| </properties> |
| |
| <pluginRepositories> |
| <pluginRepository> |
| <id>jboss-public-repository-group</id> |
| <name>JBoss Public Repository Group</name> |
| <url>http://repository.jboss.org/nexus/content/groups/public/</url> |
| </pluginRepository> |
| |
| <pluginRepository> |
| <id>jboss-snapshots-repository</id> |
| <name>JBoss Snapshots Repository</name> |
| <url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url> |
| </pluginRepository> |
| </pluginRepositories> |
| |
| |
| <repositories> |
| |
| <repository> |
| <id>inchron</id> |
| <url>${inchron-url}</url> |
| <layout>p2</layout> |
| </repository> |
| |
| |
| <repository> |
| <id>amalthea</id> |
| <url>${amalthea-repo.url}</url> |
| <layout>p2</layout> |
| </repository> |
| |
| |
| <repository> |
| <id>eclipse-license</id> |
| <url>${eclipse-license}</url> |
| <layout>p2</layout> |
| </repository> |
| |
| <repository> |
| <id>luna</id> |
| <url>${luna-repo.url}</url> |
| <layout>p2</layout> |
| </repository> |
| <repository> |
| <id>orbit</id> |
| <url>${orbit-repo.url}</url> |
| <layout>p2</layout> |
| </repository> |
| <repository> |
| <id>xtext</id> |
| <url>${xtext-url}</url> |
| <layout>p2</layout> |
| </repository> |
| <repository> |
| <id>sphinx</id> |
| <url>${sphinx-repo-url}</url> |
| <layout>p2</layout> |
| </repository> |
| |
| |
| |
| </repositories> |
| |
| |
| <modules> |
| <!-- example plugins --> |
| |
| <module>../../examples/sample-model-transformation/app4mc.example.transform.samplemodel |
| </module> |
| <module>../../examples/sample-model-transformation/app4mc.example.transform.m2m |
| </module> |
| <module>../../examples/sample-model-transformation/app4mc.example.transform.m2t |
| </module> |
| <module>../../examples/sample-model-transformation/app4mc.example.transform.app |
| </module> |
| |
| <!-- Amlt2Inchron transformation plugins plugins --> |
| |
| <module>../../examples/amlt2inchron/org.eclipse.app4mc.transform.to.inchron.app</module> |
| <module>../../examples/amlt2inchron/org.eclipse.app4mc.transform.to.inchron.m2m</module> |
| <module>../../examples/amlt2inchron/org.eclipse.app4mc.transformation.3rdparty.libs</module> |
| |
| |
| <!-- core framework plugins --> |
| |
| <module>../../plugins/org.eclipse.app4mc.transformation.application |
| </module> |
| <module>../../plugins/org.eclipse.app4mc.transformation.extensions |
| </module> |
| |
| |
| <!-- installer plugins --> |
| |
| <module>../org.eclipse.app4mc.transformation.examples.installer |
| </module> |
| |
| |
| <module>../org.eclipse.app4mc.inchron.transformation.installer |
| </module> |
| |
| |
| <!-- features --> |
| |
| <module>../../features/org.eclipse.app4mc.transformation.3rdparty.feature |
| </module> |
| |
| <module>../../features/org.eclipse.app4mc.transformation.core.feature |
| </module> |
| |
| <module>../../features/org.eclipse.app4mc.transformation.examples.feature</module> |
| |
| <module>../../examples/amlt2inchron/org.eclipse.app4mc.transformation.to.inchron.feature</module> |
| |
| <!-- build plugins --> |
| |
| <module>../org.eclipse.app4mc.transformation.p2repo</module> |
| |
| |
| </modules> |
| |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-maven-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <extensions>true</extensions> |
| <configuration> |
| |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-compiler-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <configuration> |
| <verbose>true</verbose> |
| <source>1.8</source> |
| <target>1.8</target> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>target-platform-configuration</artifactId> |
| <version>${tycho.version}</version> |
| <configuration> |
| <dependency-resolution> |
| <extraRequirements> |
| <requirement> |
| <type>eclipse-plugin</type> |
| <id>org.hamcrest</id> |
| <versionRange>0.0.0</versionRange> |
| </requirement> |
| </extraRequirements> |
| </dependency-resolution> |
| <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> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-surefire-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <configuration> |
| <!-- argLine>${tycho.testArgLine}</argLine> --> |
| <forkMode>never</forkMode> |
| <includes> |
| <include>**/*Test.*</include> |
| </includes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>0.7.4.201502262128</version> |
| <configuration> |
| <excludes> |
| |
| </excludes> |
| </configuration> |
| <executions> |
| <!-- Prepares the property pointing to the JaCoCo runtime agent which |
| is passed as VM argument when Maven the Surefire plugin is executed. --> |
| <execution> |
| <id>pre-unit-test</id> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| <configuration> |
| <!-- Sets the path to the file which contains the execution data. --> |
| <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec |
| </destFile> |
| </configuration> |
| </execution> |
| <!-- Ensures that the code coverage report for unit tests is created |
| after unit tests have been run. --> |
| <execution> |
| <id>post-unit-test</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>report</goal> |
| </goals> |
| <configuration> |
| <!-- Sets the path to the file which contains the execution data. --> |
| <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec |
| </dataFile> |
| <!-- Sets the output directory for the code coverage report. --> |
| <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut |
| </outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-clean-plugin</artifactId> |
| <version>3.0.0</version> |
| <configuration> |
| <filesets> |
| <fileset> |
| <directory>${basedir}</directory> |
| <includes> |
| <include>**/xtend-gen/**</include> |
| <!-- <outputDirectory>**/examples/**</outputDirectory> --> |
| </includes> |
| <followSymlinks>false</followSymlinks> |
| </fileset> |
| </filesets> |
| </configuration> |
| </plugin> |
| |
| |
| |
| <plugin> |
| <groupId>org.eclipse.xtend</groupId> |
| <artifactId>xtend-maven-plugin</artifactId> |
| <version>2.14.0</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.platform</groupId> |
| <artifactId>org.eclipse.equinox.common</artifactId> |
| <version>[3.8.0,4.0.0)</version> |
| </dependency> |
| </dependencies> |
| |
| <executions> |
| <execution> |
| <goals> |
| <goal>compile</goal> |
| <goal>xtend-install-debug-info</goal> |
| <goal>testCompile</goal> |
| <goal>xtend-test-install-debug-info</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <outputDirectory>xtend-gen</outputDirectory> |
| </configuration> |
| </plugin> |
| |
| |
| <!-- |
| <plugin> |
| <groupId>org.jboss.tools.tycho-plugins</groupId> |
| <artifactId>repository-utils</artifactId> |
| <version>0.23.2</version> |
| |
| <executions> |
| <execution> |
| <id>generate-facade</id> |
| <phase>package</phase> |
| |
| <goals> |
| <goal>generate-repository-facade</goal> |
| </goals> |
| |
| <configuration> |
| <siteTemplateFolder>siteTemplate</siteTemplateFolder> |
| |
| <symbols> |
| <update.site.name>Amalthea Model Transformation</update.site.name> |
| <target.eclipse.version>Neon.3 (4.6.3)</target.eclipse.version> |
| </symbols> |
| |
| <associateSites> |
| <site>http://download.eclipse.org/releases/neon</site> |
| <site>http://download.eclipse.org/app4mc/updatesites/releases/0.9.0/</site> |
| <site>http://download.eclipse.org/tools/orbit/downloads/drops/R20170307180635/repository/</site> |
| <site>http://download.eclipse.org/sphinx/updates/interim</site> |
| <site>http://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.10.0/</site> |
| <site>http://eclipse.inchron.com/realtime/updatesites/release/current/</site> |
| </associateSites> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| --> |
| |
| </plugins> |
| </build> |
| |
| </project> |