mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
Bug 547894: Provide a way to skip baseline replace and compare
Change-Id: If8080db7374eabb7a640deba0fab1e26a785ac5c
This commit is contained in:
parent
74ab567eeb
commit
aa4e88b0dc
1 changed files with 19 additions and 2 deletions
21
pom.xml
21
pom.xml
|
@ -29,8 +29,16 @@
|
||||||
<help-docs-eclipserun-repo>http://download.eclipse.org/eclipse/updates/4.10/</help-docs-eclipserun-repo>
|
<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>
|
<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>
|
<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>
|
<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>
|
<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
|
Valid options: error, warning, and ignore
|
||||||
jgit.dirtyWorkingTree checking was added as of Tycho 0.19.0
|
jgit.dirtyWorkingTree checking was added as of Tycho 0.19.0
|
||||||
|
@ -433,6 +441,15 @@
|
||||||
<lsp.skip.tests>true</lsp.skip.tests>
|
<lsp.skip.tests>true</lsp.skip.tests>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</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>
|
<profile>
|
||||||
<id>production</id>
|
<id>production</id>
|
||||||
<build>
|
<build>
|
||||||
|
@ -751,8 +768,8 @@
|
||||||
</goals>
|
</goals>
|
||||||
<phase>verify</phase>
|
<phase>verify</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<baselineMode>fail</baselineMode>
|
<baselineMode>${replace-version-with-baselines.mode}</baselineMode>
|
||||||
<baselineReplace>all</baselineReplace>
|
<baselineReplace>${replace-version-with-baselines.replace}</baselineReplace>
|
||||||
<baselineRepositories>
|
<baselineRepositories>
|
||||||
<repository>
|
<repository>
|
||||||
<url>${comparator.repo}</url>
|
<url>${comparator.repo}</url>
|
||||||
|
|
Loading…
Add table
Reference in a new issue