blob: 5e3a0ba7d14dc6e837ab13bc84260be7e6439768 [file] [log] [blame]
<?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>
<parent>
<groupId>org.eclipse.emf.ecp</groupId>
<artifactId>ecp-parent</artifactId>
<version>1.26.0-SNAPSHOT</version>
<relativePath>../../releng/org.eclipse.emf.ecp.releng/</relativePath>
</parent>
<groupId>org.eclipse.emf.ecp</groupId>
<artifactId>ecp-examples-parent</artifactId>
<version>1.26.0-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<!-- Common -->
<module>../../examples/org.eclipse.emfforms.example.common.wizards</module>
<!-- MakeItHappen Demo -->
<module>../../examples/org.eclipse.emf.ecp.makeithappen.feature</module>
<module>../../examples/org.eclipse.emf.ecp.makeithappen.e3.feature</module>
<module>../../examples/org.eclipse.emf.ecp.makeithappen.e4.feature</module>
<module>../../examples/org.eclipse.emf.ecp.makeithappen.model</module>
<module>../../examples/org.eclipse.emf.ecp.makeithappen.model.viewmodel</module>
<module>../../examples/org.eclipse.emf.ecp.makeithappen.model.edit</module>
<module>../../examples/org.eclipse.emf.ecp.makeithappen.view.email.renderer</module>
<module>../../examples/org.eclipse.emf.ecp.makeithappen.view.group.renderer</module>
<module>../../examples/org.eclipse.emf.ecp.makeithappen.wizards</module>
<module>../../examples/org.eclipse.emf.ecp.makeithappen.application.sample.e3</module>
<module>../../examples/org.eclipse.emf.ecp.makeithappen.application.sample.e4</module>
<module>../../examples/org.eclipse.emf.ecp.makeithappen.application.sample.rap</module>
<module>../../examples/org.eclipse.emf.ecp.makeithappen.application.sample.rap.j2ee</module>
<!-- coffee example -->
<module>../../examples/org.eclipse.emfforms.coffee.feature</module>
<module>../../examples/org.eclipse.emfforms.coffee.model</module>
<module>../../examples/org.eclipse.emfforms.coffee.model.edit</module>
<module>../../examples/org.eclipse.emfforms.coffee.model.viewmodel</module>
<module>../../examples/org.eclipse.emfforms.coffee.wizards</module>
</modules>
<build>
<plugins>
<!-- 1. -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<executions>
<execution>
<id>attach-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>${tycho-version}</version>
<executions>
<execution>
<id>generate-source-feature</id>
<goals>
<goal>source-feature</goal>
</goals>
</execution>
</executions>
<configuration>
<excludes>
<feature id="org.eclipse.emf.ecp.makeithappen.e3"/>
<feature id="org.eclipse.emf.ecp.makeithappen.e4"/>
</excludes>
<labelSuffix>&#xA0;incl. Sources</labelSuffix>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<!-- 2. -->
<id>default-p2-metadata-default</id>
<configuration>
<attachP2Metadata>false</attachP2Metadata>
</configuration>
</execution>
<execution>
<id>attach-p2-metadata</id>
<phase>package</phase>
<goals>
<goal>p2-metadata</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<!-- 2. -->
<profile>
<id>build-server</id>
<build>
<plugins>
<!-- 3.a -->
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pack200a-plugin</artifactId>
<version>${tycho-version}</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>${jarsigner-version}</version>
<executions>
<execution>
<id>sign</id>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<configuration>
<excludeInnerJars>true</excludeInnerJars>
</configuration>
</plugin>
<!-- 3.b -->
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pack200b-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>pack200-pack</id>
<goals>
<goal>pack</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- 4. -->
<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>