Bug 492886 - [RobotML] job failes on papyrus nightly

- adding a nightly neon papyrus target platform

Change-Id: I8ff733e3cfcece99e25a45a8c1a80f24e804c86f
Signed-off-by: Francois Le Fevre - CEA <francois.le-fevre@cea.fr>
diff --git a/pom.xml b/pom.xml
index 9abf0fe..6b20dc0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,6 @@
 		<module>releng</module>
 	</modules>
 	<repositories>
-
 		<repository>
 			<id>eclipse-neon</id>
 			<layout>p2</layout>
@@ -412,7 +411,6 @@
 							<outputEncoding>UTF-8</outputEncoding>
 							<skipDeploy>false</skipDeploy>
 							<stagingSiteURL>file://${siteMainDirectory}/${project.version}</stagingSiteURL>
-							<!--topSiteURL>http://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/</topSiteURL -->
 						</configuration>
 						<dependencies>
 							<dependency>
@@ -758,7 +756,7 @@
 			<id>web.staging</id>
 			<properties>
 				<web.absoluteResourceURL>https://hudson.eclipse.org/papyrus/view/RobotML/job/papyrus-robotml-website/ws/site-staging/${project.version}/</web.absoluteResourceURL>
-				<web.href>https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-RobotML-website/ws/site-staging/${project.version}/index.html</web.href>
+				<web.href>https://hudson.eclipse.org/papyrus/view/RobotML/job/papyrus-RobotML-website/ws/site-staging/${project.version}/index.html</web.href>
 			</properties>
 		</profile>
 		<profile>
diff --git a/targetplatform/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly/.project b/targetplatform/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly/.project
new file mode 100644
index 0000000..c02abcb
--- /dev/null
+++ b/targetplatform/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.m2e.core.maven2Builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.m2e.core.maven2Nature</nature>
+	</natures>
+</projectDescription>
diff --git a/targetplatform/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly/.settings/org.eclipse.core.resources.prefs b/targetplatform/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..99f26c0
--- /dev/null
+++ b/targetplatform/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
diff --git a/targetplatform/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly/.settings/org.eclipse.m2e.core.prefs b/targetplatform/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly/.settings/org.eclipse.m2e.core.prefs
new file mode 100644
index 0000000..f897a7f
--- /dev/null
+++ b/targetplatform/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly/.settings/org.eclipse.m2e.core.prefs
@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
diff --git a/targetplatform/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly.target b/targetplatform/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly.target
new file mode 100644
index 0000000..7d17735
--- /dev/null
+++ b/targetplatform/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly.target
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?pde?>
+<!-- generated with https://github.com/mbarbero/fr.obeo.releng.targetplatform -->
+<target name="Papyrus Neon M6 Nightly" sequenceNumber="1458809259">
+  <locations>
+    <location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
+      <unit id="org.eclipse.platform.feature.group" version="0.0.0"/>
+      <unit id="org.eclipse.rcp.feature.group" version="0.0.0"/>
+      <unit id="org.eclipse.jdt.feature.group" version="0.0.0"/>
+      <unit id="org.eclipse.cdt.feature.group" version="0.0.0"/>
+      <unit id="org.eclipse.equinox.p2.discovery.feature.feature.group" version="0.0.0"/>
+      <unit id="org.eclipse.equinox.executable.feature.group" version="0.0.0"/>
+      <repository id="eclipse-neon" location="http://download.eclipse.org/releases/neon/"/>
+    </location>
+    <location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
+      <unit id="org.eclipse.papyrus.sdk.feature.feature.group" version="0.0.0"/>
+      <repository id="eclipse-papyrus-nighlty-neon" location="http://download.eclipse.org/modeling/mdt/papyrus/updates/nightly/neon/main/"/>
+    </location>
+  </locations>
+</target>
diff --git a/targetplatform/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly.tpd b/targetplatform/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly.tpd
new file mode 100644
index 0000000..bf8e48b
--- /dev/null
+++ b/targetplatform/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly.tpd
@@ -0,0 +1,15 @@
+target "Papyrus Neon M6 Nightly" with source requirements
+
+location "http://download.eclipse.org/releases/neon/" eclipse-neon {
+ org.eclipse.platform.feature.group lazy
+ org.eclipse.rcp.feature.group lazy
+ org.eclipse.jdt.feature.group lazy
+ org.eclipse.cdt.feature.group lazy
+ org.eclipse.equinox.p2.discovery.feature.feature.group lazy
+ org.eclipse.equinox.executable.feature.group lazy
+}
+
+location "http://download.eclipse.org/modeling/mdt/papyrus/updates/nightly/neon/main/" eclipse-papyrus-nighlty-neon {
+ org.eclipse.papyrus.sdk.feature.feature.group lazy
+}
+
diff --git a/targetplatform/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly/pom.xml b/targetplatform/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly/pom.xml
new file mode 100644
index 0000000..f43dd1d
--- /dev/null
+++ b/targetplatform/org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly/pom.xml
@@ -0,0 +1,14 @@
+<?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>
+		<artifactId>org.eclipse.papyrus.robotml.targetplatform</artifactId>
+		<groupId>org.eclipse.papyrus.robotml</groupId>
+		<version>1.2.0-SNAPSHOT</version>
+	</parent>	
+	<artifactId>org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly</artifactId>
+	<packaging>eclipse-target-definition</packaging>
+	<name>org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly</name>
+	<description>This plug-in contains the target definition for Papyrus robotml in Neon Nightly</description>
+</project>
\ No newline at end of file
diff --git a/targetplatform/pom.xml b/targetplatform/pom.xml
index d07d27d..9c48089 100644
--- a/targetplatform/pom.xml
+++ b/targetplatform/pom.xml
@@ -13,18 +13,26 @@
 	<description>This module contains the different target platform definitions</description>
 	<profiles>
 		<profile>
-			<id>mars</id>
+			<id>neon</id>
 			<activation>
 				<activeByDefault>true</activeByDefault>
-				<property>
-					<name>eclipse.release</name>
-					<value>neon</value>
-				</property>
 			</activation>
 			<modules>
 				<module>org.eclipse.papyrus.robotml.targetplatform.neon</module>
 			</modules>
 		</profile>
+		<profile>
+			<id>neon-papyrusnightly</id>
+			<activation>
+				<property>
+					<name>eclipse.release</name>
+					<value>neon-papyrusnightly</value>
+				</property>
+			</activation>
+			<modules>
+				<module>org.eclipse.papyrus.robotml.targetplatform.neon-papyrusnightly</module>
+			</modules>
+		</profile>
 	</profiles>
 
 </project>
\ No newline at end of file
diff --git a/targetplatform/src/site/xdoc/home.xml b/targetplatform/src/site/xdoc/home.xml
index cdfe381..058ba4a 100644
--- a/targetplatform/src/site/xdoc/home.xml
+++ b/targetplatform/src/site/xdoc/home.xml
@@ -3,7 +3,7 @@
 	xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
 
 	<properties>
-		<title>SysML Target</title>
+		<title>RobotML Target</title>
 	</properties>
 
 	<body>