Skip to content

Commit 30761f3

Browse files
committed
[Build] Simplify skipping the baseline check for test projects
Re-use the 'version.baseline.check.skip' Maven property that already exists for this purpose. This simplifies the solution introduced in - #3785 and leverages the property introduced via - #2381
1 parent 6bedfee commit 30761f3

1 file changed

Lines changed: 6 additions & 36 deletions

File tree

eclipse-platform-parent/pom.xml

Lines changed: 6 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -919,26 +919,9 @@
919919
<value>eclipse-test-plugin</value>
920920
</property>
921921
</activation>
922-
<build>
923-
<plugins>
924-
<plugin>
925-
<groupId>org.eclipse.tycho.extras</groupId>
926-
<artifactId>tycho-p2-extras-plugin</artifactId>
927-
<version>${tycho.version}</version>
928-
<executions>
929-
<execution>
930-
<id>compare-attached-artifacts-with-release</id>
931-
<goals>
932-
<goal>compare-version-with-baselines</goal>
933-
</goals>
934-
<configuration>
935-
<skip>true</skip>
936-
</configuration>
937-
</execution>
938-
</executions>
939-
</plugin>
940-
</plugins>
941-
</build>
922+
<properties>
923+
<version.baseline.check.skip>true</version.baseline.check.skip>
924+
</properties>
942925
</profile>
943926
<profile>
944927
<id>eclipse-sign</id>
@@ -1185,6 +1168,9 @@
11851168
</profile>
11861169
<profile>
11871170
<id>javac</id>
1171+
<properties>
1172+
<version.baseline.check.skip>true</version.baseline.check.skip>
1173+
</properties>
11881174
<build>
11891175
<pluginManagement>
11901176
<plugins>
@@ -1206,22 +1192,6 @@
12061192
<baselineMode>disable</baselineMode>
12071193
</configuration>
12081194
</plugin>
1209-
<plugin>
1210-
<groupId>org.eclipse.tycho.extras</groupId>
1211-
<artifactId>tycho-p2-extras-plugin</artifactId>
1212-
<version>${tycho.version}</version>
1213-
<executions>
1214-
<execution>
1215-
<id>compare-attached-artifacts-with-release</id>
1216-
<goals>
1217-
<goal>compare-version-with-baselines</goal>
1218-
</goals>
1219-
<configuration>
1220-
<skip>true</skip>
1221-
</configuration>
1222-
</execution>
1223-
</executions>
1224-
</plugin>
12251195
</plugins>
12261196
</pluginManagement>
12271197
</build>

0 commit comments

Comments
 (0)