| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.polarsys.chess</groupId> |
| <artifactId>org.polarsys.chess.releng</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>org.polarsys.chess.product</artifactId> |
| <packaging>eclipse-repository</packaging> |
| |
| <profiles> |
| <profile> |
| <id>ProductionUpdateSite</id> |
| </profile> |
| <profile> |
| <id>DevelopmentUpdateSite</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| </profile> |
| </profiles> |
| |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.m2e</groupId> |
| <artifactId>lifecycle-mapping</artifactId> |
| <version>1.0.0</version> |
| <configuration> |
| <lifecycleMappingMetadata> |
| <pluginExecutions> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-clean-plugin</artifactId> |
| <versionRange>[2.5,)</versionRange> |
| <goals> |
| <goal>clean</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore></ignore> |
| </action> |
| </pluginExecution> |
| </pluginExecutions> |
| </lifecycleMappingMetadata> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <plugin> |
| <groupId>com.google.code.maven-replacer-plugin</groupId> |
| <artifactId>replacer</artifactId> |
| <version>1.5.3</version> |
| <executions> |
| <execution> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>replace</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <file>${project.basedir}/CHESS.product</file> |
| <replacements> |
| <replacement> |
| <token>SOME</token> |
| <value>SOMEVALUE</value> |
| </replacement> |
| </replacements> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-repository-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <configuration> |
| <includeAllDependencies>true</includeAllDependencies> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-director-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <executions> |
| <execution> |
| <id>materialize-products</id> |
| <goals> |
| <goal>materialize-products</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>archive-products</id> |
| <goals> |
| <goal>archive-products</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <products> |
| <product> |
| <id>org.polarsys.chess.product</id> |
| <archiveFileName>CHESS-${buildNumber}</archiveFileName> |
| </product> |
| </products> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |