Bump versions for 2.2.0 release
[deliverable/tracecompass.git] / rcp / org.eclipse.tracecompass.rcp.product / pom.xml
index b16320f363abe88353da809f3934f90ac8437528..9f21c0a652a1abbd87ada4e6df9aa4d76f93fc45 100644 (file)
@@ -4,20 +4,24 @@
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
-    <version>1.0.0-SNAPSHOT</version>
-    <artifactId>tracing</artifactId>
-    <packaging>eclipse-repository</packaging>
-    <name>Trace Compass RCP Product</name>
-
     <parent>
       <artifactId>org.eclipse.tracecompass.rcp-parent</artifactId>
       <groupId>org.eclipse.tracecompass</groupId>
-      <version>1.0.0-SNAPSHOT</version>
+      <version>2.2.0-SNAPSHOT</version>
     </parent>
 
+    <artifactId>org.eclipse.tracecompass.rcp.product</artifactId>
+    <packaging>eclipse-repository</packaging>
+
+    <name>Trace Compass RCP Product</name>
+
     <properties>
         <productId>org.eclipse.tracecompass.rcp</productId>
         <maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
+        <archiveFileName>trace-compass-${unqualifiedVersion}-${build.timestamp}</archiveFileName>
+        <rootFolder>trace-compass</rootFolder>
+        <!-- for MacOSX, make sure you use a folder ending with .app , see bug 463670 -->
+        <rootFolderMac>${rootFolder}.app</rootFolderMac>
     </properties>
 
     <build>
                 <configuration>
                     <products>
                         <product>
-                            <archiveFileName>trace-compass-${unqualifiedVersion}-${build.timestamp}</archiveFileName>
+                            <archiveFileName>${archiveFileName}</archiveFileName>
                             <id>${productId}</id>
-                            <rootFolder>trace-compass</rootFolder>
+                            <rootFolder>${rootFolder}</rootFolder>
+                            <rootFolders>
+                                <macosx>${rootFolderMac}</macosx>
+                            </rootFolders>
                         </product>
                     </products>
+                    <source>repository</source>
                 </configuration>
             </plugin>
         </plugins>
     </build>
 
-  <!-- Deploy RCP builds and update site to the downloads area -->
   <profiles>
+    <profile>
+      <id>sign-update-site</id>
+      <build>
+        <plugins>
+            <plugin>
+                <groupId>org.eclipse.tycho</groupId>
+                <artifactId>tycho-p2-director-plugin</artifactId>
+                <version>${tycho-version}</version>
+                <executions>
+                    <execution>
+                        <id>materialize-products</id>
+                        <goals>
+                            <goal>materialize-products</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>archive-products</id>
+                        <phase>pre-integration-test</phase>
+                        <goals>
+                            <goal>archive-products</goal>
+                        </goals>
+                        <configuration>
+                            <formats>
+                                <linux>tar.gz</linux>
+                                <macosx>tar.gz</macosx>
+                                <solaris>zip</solaris>
+                                <win32>zip</win32>
+                            </formats>
+                        </configuration>
+                    </execution>
+                </executions>
+                <configuration>
+                    <products>
+                        <product>
+                            <archiveFileName>${archiveFileName}</archiveFileName>
+                            <id>${productId}</id>
+                            <rootFolder>${rootFolder}</rootFolder>
+                            <rootFolders>
+                                <macosx>${rootFolderMac}</macosx>
+                            </rootFolders>
+                        </product>
+                    </products>
+                    <source>repository</source>
+                </configuration>
+            </plugin>
+          <plugin>
+            <groupId>org.eclipse.cbi.maven.plugins</groupId>
+            <artifactId>eclipse-macsigner-plugin</artifactId>
+            <version>${cbi-plugins.version}</version>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+                <configuration>
+                  <signFiles>
+                    <signFile>${project.build.directory}/products/${productId}/macosx/cocoa/x86_64/${rootFolderMac}</signFile>
+                  </signFiles>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  <!-- Deploy RCP builds and update site to the downloads area -->
     <profile>
       <id>deploy-rcp</id>
       <properties>
         </plugins>
       </build>
     </profile>
-  </profiles>
-
-  <groupId>org.eclipse.tracecompass</groupId>
+    <profile>
+      <id>build-one-rcp</id>
+        <build>
+          <plugins>
+            <plugin>
+              <groupId>org.eclipse.tycho</groupId>
+              <artifactId>target-platform-configuration</artifactId>
+              <configuration>
+                <environments>
+                  <environment>
+                    <os>linux</os>
+                    <ws>gtk</ws>
+                    <arch>x86_64</arch>
+                  </environment>
+                </environments>
+              </configuration>
+            </plugin>
+         </plugins>
+        </build>
+      </profile>
+    </profiles>
 </project>
This page took 0.028192 seconds and 5 git commands to generate.