Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah Graham2019-06-26 09:56:49 -0400
committerJonah Graham2019-06-26 11:00:27 -0400
commitaa4e88b0dcca3550904fa07116fa975794d29e36 (patch)
treef51dc69c14b00fb4a6331236123161db0e1250b5
parent74ab567eebdd02798e087a778be53ec6a4a220f4 (diff)
downloadorg.eclipse.cdt-aa4e88b0dcca3550904fa07116fa975794d29e36.tar.gz
org.eclipse.cdt-aa4e88b0dcca3550904fa07116fa975794d29e36.tar.xz
org.eclipse.cdt-aa4e88b0dcca3550904fa07116fa975794d29e36.zip
Bug 547894: Provide a way to skip baseline replace and compare
-rw-r--r--pom.xml21
1 files changed, 19 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 37a542494c..707189d6d8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,8 +29,16 @@
<help-docs-eclipserun-repo>http://download.eclipse.org/eclipse/updates/4.10/</help-docs-eclipserun-repo>
<tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/cdt/org.eclipse.cdt.git</tycho.scmUrl>
<base.test.vmargs>-Xms256m -Xmx512m -ea</base.test.vmargs>
+ <!-- these parameters are to control baseline replace and compare. On a local build you may want
+ to avoid baseline replace and compare, especially if you have different versions of Java than
+ the baseline was built with.
+
+ To set all the settings in one go to skip, use the skip-baseline profile
+ -->
<comparator.repo>https://download.eclipse.org/tools/cdt/releases/9.8/cdt-9.8.0/</comparator.repo>
<compare-version-with-baselines.skip>false</compare-version-with-baselines.skip>
+ <replace-version-with-baselines.mode>fail</replace-version-with-baselines.mode>
+ <replace-version-with-baselines.replace>all</replace-version-with-baselines.replace>
<!--
Valid options: error, warning, and ignore
jgit.dirtyWorkingTree checking was added as of Tycho 0.19.0
@@ -434,6 +442,15 @@
</properties>
</profile>
<profile>
+ <id>skip-baseline</id>
+ <properties>
+ <comparator.repo></comparator.repo>
+ <compare-version-with-baselines.skip>true</compare-version-with-baselines.skip>
+ <replace-version-with-baselines.mode>disable</replace-version-with-baselines.mode>
+ <replace-version-with-baselines.replace>none</replace-version-with-baselines.replace>
+ </properties>
+ </profile>
+ <profile>
<id>production</id>
<build>
<plugins>
@@ -751,8 +768,8 @@
</goals>
<phase>verify</phase>
<configuration>
- <baselineMode>fail</baselineMode>
- <baselineReplace>all</baselineReplace>
+ <baselineMode>${replace-version-with-baselines.mode}</baselineMode>
+ <baselineReplace>${replace-version-with-baselines.replace}</baselineReplace>
<baselineRepositories>
<repository>
<url>${comparator.repo}</url>

Back to the top