]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Enabled pack200 compression for sysdyn bundles
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 13 Feb 2018 12:34:54 +0000 (14:34 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 13 Feb 2018 12:34:54 +0000 (14:34 +0200)
refs #7763

releng/org.simantics.sysdyn.tycho.configuration/pom.xml

index 72f923169568f8c5ae8500a66cc1f009514ddb80..d37099f69009a44116eef09516497429092024dc 100644 (file)
@@ -71,6 +71,7 @@
                                <artifactId>target-platform-configuration</artifactId>\r
                                <version>${tycho.version}</version>\r
                                <configuration>\r
+                                       <includePackedArtifacts>true</includePackedArtifacts>\r
                                        <ignoreTychoRepositories>true</ignoreTychoRepositories>\r
                                        <resolver>p2</resolver>\r
                                        <environments>\r
                                        </environments>\r
                                </configuration>\r
                        </plugin>\r
+                       <plugin>\r
+                               <groupId>org.eclipse.tycho.extras</groupId>\r
+                               <artifactId>tycho-pack200b-plugin</artifactId>\r
+                               <version>${tycho.extras.version}</version>\r
+                               <executions>\r
+                                       <execution>\r
+                                               <id>pack200-pack</id>\r
+                                               <goals>\r
+                                                       <goal>pack</goal>\r
+                                               </goals>\r
+                                       </execution>\r
+                               </executions>\r
+                       </plugin>\r
+                       <plugin>\r
+                               <groupId>org.eclipse.tycho</groupId>\r
+                               <artifactId>tycho-p2-plugin</artifactId>\r
+                               <version>${tycho.version}</version>\r
+                               <executions>\r
+                                       <execution>\r
+                                               <id>attach-p2-metadata</id>\r
+                                               <phase>package</phase>\r
+                                               <goals>\r
+                                                       <goal>p2-metadata</goal>\r
+                                               </goals>\r
+                                       </execution>\r
+                               </executions>\r
+                               <configuration>\r
+                                       <defaultP2Metadata>false</defaultP2Metadata>\r
+                               </configuration>\r
+                       </plugin>\r
                </plugins>\r
        </build>\r
 </project>\r