Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Le Menez2021-03-15 13:42:45 +0000
committerQuentin Le Menez2021-03-15 13:43:07 +0000
commit2c43711ed957b2e31f30cba331bf2cdef96eaaca (patch)
tree4120399ff965bb07b30f6c939282ec42d9ad0a77
parent470fe0dfe57dc69b179cc850011481d3e5869386 (diff)
downloadorg.eclipse.papyrus-2c43711ed957b2e31f30cba331bf2cdef96eaaca.tar.gz
org.eclipse.papyrus-2c43711ed957b2e31f30cba331bf2cdef96eaaca.tar.xz
org.eclipse.papyrus-2c43711ed957b2e31f30cba331bf2cdef96eaaca.zip
[Releng] Update build config
- Do not trigger p2 constructions during gerrit jobs Change-Id: I273d2be8ee1cdc5b00f9f0ca11f63d5743aa4545 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
-rwxr-xr-xreleng/main/pom.xml35
-rwxr-xr-xreleng/toolsmiths/pom.xml17
2 files changed, 47 insertions, 5 deletions
diff --git a/releng/main/pom.xml b/releng/main/pom.xml
index 51abd2881e5..052e699705a 100755
--- a/releng/main/pom.xml
+++ b/releng/main/pom.xml
@@ -8,7 +8,7 @@
<artifactId>org.eclipse.papyrus.all.releng</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
-
+
<artifactId>org.eclipse.papyrus.releng</artifactId>
<packaging>pom</packaging>
@@ -26,7 +26,6 @@
<module>../../features/papyrus-main-features</module>
<module>../../features/papyrus.user.examples-features</module>
<module>targetPlatform</module>
- <module>site</module>
</modules>
<build>
@@ -80,6 +79,25 @@
</pluginManagement>
<plugins>
+ <!-- Test local parameters
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>3.0.0</version>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <target>
+ <echoproperties />
+ </target>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin-->
<!-- local plugins -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -177,6 +195,19 @@
</build>
</profile>
+ <!-- The update site is not needed during gerrit jobs -->
+ <profile>
+ <id>buildP2</id>
+ <activation>
+ <property>
+ <name>!GERRIT_EVENT_TYPE</name>
+ </property>
+ </activation>
+ <modules>
+ <module>site</module>
+ </modules>
+ </profile>
+
<profile>
<id>buildAll</id>
<activation>
diff --git a/releng/toolsmiths/pom.xml b/releng/toolsmiths/pom.xml
index fa6f16117ba..a080cdf40c4 100755
--- a/releng/toolsmiths/pom.xml
+++ b/releng/toolsmiths/pom.xml
@@ -21,7 +21,6 @@
<module>../../features/papyrus-toolsmiths-features</module>
<module>../../plugins/toolsmiths</module>
<module>../../tests/junit/framework</module>
- <module>site</module>
<module>targetPlatform</module>
</modules>
@@ -127,10 +126,22 @@
</activation>
</profile>
+ <!-- The update site is not needed during gerrit jobs -->
+ <profile>
+ <id>buildP2</id>
+ <activation>
+ <property>
+ <name>!GERRIT_EVENT_TYPE</name>
+ </property>
+ </activation>
+ <modules>
+ <module>site</module>
+ </modules>
+ </profile>
+
<profile>
<id>buildAll</id>
- <!-- Papyrus Update sites not included (They are included in the same
- build) -->
+ <!-- Papyrus Update sites not included (They are included in the same build) -->
<activation>
<property>
<name>buildAll</name>

Back to the top