]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - releng/org.simantics.tycho.configuration/pom.xml
Move platform to only work with JDK's >= 11
[simantics/platform.git] / releng / org.simantics.tycho.configuration / pom.xml
index 91de535718b4af971fa1494ac00ab5aee290b570..cfa99b7ba5e305a3e36063c0db4a4d397c674ced 100644 (file)
@@ -8,10 +8,11 @@
        <packaging>pom</packaging>
 
        <properties>
-               <tycho.version>1.0.0</tycho.version>
-               <tycho.extras.version>1.0.0</tycho.extras.version>
+               <maven.compiler.source>11</maven.compiler.source>
+               <maven.compiler.target>11</maven.compiler.target>
+               <tycho.version>1.6.0</tycho.version>
+               <tycho.extras.version>1.6.0</tycho.extras.version>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-               <mars-repo.url>http://download.eclipse.org/releases/mars</mars-repo.url>
        </properties>
 
        <repositories>
@@ -58,7 +59,6 @@
                                <artifactId>target-platform-configuration</artifactId>
                                <version>${tycho.version}</version>
                                <configuration>
-                                       <includePackedArtifacts>true</includePackedArtifacts>
                                        <target>
                                                <artifact>
                                                        <groupId>org.simantics</groupId>
                                                        <ws>gtk</ws>
                                                        <arch>x86_64</arch>
                                                </environment>
-                                               <environment>
-                                                       <os>win32</os>
-                                                       <ws>win32</ws>
-                                                       <arch>x86</arch>
-                                               </environment>
                                                <environment>
                                                        <os>win32</os>
                                                        <ws>win32</ws>
                                <artifactId>tycho-source-feature-plugin</artifactId>
                                <version>${tycho.extras.version}</version>
                        </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>
                        </plugin>
                </plugins>
        </build>
+
+       <profiles>
+               <profile>
+                       <id>sign</id>
+                       <activation>
+                               <property>
+                                       <name>sign</name>
+                                       <value>true</value>
+                               </property>
+                       </activation>
+                       <build>
+                               <plugins>
+                                       <plugin>
+                                               <groupId>org.codehaus.mojo</groupId>
+                                               <artifactId>properties-maven-plugin</artifactId>
+                                               <version>1.0.0</version>
+                                               <executions>
+                                                       <execution>
+                                                               <phase>initialize</phase>
+                                                               <goals>
+                                                                       <goal>read-project-properties</goal>
+                                                               </goals>
+                                                       </execution>
+                                               </executions>
+                                               <configuration>
+                                                       <files>
+                                                               <file>${sign.properties}</file>
+                                                       </files>
+                                               </configuration>
+                                       </plugin>
+                                       <plugin>
+                                               <groupId>org.apache.maven.plugins</groupId>
+                                               <artifactId>maven-jarsigner-plugin</artifactId>
+                                               <version>3.0.0</version>
+                                               <executions>
+                                                       <execution>
+                                                               <id>sign</id>
+                                                               <goals>
+                                                                       <goal>sign</goal>
+                                                                       <goal>verify</goal>
+                                                               </goals>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
+                               </plugins>
+                       </build>
+               </profile>
+       </profiles>
 </project>