<project> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>sca2amalthea</groupId> | |
<artifactId>org.eclipse.app4mc.sca2amalthea.build</artifactId> | |
<version>1.0.0.qualifier</version> | |
<packaging>pom</packaging> | |
<name>SCA2AMALTHEA</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> | |
<mars-repo.url>http://download.eclipse.org/releases/mars</mars-repo.url> | |
<amalthea-repo.url>http://download.eclipse.org/app4mc/updatesites/releases/0.8.1/</amalthea-repo.url> | |
<orbit-repo.url>http://download.eclipse.org/tools/orbit/downloads/drops/R20150124073747/repository/</orbit-repo.url> | |
<ease-repo-url>http://download.eclipse.org/ease/update/release</ease-repo-url> | |
<sphinx-repo-url>http://download.eclipse.org/sphinx/updates/interim</sphinx-repo-url> | |
</properties> | |
<repositories> | |
<repository> | |
<id>amalthea</id> | |
<url>${amalthea-repo.url}</url> | |
<layout>p2</layout> | |
</repository> | |
<repository> | |
<id>mars</id> | |
<url>${mars-repo.url}</url> | |
<layout>p2</layout> | |
</repository> | |
<repository> | |
<id>orbit</id> | |
<url>${orbit-repo.url}</url> | |
<layout>p2</layout> | |
</repository> | |
<repository> | |
<id>ease</id> | |
<url>${ease-repo-url}</url> | |
<layout>p2</layout> | |
</repository> | |
<repository> | |
<id>sphinx</id> | |
<url>${sphinx-repo-url}</url> | |
<layout>p2</layout> | |
</repository> | |
</repositories> | |
<modules> | |
<!-- Plugins --> | |
<module>../../plugins/org.eclipse.app4mc.sca.amalthea.loader</module> | |
<module>../../plugins/org.eclipse.app4mc.sca.amalthea.model.utils</module> | |
<module>../../plugins/org.eclipse.app4mc.sca.logging</module> | |
<module>../../plugins/org.eclipse.app4mc.sca.scheduling.loader</module> | |
<module>../../plugins/org.eclipse.app4mc.sca.ui</module> | |
<module>../../plugins/org.eclipse.app4mc.sca.util</module> | |
<module>../../plugins/org.eclipse.app4mc.sca2amalthea.exporter</module> | |
<module>../../plugins/org.eclipse.app4mc.sca2amalthea.ir</module> | |
<module>../../plugins/org.eclipse.app4mc.sca2amalthea.ir.loader</module> | |
<module>../../plugins/org.eclipse.app4mc.sca2amalthea.llvm</module> | |
<module>../../plugins/org.eclipse.app4mc.sca2amalthea.scairmodelenricher</module> | |
<module>../../plugins/org.eclipse.app4mc.sca2amalthea.serialization</module> | |
<module>../../plugins/org.eclipse.app4mc.sca2amalthea.ui</module> | |
<module>../../plugins/org.eclipse.app4mc.sca2amalthea.utils</module> | |
<module>../../plugins/org.eclipse.app4mc.sca2amalthea.docu</module> | |
<!-- Tests --> | |
<!-- Features --> | |
<module>../../features/org.eclipse.app4mc.sca2amalthea.feature</module> | |
<module>../../features/org.eclipse.app4mc.sca2amalthea.feature.sdk</module> | |
<!-- P2Repo --> | |
<module>../org.eclipse.app4mc.sca2amalthea.updatesite</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> | |
</plugins> | |
</build> | |
</project> |