Add eclipse-sign profile

Signed-off-by: Fred Bricon <fbricon@gmail.com>
diff --git a/pom.xml b/pom.xml
index c5a75ce..40d3abf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,6 +25,8 @@
 
   <properties>
     <tycho-version>0.15.0</tycho-version>
+    <tycho-extras-version>${tycho-version}</tycho-extras-version>
+    
     <test.timeout>1800</test.timeout><!--  30 mins -->       
     <tycho.test.jvmArgs>-Xmx512m -XX:MaxPermSize=256m</tycho.test.jvmArgs>
     <eclipse.target>juno</eclipse.target>
@@ -174,17 +176,46 @@
         <osgi.ws>cocoa</osgi.ws>
       </properties>
     </profile>
+    
     <profile>
-      <id>sign</id>
-      <activation>
-        <property><name>jarsigner.alias</name></property>
-      </activation>
+      <id>eclipse-sign</id>
+
+      <pluginRepositories>
+        <pluginRepository>
+          <id>m2e-cbi</id>
+          <url>http://download.eclipse.org/technology/m2e/maven/</url>
+        </pluginRepository>
+      </pluginRepositories>
+
       <build>
         <plugins>
           <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-jarsigner-plugin</artifactId>
-            <version>1.2</version>
+            <groupId>org.eclipse.tycho</groupId>
+            <artifactId>target-platform-configuration</artifactId>
+            <version>${tycho-version}</version>
+            <configuration>
+              <includePackedArtifacts>true</includePackedArtifacts>
+            </configuration>
+          </plugin>
+
+          <plugin>
+            <groupId>org.eclipse.tycho.extras</groupId>
+            <artifactId>tycho-pack200a-plugin</artifactId>
+            <version>${tycho-extras-version}</version>
+            <executions>
+              <execution>
+                <id>pack200-normalize</id>
+                <goals>
+                  <goal>normalize</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+
+          <plugin>
+            <groupId>org.eclipse.cbi.maven.plugins</groupId>
+            <artifactId>eclipse-jarsigner-plugin</artifactId>
+            <version>1.0.0</version>
             <executions>
               <execution>
                 <id>sign</id>
@@ -194,8 +225,41 @@
               </execution>
             </executions>
           </plugin>
+
+          <plugin>
+            <groupId>org.eclipse.tycho.extras</groupId>
+            <artifactId>tycho-pack200b-plugin</artifactId>
+            <version>${tycho-extras-version}</version>
+            <executions>
+              <execution>
+                <id>pack200-pack</id>
+                <goals>
+                  <goal>pack</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+
+          <plugin>
+            <groupId>org.eclipse.tycho</groupId>
+            <artifactId>tycho-p2-plugin</artifactId>
+            <version>${tycho-version}</version>
+            <executions>
+              <execution>
+                <id>p2-metadata</id>
+                <goals>
+                  <goal>p2-metadata</goal>
+                </goals>
+                <phase>package</phase>
+              </execution>
+              </executions>
+            <configuration>
+              <defaultP2Metadata>false</defaultP2Metadata>
+            </configuration>
+          </plugin>
         </plugins>
       </build>
     </profile>
-  </profiles>
+    
+    </profiles>
 </project>