blob: 9e4e286679252b7e0269e9c310b872b25ebfdaf3 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<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.eclipse.emf.ecp</groupId>
<artifactId>ecp-examples-parent</artifactId>
<version>1.25.0-SNAPSHOT</version>
<relativePath>../../releng/org.eclipse.emf.ecp.releng.examples/</relativePath>
</parent>
<artifactId>org.eclipse.emf.ecp.makeithappen.wizards</artifactId>
<packaging>eclipse-plugin</packaging>
<groupId>org.eclipse.emf.ecp</groupId>
<version>1.25.0-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<id>copy-e3</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>./examples/org.eclipse.emf.ecp.makeithappen.application.sample.e3</outputDirectory>
<resources>
<resource>
<directory>../org.eclipse.emf.ecp.makeithappen.application.sample.e3</directory>
<excludes>
<exclude>bin/</exclude>
<exclude>target/</exclude>
<exclude>**/.checkstyle</exclude>
<exclude>**/pom.xml</exclude>
</excludes>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-e3-feature</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>./examples/org.eclipse.emf.ecp.makeithappen.e3.feature</outputDirectory>
<resources>
<resource>
<directory>../org.eclipse.emf.ecp.makeithappen.e3.feature</directory>
<excludes>
<exclude>bin/</exclude>
<exclude>target/</exclude>
<exclude>**/.checkstyle</exclude>
<exclude>**/pom.xml</exclude>
</excludes>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-e4</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>./examples/org.eclipse.emf.ecp.makeithappen.application.sample.e4</outputDirectory>
<resources>
<resource>
<directory>../org.eclipse.emf.ecp.makeithappen.application.sample.e4</directory>
<excludes>
<exclude>bin/</exclude>
<exclude>target/</exclude>
<exclude>**/.checkstyle</exclude>
<exclude>**/pom.xml</exclude>
</excludes>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-e4-feature</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>./examples/org.eclipse.emf.ecp.makeithappen.e4.feature</outputDirectory>
<resources>
<resource>
<directory>../org.eclipse.emf.ecp.makeithappen.e4.feature</directory>
<excludes>
<exclude>bin/</exclude>
<exclude>target/</exclude>
<exclude>**/.checkstyle</exclude>
<exclude>**/pom.xml</exclude>
</excludes>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
<!-- Enable when fx was tested
<execution>
<id>copy-fx</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>./examples/org.eclipse.emf.ecp.makeithappen.application.sample.fx</outputDirectory>
<resources>
<resource>
<directory>../org.eclipse.emf.ecp.makeithappen.application.sample.fx</directory>
<excludes>
<exclude>bin/</exclude>
<exclude>target/</exclude>
<exclude>**/.checkstyle</exclude>
<exclude>**/pom.xml</exclude>
</excludes>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
-->
<execution>
<id>copy-rap</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>./examples/org.eclipse.emf.ecp.makeithappen.application.sample.rap</outputDirectory>
<resources>
<resource>
<directory>../org.eclipse.emf.ecp.makeithappen.application.sample.rap</directory>
<excludes>
<exclude>bin/</exclude>
<exclude>target/</exclude>
<exclude>**/.checkstyle</exclude>
<exclude>**/pom.xml</exclude>
</excludes>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-rapj2ee</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>./examples/org.eclipse.emf.ecp.makeithappen.application.sample.rap.j2ee</outputDirectory>
<resources>
<resource>
<directory>../org.eclipse.emf.ecp.makeithappen.application.sample.rap.j2ee</directory>
<excludes>
<exclude>bin/</exclude>
<exclude>target/</exclude>
<exclude>**/.checkstyle</exclude>
<exclude>**/pom.xml</exclude>
</excludes>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-model</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>./examples/org.eclipse.emf.ecp.makeithappen.model</outputDirectory>
<resources>
<resource>
<directory>../org.eclipse.emf.ecp.makeithappen.model</directory>
<excludes>
<exclude>bin/</exclude>
<exclude>target/</exclude>
<exclude>**/.checkstyle</exclude>
<exclude>**/pom.xml</exclude>
</excludes>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-modeledit</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>./examples/org.eclipse.emf.ecp.makeithappen.model.edit</outputDirectory>
<resources>
<resource>
<directory>../org.eclipse.emf.ecp.makeithappen.model.edit</directory>
<excludes>
<exclude>bin/</exclude>
<exclude>target/</exclude>
<exclude>**/.checkstyle</exclude>
<exclude>**/pom.xml</exclude>
</excludes>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-viewmodel</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>./examples/org.eclipse.emf.ecp.makeithappen.model.viewmodel</outputDirectory>
<resources>
<resource>
<directory>../org.eclipse.emf.ecp.makeithappen.model.viewmodel</directory>
<excludes>
<exclude>bin/</exclude>
<exclude>target/</exclude>
<exclude>**/.checkstyle</exclude>
<exclude>**/pom.xml</exclude>
</excludes>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-email</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>./examples/org.eclipse.emf.ecp.makeithappen.view.email.renderer</outputDirectory>
<resources>
<resource>
<directory>../org.eclipse.emf.ecp.makeithappen.view.email.renderer</directory>
<excludes>
<exclude>bin/</exclude>
<exclude>target/</exclude>
<exclude>**/.checkstyle</exclude>
<exclude>**/pom.xml</exclude>
</excludes>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-group</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>./examples/org.eclipse.emf.ecp.makeithappen.view.group.renderer</outputDirectory>
<resources>
<resource>
<directory>../org.eclipse.emf.ecp.makeithappen.view.group.renderer</directory>
<excludes>
<exclude>bin/</exclude>
<exclude>target/</exclude>
<exclude>**/.checkstyle</exclude>
<exclude>**/pom.xml</exclude>
</excludes>
<!-- Setting filtering to true will cause maven to look at the jar
file and replace stuff. The result is an invalid jar -->
<filtering>false</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
<version>1.5.3</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>replace</goal>
</goals>
</execution>
</executions>
<configuration>
<basedir>${project.basedir}/examples</basedir>
<includes>
<include>**/.project</include>
</includes>
<regexFlags>
<regexFlag>MULTILINE</regexFlag>
</regexFlags>
<replacements>
<replacement>
<token>\n\t+&lt;buildCommand&gt;\s*&lt;name&gt;net.sf.eclipsecs.core.CheckstyleBuilder&lt;/name&gt;\s*&lt;arguments&gt;\s*&lt;/arguments&gt;\s*&lt;/buildCommand&gt;</token>
<value/>
</replacement>
<replacement>
<token>\n\t+&lt;nature&gt;net.sf.eclipsecs.core.CheckstyleNature&lt;/nature&gt;</token>
<value />
</replacement>
</replacements>
</configuration>
</plugin>
</plugins>
</build>
</project>