| <project> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>org.eclipse.app4mc.emfutils.content.extractor</groupId> |
| <artifactId>org.eclipse.app4mc.emfutils.extractor.build</artifactId> |
| <version>0.8.0</version> |
| <packaging>pom</packaging> |
| <name>Ecore Reference Extractor</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/luna</luna-repo.url> |
| <amalthea-repo.url>http://download.eclipse.org/app4mc/updatesites/releases/0.8.0/</amalthea-repo.url> |
| |
| <franca-repo.url>http://franca.github.io/franca/update_site/releases/0.9.1/</franca-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>franca</id> |
| <url>${franca-repo.url}</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>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.emfutils.content.extractor</module> |
| <module>../../plugins/org.eclipse.app4mc.emfutils.metamodelviewer</module> |
| <module>../../plugins/org.eclipse.app4mc.emfutils.resourceset.mapper</module> |
| |
| <!-- Tests --> |
| |
| <!-- Features --> |
| <module>../../features/org.eclipse.app4mc.emfutils.content.extractor.feature</module> |
| <module>../../features/org.eclipse.app4mc.emfutils.metamodelviewer.feature</module> |
| |
| <!-- P2Repo --> |
| <module>../org.eclipse.app4mc.emfutils.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> |
| </plugins> |
| </build> |
| |
| </project> |