[releng] Change signature plugin, add eclipse CBI repository

Change-Id: I60e8505f7caf56a406daa1373404a485f1dd5318
Signed-off-by: aradermache <ansgar.radermacher@cea.fr>
diff --git a/pom.xml b/pom.xml
index a6771a3..3f0ec33 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
       </roles>
       <timezone>+1</timezone>
     </developer>
-  
+
     <developer>
       <id>YUM</id>
       <name>Yupanqui Munoz Julho</name>
@@ -38,7 +38,7 @@
       </roles>
       <timezone>+1</timezone>
     </developer>
-  
+
     <developer>
       <id>AR</id>
       <name>Ansgar Radermacher</name>
@@ -51,13 +51,13 @@
       <timezone>+1</timezone>
     </developer>
   </developers>
-  
+
   <!-- MODULES -->  
   <modules>
     <module>analysis</module>
     <module>p2</module>
   </modules>
-   
+ 
   <!-- REPOSITORIES -->
   <repositories> 
     <repository>
@@ -76,7 +76,18 @@
       <url>https://ci.eclipse.org/esf/job/esf-infra-nightly-build/lastSuccessfulBuild/artifact/p2/target/repository</url>
     </repository>
   </repositories>
-    
+
+  <pluginRepositories>
+	<pluginRepository>
+		<id>eclipse-maven-releases</id>
+		<url>https://repo.eclipse.org/content/repositories/releases/</url>
+		<snapshots>
+			<enabled>false</enabled>
+		</snapshots>
+	</pluginRepository>
+    <!-- https://repo.maven.apache.org/maven2/ is being fetched by default -->
+  </pluginRepositories>
+
   <!-- BUILD DEFINITION -->
   <build>
     <plugins>
@@ -151,44 +162,28 @@
           </execution>
         </executions>
       </plugin>
-      
+ 
     </plugins>
   </build>
-  
+
   <profiles>
-    <!-- Profile for tasks specific to the build on Eclipse Hudson instance:
-        - packAndSign: produce a stable update site (Packed & signed). Used for releases (+ milestones) only.
-    -->
+    <!-- Profile for tasks specific to the build on Eclipse CI instance:
+		- packAndSign: produce a stable update site (Packed & signed). Used for releases (+ milestones) only.
+	-->
     <profile>
       <id>packAndSign</id>
-      
-	  <pluginRepositories>
-        <pluginRepository>
-            <id>org.eclipse.cbi.maven.plugins</id>
-            <name>Eclipse CBI</name>
-            <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
-            <releases>
-                <enabled>true</enabled>
-            </releases>
-            <snapshots>
-                <enabled>false</enabled>
-            </snapshots>
-        </pluginRepository>
-      </pluginRepositories>
-  
       <build>
-        <pluginManagement>
-          <plugins>
-            <plugin>
-              <groupId>org.eclipse.cbi.maven.plugins</groupId>
-              <artifactId>eclipse-jarsigner-plugin</artifactId>
-              <version>${jarsigner-version}</version>
-            </plugin>
-          </plugins>    
-        </pluginManagement>
-        
+		<pluginManagement>
+		  <plugins>
+			<plugin>
+			  <groupId>org.eclipse.cbi.maven.plugins</groupId>
+			  <artifactId>eclipse-jarsigner-plugin</artifactId>
+			  <version>${jarsigner-version}</version>
+			</plugin>
+		  </plugins>
+		</pluginManagement>
+
         <plugins>
-        
           <!-- Plugins configuration to be able to sign the jars built on Eclipse servers -->
           <plugin>
             <groupId>org.eclipse.tycho.extras</groupId>
@@ -203,7 +198,7 @@
               </execution>
             </executions>
           </plugin>
-         
+
           <plugin>
             <groupId>org.eclipse.cbi.maven.plugins</groupId>
             <artifactId>eclipse-jarsigner-plugin</artifactId>
@@ -217,7 +212,7 @@
               </execution>
             </executions>
           </plugin>
-  
+
           <plugin>
             <groupId>org.eclipse.tycho.extras</groupId>
             <artifactId>tycho-pack200b-plugin</artifactId>
@@ -231,7 +226,7 @@
               </execution>
             </executions>
           </plugin>
-  
+
           <!-- Make sure that Tycho generates its p2 metadata after the JAR has been packed -->
           <plugin>
             <groupId>org.eclipse.tycho</groupId>
@@ -250,32 +245,35 @@
               <defaultP2Metadata>false</defaultP2Metadata>
             </configuration>
           </plugin>
-        
         </plugins>
       </build>
-      <activation>
-        <property>
-            <name>SIGN</name>
-            <value>true</value>
-        </property>
-      </activation>
+
+	  <activation>
+		<property>
+			<name>SIGN</name>
+			<value>true</value>
+		</property>
+	  </activation>
     </profile>
-    
- </profiles>
- 
+  </profiles>
+
   <!-- PROPERTIES -->
   <properties>
     <!-- Product version displayed in the title bar, etc. -->
     <product.version>0.7.0</product.version>
-    
+
     <!-- Tycho plugin version -->
     <tycho-version>2.7.5</tycho-version>
-    
-    <!-- eclipse-jarsigner plugin version -->
+
+	<!-- eclipse-jarsigner plugin version -->
     <jarsigner-version>1.3.2</jarsigner-version>
-      
+
     <!-- Enforce used of UTF encoding is mandatory. Otherwise, default platform encoding is used, and some issues appears with differents os constructions -->
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+
+    <!-- Sonar properties -->
+    <sonar.exclusions>**/src-gen/**/*</sonar.exclusions>
+    <sonar.language>java</sonar.language>
   </properties>
-  
+
 </project>