Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikael Barbero2017-04-13 20:11:40 +0000
committerMarkus Knauer2017-05-25 08:26:24 +0000
commit6ba464a2ab3880cb870d5c3bcd68fa4729b51294 (patch)
tree2beab3d2f9c767a4d56d8fb231eb5b9ec442797a /packages/org.eclipse.epp.package.modeling.product
parentbc906afda5154632ee4c001b1e9a6774f0896739 (diff)
downloadorg.eclipse.epp.packages-6ba464a2ab3880cb870d5c3bcd68fa4729b51294.tar.gz
org.eclipse.epp.packages-6ba464a2ab3880cb870d5c3bcd68fa4729b51294.tar.xz
org.eclipse.epp.packages-6ba464a2ab3880cb870d5c3bcd68fa4729b51294.zip
Bug 515269 - Create parent pom.xml for products
It helps getting rid of "eclipse-win-sign" and "eclipse-mac-sign" <profiles> in all epp.package.xxx.product Change-Id: Ifa2ca306999cc182198e6cd1f2a62275d3cda811 Signed-off-by: Mikael Barbero <mikael@eclipse.org>
Diffstat (limited to 'packages/org.eclipse.epp.package.modeling.product')
-rw-r--r--packages/org.eclipse.epp.package.modeling.product/pom.xml111
1 files changed, 3 insertions, 108 deletions
diff --git a/packages/org.eclipse.epp.package.modeling.product/pom.xml b/packages/org.eclipse.epp.package.modeling.product/pom.xml
index 7f5cf340..c010b46f 100644
--- a/packages/org.eclipse.epp.package.modeling.product/pom.xml
+++ b/packages/org.eclipse.epp.package.modeling.product/pom.xml
@@ -9,6 +9,7 @@
Contributors:
Thanh Ha (Eclipse Foundation) - initial implementation
EclipseSource - ongoing development
+ Mikael Barbero (Eclipse Foundation) - clean-up and parent factorization
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
@@ -18,118 +19,12 @@
<parent>
<groupId>org.eclipse.epp</groupId>
- <artifactId>org.eclipse.epp-parent</artifactId>
+ <artifactId>org.eclipse.epp-product-parent</artifactId>
<version>4.7.0-SNAPSHOT</version>
- <relativePath>../../releng/org.eclipse.epp.config/parent/</relativePath>
+ <relativePath>../../releng/org.eclipse.epp.config/parent/product</relativePath>
</parent>
<artifactId>epp.package.modeling</artifactId>
<packaging>eclipse-repository</packaging>
- <build>
- <plugins>
-
- <plugin>
- <groupId>org.eclipse.tycho.extras</groupId>
- <artifactId>tycho-p2-extras-plugin</artifactId>
- <executions>
- <execution>
- <id>mirror-to-central-epp-repository</id>
- <phase>verify</phase>
- <goals>
- <goal>mirror</goal>
- </goals>
- <configuration>
- <source>
- <repository>
- <url>${project.build.directory}/repository</url>
- </repository>
- </source>
- <ius>
- <iu>
- <query>
- <expression>id ~= /*epp*/ &amp;&amp; !(id ~= /*org.eclipse.epp.mpc*/) &amp;&amp; !(id ~= /*org.eclipse.emf.cdo.epp*/) &amp;&amp; !(id ~= /*org.eclipse.epp.logging.aeri*/)</expression>
- </query>
- </iu>
- </ius>
- <destination>${eclipse.epp.targetRepository}</destination>
- <followOnlyFilteredRequirements>true</followOnlyFilteredRequirements>
- <followStrictOnly>true</followStrictOnly>
- <includeFeatures>false</includeFeatures>
- <includeOptional>false</includeOptional>
- <includeNonGreedy>false</includeNonGreedy>
- <includePacked>true</includePacked>
- <append>true</append>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-p2-director-plugin</artifactId>
- </plugin>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>eclipse-sign-mac</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.cbi.maven.plugins</groupId>
- <artifactId>eclipse-macsigner-plugin</artifactId>
- <version>${cbi.version}</version>
- <executions>
- <execution>
- <id>sign</id>
- <phase>package</phase>
- <goals>
- <goal>sign</goal>
- </goals>
- <configuration>
- <baseSearchDir>${project.build.directory}/products/${project.artifactId}</baseSearchDir>
- <fileNames>
- <fileName>Eclipse.app</fileName>
- </fileNames>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>eclipse-sign-windows</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.cbi.maven.plugins</groupId>
- <artifactId>eclipse-winsigner-plugin</artifactId>
- <version>${cbi.version}</version>
- <executions>
- <execution>
- <id>sign</id>
- <goals>
- <goal>sign</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <baseSearchDir>${project.build.directory}/products/${project.artifactId}</baseSearchDir>
- <fileNames>
- <fileName>eclipse.exe</fileName>
- <fileName>eclipsec.exe</fileName>
- </fileNames>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
</project>

Back to the top