| <?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.emf.emfstore</groupId> |
| <artifactId>emfstore-parent</artifactId> |
| <version>1.7.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| <tycho-version>0.20.0</tycho-version> |
| <junit-version>4.8.2</junit-version> |
| <maven-checkstyle-version>2.10</maven-checkstyle-version> |
| <jacoco-version>0.7.4.201502262128</jacoco-version> |
| <javadoc-version>2.9</javadoc-version> |
| <javadoc-title>EMFStore 1.7.0 API</javadoc-title> |
| <emfstore-version>1.7.0-SNAPSHOT</emfstore-version> |
| <jarsigner-version>1.0.5</jarsigner-version> |
| <maven.antrun.plugin.version>1.7</maven.antrun.plugin.version> |
| <!-- Properties to enable jacoco code coverage analysis with sonar --> |
| <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> |
| <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis> |
| <sonar.jacoco.reportPath>../../tests/coverage/jacoco.exec</sonar.jacoco.reportPath> |
| <skip-performance>true</skip-performance> |
| </properties> |
| |
| <profiles> |
| <profile> |
| <id>aggregateSites</id> |
| <activation> |
| <property> |
| <name>aggSite</name> |
| </property> |
| </activation> |
| </profile> |
| <profile> |
| <id>performance</id> |
| <activation> |
| <property> |
| <name>performance</name> |
| </property> |
| </activation> |
| <properties> |
| <skip-performance>false</skip-performance> |
| </properties> |
| </profile> |
| <profile> |
| <id>build-server</id> |
| <activation> |
| <property> |
| <name>build-server</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <!-- Configure build to use the java compiler as specified in manifest --> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-compiler-plugin</artifactId> |
| <version>${tycho-version}</version> |
| <configuration> |
| <useJDK>BREE</useJDK> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>sonar</id> |
| <activation> |
| <property> |
| <name>sonar</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>target-platform-configuration</artifactId> |
| <version>${tycho-version}</version> |
| <configuration> |
| <executionEnvironment>JavaSE-1.7</executionEnvironment> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <pluginRepositories> |
| <pluginRepository> |
| <id>eclipse-maven-releases</id> |
| <url>https://repo.eclipse.org/content/repositories/releases/</url> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </pluginRepository> |
| </pluginRepositories> |
| |
| <modules> |
| <module>../../releng/_target</module> |
| <module>../../releng/org.eclipse.emf.emfstore.p2repository</module> |
| <module>../../releng/org.eclipse.emf.emfstore.products</module> |
| |
| <module>../../releng/org.eclipse.emf.emfstore.releng.bundles</module> |
| <module>../../releng/org.eclipse.emf.emfstore.releng.features</module> |
| <module>../../releng/org.eclipse.emf.emfstore.releng.tests</module> |
| </modules> |
| |
| <build> |
| <!-- Use java/eclipse conventions for src and bin here, because of build.properties --> |
| <sourceDirectory>src</sourceDirectory> |
| <outputDirectory>bin</outputDirectory> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-versions-plugin</artifactId> |
| <version>${tycho-version}</version> |
| </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> |
| <resolver>p2</resolver> |
| <pomDependencies>consider</pomDependencies> |
| <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.emf.emfstore</groupId> |
| <artifactId>emfstore</artifactId> |
| <version>${emfstore-version}</version> |
| </artifact> |
| </target> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-packaging-plugin</artifactId> |
| <version>${tycho-version}</version> |
| <configuration> |
| <format>'v'yyyyMMdd'-'HHmm</format> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-source-plugin</artifactId> |
| <version>${tycho-version}</version> |
| <executions> |
| <execution> |
| <id>plugin-source</id> |
| <goals> |
| <goal>plugin-source</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${maven-checkstyle-version}</version> |
| <executions> |
| <execution> |
| <id>checkstyle</id> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <phase>compile</phase> |
| </execution> |
| </executions> |
| <configuration> |
| <failOnViolation>false</failOnViolation> |
| <configLocation>http://download.eclipse.org/ecp/config/esmCheckstyle.xml</configLocation> |
| <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression> |
| <suppressionsLocation>http://download.eclipse.org/ecp/config/suppressions.xml</suppressionsLocation> |
| <propertyExpansion>samedir=${basedir}/../../EMFStoreDeveloper/coding</propertyExpansion> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>${jacoco-version}</version> |
| <configuration> |
| <destFile>${sonar.jacoco.reportPath}</destFile> |
| <append>true</append> |
| </configuration> |
| <executions> |
| <execution> |
| <id>jacoco-initialize</id> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>${javadoc-version}</version> |
| <configuration> |
| <doctitle>${javadoc-title}</doctitle> |
| <show>protected</show> |
| <show>public</show> |
| <nohelp>true</nohelp> |
| <excludePackageNames>*.test.*:*.bowling.*:*.example.*:*.eclipse.wb.*</excludePackageNames> |
| <tags> |
| <tag> |
| <name>generated</name> |
| <placement>X</placement> |
| </tag> |
| <tag> |
| <name>ordered</name> |
| <placement>X</placement> |
| </tag> |
| <tag> |
| <name>model</name> |
| <placement>X</placement> |
| </tag> |
| <tag> |
| <name>noextend</name> |
| <placement>X</placement> |
| </tag> |
| <tag> |
| <name>noimplement</name> |
| <placement>X</placement> |
| </tag> |
| <tag> |
| <name>noinstantiate</name> |
| <placement>X</placement> |
| </tag> |
| <tag> |
| <name>noreference</name> |
| <placement>X</placement> |
| </tag> |
| <tag> |
| <name>extends</name> |
| <placement>X</placement> |
| </tag> |
| <tag> |
| <name>implements</name> |
| <placement>X</placement> |
| </tag> |
| </tags> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit-version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| </project> |