]> gerrit.simantics Code Review - simantics/district.git/blobdiff - pom.xml
Limit tech type code enumeration to enabled items
[simantics/district.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 8bec8afda089560df799ba0c8d7c6aec8bb32109..a424183c862998ea0eacbc21fba570eb1cd94119 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -8,9 +8,11 @@
 
        <!-- common settings for all modules -->
        <properties>
+               <maven.compiler.source>11</maven.compiler.source>
+               <maven.compiler.target>11</maven.compiler.target>
                <branch-spec>master</branch-spec>
                <simantics-download-site>http://www.simantics.org/download</simantics-download-site>
-               <tycho-version>1.0.0</tycho-version>
+               <tycho-version>1.7.0</tycho-version>
        </properties>
 
        <repositories>
                </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>
+
        <modules>
                <module>org.simantics.district.geotools</module>
                <module>org.simantics.district.imports</module>