]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - pom.xml
Remove static DEBUG flags and use slf4j.Logger.trace()
[simantics/3d.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 50a579b7d1eb77fdea781741279da36869576393..7ed7b5b13546128f503deae0e58ffdfbb19e2d30 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -10,8 +10,8 @@
        <properties>
                <branch-spec>master</branch-spec>
                <simantics-download-site>http://www.simantics.org/download</simantics-download-site>
-               <tycho-version>1.4.0</tycho-version>
-               <tycho-extras-version>1.4.0</tycho-extras-version>
+               <tycho-version>1.6.0</tycho-version>
+               <tycho-extras-version>1.6.0</tycho-extras-version>
                <build.tag>SNAPSHOT</build.tag>
        </properties>
 
@@ -75,7 +75,6 @@
                                <artifactId>target-platform-configuration</artifactId>
                                <version>${tycho-version}</version>
                                <configuration>
-                                       <includePackedArtifacts>true</includePackedArtifacts>
                                        <ignoreTychoRepositories>true</ignoreTychoRepositories>
                                        <resolver>p2</resolver>
                                        <environments>
                                        </environments>
                                </configuration>
                        </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>
                </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>javax.vecmath</module>
                <module>org.jcae.opencascade</module>