Bug 579959: [Build] Remove JBoss references from pom.xml to fix jobs in errors
- we also replaced tycho-source-feature-plugin:source-feature by tycho-source-plugin:feature-source
- we also removed the reference to the tycho snapshot update site

Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
Change-Id: Ifea48045b1161465319290b6657da237fca8a14a
diff --git a/features/org.eclipse.papyrus.sysml16.elementgroup.feature/feature.xml b/features/org.eclipse.papyrus.sysml16.elementgroup.feature/feature.xml
index 50b90c9..ca383ce 100644
--- a/features/org.eclipse.papyrus.sysml16.elementgroup.feature/feature.xml
+++ b/features/org.eclipse.papyrus.sysml16.elementgroup.feature/feature.xml
@@ -21,7 +21,7 @@
 SPDX-License-Identifier: EPL-2.0
    </copyright>
 
-     <requires>
+   <requires>
       <import feature="org.eclipse.papyrus.sysml16.feature" version="2.2.0" match="compatible"/>
    </requires>
    
diff --git a/pom.xml b/pom.xml
index 77ceccc..256d2b1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,8 +34,8 @@
 		<target.groupId>org.eclipse.papyrus.sysml</target.groupId>
 		<target.artifactId>org.eclipse.papyrus.sysml16.targetplatform</target.artifactId>
 
-		<tycho.version>2.2.0</tycho.version>
-		<tychoExtras.version>2.2.0</tychoExtras.version>
+		<tycho.version>2.4.0</tycho.version>
+		<tychoExtras.version>2.4.0</tychoExtras.version>
 		<xtext.version>2.23.0</xtext.version>
 		<maven.resources.version>3.2.0</maven.resources.version>
 		<maven.clean.version>3.1.0</maven.clean.version>
@@ -44,8 +44,6 @@
 		<maven.compiler.version>3.8.1</maven.compiler.version>
 		<!-- https://repo.eclipse.org/content/repositories/cbi-releases/ -->
 		<eclipse-cbi.version>1.3.2</eclipse-cbi.version>
-		<!-- https://repository.jboss.org/ -->
-		<jboss.utils.version>1.7.0</jboss.utils.version>
 		<java.source.version>11</java.source.version>
 		<java.target.version>11</java.target.version>
 
@@ -89,11 +87,6 @@
 
 
 	<pluginRepositories>
-		<!-- https://repo.maven.apache.org/maven2/ is being fetched by default -->
-		<pluginRepository>
-			<id>tycho-snapshots</id>
-			<url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url>
-		</pluginRepository>
 		<pluginRepository>
 			<id>org.eclipse.cbi.maven.plugins</id>
 			<name>Eclipse CBI</name>
@@ -105,10 +98,6 @@
 				<enabled>false</enabled>
 			</snapshots>
 		</pluginRepository>
-		<pluginRepository>
-			<id>org.jboss.tools.tycho-plugins</id>
-			<url>https://repository.jboss.org/</url>
-		</pluginRepository>
 	</pluginRepositories>
 
 	<repositories>
@@ -260,18 +249,10 @@
 							<goal>plugin-source</goal>
 						</goals>
 					</execution>
-				</executions>
-			</plugin>
-			<plugin>
-				<groupId>org.eclipse.tycho.extras</groupId>
-				<artifactId>tycho-source-feature-plugin</artifactId>
-				<version>${tychoExtras.version}</version>
-				<executions>
 					<execution>
-						<id>source-feature</id>
-						<phase>package</phase>
+						<id>feature-source</id>
 						<goals>
-							<goal>source-feature</goal>
+							<goal>feature-source</goal>
 						</goals>
 						<configuration>
 							<excludes>
diff --git a/releng/org.eclipse.papyrus.sysml16.p2/pom.xml b/releng/org.eclipse.papyrus.sysml16.p2/pom.xml
index 67ec1d9..ecad323 100644
--- a/releng/org.eclipse.papyrus.sysml16.p2/pom.xml
+++ b/releng/org.eclipse.papyrus.sysml16.p2/pom.xml
@@ -11,41 +11,4 @@
 	<packaging>eclipse-repository</packaging>
 	<name>org.eclipse.papyrus.sysml16.p2</name>
 	<description>This plugin defines the update site of SysML 1.6 plugins and feature.</description>
-
-	<build>
-		<plugins>
-			<plugin>
-				<!-- https://github.com/jbosstools/jbosstools-maven-plugins/wiki -->
-				<groupId>org.jboss.tools.tycho-plugins</groupId>
-				<artifactId>repository-utils</artifactId>
-				<version>${jboss.utils.version}</version>
-				<executions>
-					<execution>
-						<id>generate-facade</id>
-						<phase>package</phase>
-						<goals>
-							<goal>generate-repository-facade</goal>
-						</goals>
-						<configuration>
-							<!-- do not generate the pesky web folder and index.html -->
-							<skipWebContentGeneration>true</skipWebContentGeneration>
-							<symbols>
-								<update.site.name>SysML 1.6</update.site.name>
-								<update.site.description>Use this URL in Eclipse to install	SysML 1.6</update.site.description>
-								<update.site.version>${project.version}</update.site.version>
-								<project.website>https://www.eclipse.org/papyrus/components/sysml</project.website>
-								<project.issues>${project.issueManagement.url}</project.issues>
-								<eclipse.target>${eclipse.targetrelease}</eclipse.target>
-								<update.site.nightly>https://ci.eclipse.org/papyrus/job/papyrus-sysml16-master/lastSuccessfulBuild/artifact/releng/org.eclipse.papyrus.sysml16.p2/target/repository/</update.site.nightly>
-							</symbols>
-							<associateSites>
-								<site>https://download.eclipse.org/modeling/mdt/papyrus/updates/releases/2022-03</site>
-							</associateSites>
-							<p2StatsUrl>http://download.eclipse.org/stats</p2StatsUrl>
-						</configuration>
-					</execution>
-				</executions>
-			</plugin>
-		</plugins>
-	</build>
 </project>
\ No newline at end of file