diff options
author | Jonah Graham | 2019-06-26 13:56:49 +0000 |
---|---|---|
committer | Jonah Graham | 2019-06-26 14:25:21 +0000 |
commit | c9554c4ed6d3c0380ef53b3125e918756707206f (patch) | |
tree | 8a79c006ab0a43ee42d54211e50f8d5447e29a2e | |
parent | 8007b8846ebad8abeefe91c161eb7d15c537ae17 (diff) | |
download | org.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
Change-Id: If8080db7374eabb7a640deba0fab1e26a785ac5c
-rw-r--r-- | pom.xml | 21 |
1 files changed, 19 insertions, 2 deletions
@@ -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> |