[533969] Move to tycho: package example installer

Change-Id: Id3c8f25326b3794ee0c9af1ce28ba6bb1cea1b79
Signed-off-by: Thomas Guiu <thomas.guiu@soyatec.com>
diff --git a/examples/workspace/org.eclipse.egf.examples.installer/.gitignore b/examples/workspace/org.eclipse.egf.examples.installer/.gitignore
index 5e56e04..5f27071 100644
--- a/examples/workspace/org.eclipse.egf.examples.installer/.gitignore
+++ b/examples/workspace/org.eclipse.egf.examples.installer/.gitignore
@@ -1 +1,2 @@
 /bin
+/zips
\ No newline at end of file
diff --git a/examples/workspace/org.eclipse.egf.examples.installer/pom.xml b/examples/workspace/org.eclipse.egf.examples.installer/pom.xml
new file mode 100644
index 0000000..f8e078a
--- /dev/null
+++ b/examples/workspace/org.eclipse.egf.examples.installer/pom.xml
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>

+<!--

+  Copyright (c) 2018 THALES GLOBAL SERVICES.

+  All rights reserved. This program and the accompanying materials

+  are made available under the terms of the Eclipse Public License v1.0

+  which accompanies this distribution, and is available at

+  http://www.eclipse.org/legal/epl-v10.html

+

+  Contributors:

+       Thales - initial API and implementation

+-->

+<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/maven-v4_0_0.xsd">

+

+	<modelVersion>4.0.0</modelVersion>

+	

+	<groupId>org.eclipse.egf</groupId>

+	<artifactId>org.eclipse.egf.examples.installer</artifactId>

+	

+	<packaging>eclipse-plugin</packaging>

+	

+	<parent>

+		<groupId>org.eclipse.egf</groupId>

+		<artifactId>egf_root</artifactId>

+		<version>1.6.0-SNAPSHOT</version>

+		<relativePath>../../..</relativePath>

+	</parent>

+	

+	<build>

+		<plugins>

+			<plugin>

+				<!-- Copy ziped component in zips -->

+				<artifactId>maven-antrun-plugin</artifactId>

+				<version>1.7</version>

+				<executions>

+					<execution>

+						<id>create-zip-files</id>

+						<phase>prepare-package</phase>

+						<configuration>

+							<target>

+								<echo>Zip and Copy component projects in zips</echo>

+								<delete dir="${basedir}/../org.eclipse.egf.example.emf.docgen.html/target"/>

+								<delete dir="${basedir}/../org.eclipse.egf.example.fcs/target"/>

+								<delete dir="${basedir}/../org.eclipse.egf.example.strategy.modeldriven/target"/>

+								<delete dir="${basedir}/../org.eclipse.egf.example.task.h1/target"/>

+								<delete dir="${basedir}/../org.eclipse.egf.usecase.emf.uc1/target"/>

+								<delete dir="${basedir}/../org.eclipse.egf.usecase.emf.uc2/target"/>

+								<delete dir="${basedir}/../org.eclipse.egf.usecase.emf.uc3/target"/>

+								<delete dir="${basedir}/../org.eclipse.egf.usecase.fc.uc1/target"/>

+								<delete dir="${basedir}/../org.eclipse.egf.usecase.pattern.uc1/target"/>

+								<delete dir="${basedir}/../org.eclipse.egf.usecase.pattern.uc2/target"/>

+								<delete dir="${basedir}/../org.eclipse.egf.portfolio.genchain.extension/target"/>

+								<delete dir="${basedir}/../org.eclipse.egf.usecase.generationchain.uc1/target"/>

+								<delete dir="${basedir}/../org.eclipse.egf.usecase.activityworkflow.uc1/target"/>

+								<delete dir="${basedir}/../org.eclipse.egf.example.task.ant/target"/>

+								<delete dir="${basedir}/../org.eclipse.egf.portfolio.eclipse.build.examples/target"/>

+								<delete dir="${basedir}/../org.eclipse.egf.usecase.jet/target"/>

+								<delete dir="${basedir}/../org.eclipse.egf.usecase.pattern.uc3.m2treporting/target"/>

+								<delete dir="${basedir}/../org.eclipse.egf.example.task.h4/target"/>

+																

+								<zip destfile="${basedir}/zips/org.eclipse.egf.example.emf.docgen.html.zip"	basedir="${basedir}/../org.eclipse.egf.example.emf.docgen.html"/>

+								<zip destfile="${basedir}/zips/org.eclipse.egf.example.fcs.zip"	basedir="${basedir}/../org.eclipse.egf.example.fcs"/>

+								<zip destfile="${basedir}/zips/org.eclipse.egf.example.strategy.modeldriven.zip"	basedir="${basedir}/../org.eclipse.egf.example.strategy.modeldriven"/>

+								<zip destfile="${basedir}/zips/org.eclipse.egf.example.task.h1.zip"	basedir="${basedir}/../org.eclipse.egf.example.task.h1"/>

+								<zip destfile="${basedir}/zips/org.eclipse.egf.usecase.emf.uc1.zip"	basedir="${basedir}/../org.eclipse.egf.usecase.emf.uc1"/>

+								<zip destfile="${basedir}/zips/org.eclipse.egf.usecase.emf.uc2.zip"	basedir="${basedir}/../org.eclipse.egf.usecase.emf.uc2"/>

+								<zip destfile="${basedir}/zips/org.eclipse.egf.usecase.emf.uc3.zip"	basedir="${basedir}/../org.eclipse.egf.usecase.emf.uc3"/>

+								<zip destfile="${basedir}/zips/org.eclipse.egf.usecase.fc.uc1.zip"	basedir="${basedir}/../org.eclipse.egf.usecase.fc.uc1"/>

+								<zip destfile="${basedir}/zips/org.eclipse.egf.usecase.pattern.uc1.zip"	basedir="${basedir}/../org.eclipse.egf.usecase.pattern.uc1"/>

+								<zip destfile="${basedir}/zips/org.eclipse.egf.usecase.pattern.uc2.zip"	basedir="${basedir}/../org.eclipse.egf.usecase.pattern.uc2"/>

+								<zip destfile="${basedir}/zips/org.eclipse.egf.portfolio.genchain.extension.zip"	basedir="${basedir}/../org.eclipse.egf.portfolio.genchain.extension"/>

+								<zip destfile="${basedir}/zips/org.eclipse.egf.usecase.generationchain.uc1.zip"	basedir="${basedir}/../org.eclipse.egf.usecase.generationchain.uc1"/>

+								<zip destfile="${basedir}/zips/org.eclipse.egf.usecase.activityworkflow.uc1.zip"	basedir="${basedir}/../org.eclipse.egf.usecase.activityworkflow.uc1"/>

+								<zip destfile="${basedir}/zips/org.eclipse.egf.example.task.ant.zip"	basedir="${basedir}/../org.eclipse.egf.example.task.ant"/>

+								<zip destfile="${basedir}/zips/org.eclipse.egf.portfolio.eclipse.build.examples.zip"	basedir="${basedir}/../org.eclipse.egf.portfolio.eclipse.build.examples"/>

+								<zip destfile="${basedir}/zips/org.eclipse.egf.usecase.jet.zip"	basedir="${basedir}/../org.eclipse.egf.usecase.jet"/>

+								<zip destfile="${basedir}/zips/org.eclipse.egf.usecase.pattern.uc3.m2treporting.zip"	basedir="${basedir}/../org.eclipse.egf.usecase.pattern.uc3.m2treporting"/>

+								<zip destfile="${basedir}/zips/org.eclipse.egf.example.task.h4.zip"	basedir="${basedir}/../org.eclipse.egf.example.task.h4"/>							</target>

+						</configuration>

+						<goals>

+							<goal>run</goal>

+						</goals>

+					</execution>

+				</executions>

+			</plugin>

+		</plugins>

+	</build>

+</project>

diff --git a/pom.xml b/pom.xml
index 3d83186..b6687fd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -194,29 +194,7 @@
 				<module>tests/org.eclipse.egf.core.test.model.editor</module>
 				<module>tests/org.eclipse.egf.core.test.pattern</module>
 				<module>tests/org.eclipse.egf.portfolio.task.ant.test</module>
-				<module>examples/workspace/org.eclipse.egf.example.emf.docgen.html</module>
-				<module>examples/workspace/org.eclipse.egf.example.fcs</module>
-				<module>examples/workspace/org.eclipse.egf.example.strategy.modeldriven</module>
-				<module>examples/workspace/org.eclipse.egf.example.task.ant</module>
-				<module>examples/workspace/org.eclipse.egf.example.task.h1</module>
-				<module>examples/workspace/org.eclipse.egf.example.task.h4</module>
 				<module>examples/workspace/org.eclipse.egf.examples.installer</module>
-				<module>examples/workspace/org.eclipse.egf.portfolio.acceleo3.examples.installer</module>
-				<module>examples/workspace/org.eclipse.egf.portfolio.atl.examples.installer</module>
-				<module>examples/workspace/org.eclipse.egf.portfolio.eclipse.build.examples</module>
-				<module>examples/workspace/org.eclipse.egf.portfolio.genchain.extension</module>
-				<module>examples/workspace/org.eclipse.egf.usecase.acceleo3</module>
-				<module>examples/workspace/org.eclipse.egf.usecase.activityworkflow.uc1</module>
-				<module>examples/workspace/org.eclipse.egf.usecase.atl</module>
-				<module>examples/workspace/org.eclipse.egf.usecase.emf.uc1</module>
-				<module>examples/workspace/org.eclipse.egf.usecase.emf.uc2</module>
-				<module>examples/workspace/org.eclipse.egf.usecase.emf.uc3</module>
-				<module>examples/workspace/org.eclipse.egf.usecase.fc.uc1</module>
-				<module>examples/workspace/org.eclipse.egf.usecase.generationchain.uc1</module>
-				<module>examples/workspace/org.eclipse.egf.usecase.jet</module>
-				<module>examples/workspace/org.eclipse.egf.usecase.pattern.uc1</module>
-				<module>examples/workspace/org.eclipse.egf.usecase.pattern.uc2</module>
-				<module>examples/workspace/org.eclipse.egf.usecase.pattern.uc3.m2treporting</module>
 				<module>doc/org.eclipse.egf.doc.user</module>
 				<module>doc/org.eclipse.egf.engine.doc</module>
 				<module>doc/org.eclipse.egf.engine.doc.pattern</module>