| <?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> |
| |
| <!-- Requirements root POM: general information --> |
| <groupId>org.eclipse.papyrus.requirements</groupId> |
| <artifactId>org.eclipse.papyrus.requirements.root</artifactId> |
| <version>0.8.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| <name>Requirements</name> |
| <description>Papyrus Requirements</description> |
| <inceptionYear>2017</inceptionYear> |
| |
| <!-- Requirements Developpers --> |
| <developers> |
| <developer> |
| <name>Patrick Tessier</name> |
| <organization>CEA Tech LIST</organization> |
| <organizationUrl>http://www-list.cea.fr/</organizationUrl> |
| <id>ptessier</id> |
| </developer> |
| </developers> |
| |
| <!-- Requirements properties --> |
| <properties> |
| <tycho.version>1.4.0</tycho.version> |
| <tychoExtrasVersion>1.4.0</tychoExtrasVersion> |
| <maven.resources.version>3.0.2</maven.resources.version> |
| <maven.clean.version>3.0.0</maven.clean.version> |
| <maven.compiler.version>3.7.0</maven.compiler.version> |
| <java.source.version>1.8</java.source.version> |
| <java.target.version>1.8</java.target.version> |
| |
| <!-- https://repo.eclipse.org/content/repositories/cbi-releases/ --> |
| <jarSignerVersion>1.1.5</jarSignerVersion> |
| <tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/papyrus/org.eclipse.papyrus-requirements.git</tycho.scmUrl> |
| </properties> |
| |
| <!-- Children modules to build --> |
| <modules> |
| <module>plugins</module> |
| <module>releng</module> |
| <module>features</module> |
| <!-- <module>tests</module> --> |
| </modules> |
| |
| <pluginRepositories> |
| <!-- https://repo.maven.apache.org/maven2/ is being fetched by default --> |
| <!-- pluginRepository> |
| <id>central</id> |
| <name>Central Repository</name> |
| <url>https://repo.maven.apache.org/maven2</url> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </pluginRepository --> |
| <pluginRepository> |
| <id>org.eclipse.cbi.maven.plugins</id> |
| <name>Eclipse CBI</name> |
| <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </pluginRepository> |
| <pluginRepository> |
| <id>tycho-snapshots</id> |
| <url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url> |
| </pluginRepository> |
| </pluginRepositories> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${maven.compiler.version}</version> |
| <configuration> |
| <source>${java.source.version}</source> |
| <target>${java.target.version}</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>${maven.resources.version}</version> |
| <configuration> |
| <encoding>UTF-8</encoding> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-clean-plugin</artifactId> |
| <version>${maven.clean.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-repository-plugin</artifactId> |
| <version>${tycho.version}</version> |
| </plugin> |
| |
| <!-- Integration between Tycho and Maven --> |
| <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>tycho-compiler-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <configuration> |
| <source>${java.source.version}</source> |
| <target>${java.target.version}</target> |
| <optimize>true</optimize> |
| <showWarnings>true</showWarnings> |
| <!-- Tycho build using the project's JDT settings. --> |
| <useProjectSettings>true</useProjectSettings> |
| </configuration> |
| </plugin> |
| |
| <!-- Sources --> |
| <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.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-source-feature-plugin</artifactId> |
| <version>${tychoExtrasVersion}</version> |
| <executions> |
| <execution> |
| <id>source-feature</id> |
| <phase>package</phase> |
| <goals> |
| <goal>source-feature</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-packaging-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <configuration> |
| <sourceReferences> |
| <generate>true</generate> |
| </sourceReferences> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-sourceref-jgit</artifactId> |
| <version>${tychoExtrasVersion}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>target-platform-configuration</artifactId> |
| <version>${tycho.version}</version> |
| <configuration> |
| <environments> |
| <environment> |
| <os>linux</os> |
| <ws>gtk</ws> |
| <arch>x86_64</arch> |
| </environment> |
| <environment> |
| <os>win32</os> |
| <ws>win32</ws> |
| <arch>x86_64</arch> |
| </environment> |
| </environments> |
| <target> |
| <artifact> |
| <groupId>org.eclipse.papyrus.requirements</groupId> |
| <artifactId>org.eclipse.papyrus.requirements.targetplatform</artifactId> |
| <version>0.8.0-SNAPSHOT</version> |
| </artifact> |
| </target> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| |
| <profiles> |
| <profile> |
| <id>defaultProfile</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <executions> |
| <execution> |
| <id>attach-p2-metadata</id> |
| <phase>package</phase> |
| <goals> |
| <goal>p2-metadata</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <!-- Stable release profile. Eclipse servers only --> |
| <profile> |
| <id>packAndSign</id> |
| <activation> |
| <property> |
| <name>SIGN</name> |
| <value>true</value> |
| </property> |
| </activation> |
| <!-- Pack200 --> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-pack200a-plugin</artifactId> |
| <version>${tychoExtrasVersion}</version> |
| <executions> |
| <execution> |
| <id>pack200-normalize</id> |
| <goals> |
| <goal>normalize</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.cbi.maven.plugins</groupId> |
| <artifactId>eclipse-jarsigner-plugin</artifactId> |
| <version>${jarSignerVersion}</version> |
| <executions> |
| <execution> |
| <id>sign</id> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-pack200b-plugin</artifactId> |
| <version>${tychoExtrasVersion}</version> |
| <executions> |
| <execution> |
| <id>pack200-pack</id> |
| <goals> |
| <goal>pack</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <executions> |
| <execution> |
| <id>attach-p2-metadata</id> |
| <phase>package</phase> |
| <goals> |
| <goal>p2-metadata</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <defaultP2Metadata>false</defaultP2Metadata> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <!-- Nightly profile. Artifacts can be consumed, but are not signed --> |
| <profile> |
| <id>pack</id> |
| <activation> |
| <property> |
| <name>SIGN</name> |
| <value>false</value> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <!-- Pack200 --> |
| <plugin> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-pack200b-plugin</artifactId> |
| <version>${tychoExtrasVersion}</version> |
| <executions> |
| <execution> |
| <id>pack200-pack</id> |
| <goals> |
| <goal>pack</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <executions> |
| <execution> |
| <id>attach-p2-metadata</id> |
| <phase>package</phase> |
| <goals> |
| <goal>p2-metadata</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <defaultP2Metadata>false</defaultP2Metadata> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |