]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - releng/org.simantics.tycho.configuration/pom.xml
Fixed multiple issues causing dangling references to discarded queries
[simantics/platform.git] / releng / org.simantics.tycho.configuration / pom.xml
index cc1fbd3c7fa5185d0d652c083d9a8843f7985e66..cfa99b7ba5e305a3e36063c0db4a4d397c674ced 100644 (file)
@@ -8,22 +8,31 @@
        <packaging>pom</packaging>
 
        <properties>
-               <tycho.version>0.26.0</tycho.version>
-               <tycho.extras.version>0.26.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>
-               <!--
-               <repository>
-                       <id>mars</id>
-                       <url>${mars-repo.url}</url>
-                       <layout>p2</layout>
-               </repository>
-               -->
        </repositories>
 
+       <pluginRepositories>
+               <pluginRepository>
+                       <id>graph-builder-snapshot</id>
+                       <name>Graph Builder Repository</name>
+                       <url>https://repo.simupedia.com/repository/graph-builder-release</url>
+                       <layout>default</layout>
+                       <releases>
+                               <updatePolicy>never</updatePolicy>
+                       </releases>
+                       <snapshots>
+                               <updatePolicy>always</updatePolicy>
+                       </snapshots>
+               </pluginRepository>
+       </pluginRepositories>
+
        <build>
                <plugins>
                        <plugin>
                                                </artifact>
                                        </target>
                                        <environments>
-<!--
-                                               <environment>
-                                                       <os>linux</os>
-                                                       <ws>gtk</ws>
-                                                       <arch>x86</arch>
-                                               </environment>
                                                <environment>
                                                        <os>linux</os>
                                                        <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>
                                                        <arch>x86_64</arch>
                                                </environment>
-<!--
                                                <environment>
                                                        <os>macosx</os>
                                                        <ws>cocoa</ws>
                                                        <arch>x86_64</arch>
                                                </environment>
--->
                                        </environments>
                                </configuration>
                        </plugin>
                                <artifactId>tycho-source-feature-plugin</artifactId>
                                <version>${tycho.extras.version}</version>
                        </plugin>
+                       <plugin>
+                               <groupId>org.eclipse.tycho</groupId>
+                               <artifactId>tycho-p2-plugin</artifactId>
+                               <version>${tycho.version}</version>
+                               <executions>
+                                       <execution>
+                                               <id>attach-p2-metadata</id>
+                                               <phase>package</phase>
+                                               <goals>
+                                                       <goal>p2-metadata</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                               <configuration>
+                                       <defaultP2Metadata>false</defaultP2Metadata>
+                               </configuration>
+                       </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>