Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah Graham2019-06-26 13:56:49 +0000
committerJonah Graham2019-06-26 14:25:21 +0000
commitc9554c4ed6d3c0380ef53b3125e918756707206f (patch)
tree8a79c006ab0a43ee42d54211e50f8d5447e29a2e
parent8007b8846ebad8abeefe91c161eb7d15c537ae17 (diff)
downloadorg.eclipse.cdt-c9554c4ed6d3c0380ef53b3125e918756707206f.tar.gz
org.eclipse.cdt-c9554c4ed6d3c0380ef53b3125e918756707206f.tar.xz
org.eclipse.cdt-c9554c4ed6d3c0380ef53b3125e918756707206f.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 c4fa1ef3c42..d25e2cae423 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