You can pass the options either via system properties or via application arguments.
+Example: "--releaser.pom.ignored-pom-regex=".*\\.git/.*$,.{asterisk}spring-cloud-contract-maven-plugin/src/test/projects/.*$,.*spring-cloud-contract-maven-plugin/target/.*$,.*samples/standalone/[a-z]+/.*$" releaser.working-dir - By default Releaser assumes running the program from the current working directory.![[Tip]](images/tip.png) | Tip |
|---|
You can pass the options either via system properties or via application arguments.
Example for system properties: java -Dreleaser.pom.branch=Camden.SR6 -jar target/spring-cloud-release-tools-spring-1.0.0.M1.jar
Example for application argumemts: java -jar target/spring-cloud-release-tools-spring-1.0.0.M1.jar --releaser.pom.branch=Camden.SR6 |
![[Important]](images/important.png) | Important |
|---|
For the GA release to be successful, it’s important that if the build / deploy command
run a script (e.g. scripts/foo.sh) then inside foo.sh if you call a Maven build ./mvnw clean install
diff --git a/single/spring-cloud-release-tools.html b/single/spring-cloud-release-tools.html
index cfcf928f..695d703e 100644
--- a/single/spring-cloud-release-tools.html
+++ b/single/spring-cloud-release-tools.html
@@ -104,7 +104,7 @@ Defaults to the standard Spring Cloud wget and execution of ghpages. gradle.properties you have foo=1.0.0.BUILD-SNAPSHOT and you would like spring-cloud-contract version to
be set there. Just provide a mapping for the gradle-props-substition looking like this foo=spring-cloud-contract and the result
(e.g for sc-contract version 2.0.0.RELEASE) will be an updated gradle.properties with entry foo=2.0.0.RELEASEreleaser.pom.branch - Which branch of Spring Cloud Release should be checked out. Defaults to "master",releaser.pom.ignored-pom-regex - List of regular expressions of ignored poms. Defaults to test projects and samples.
-The defaults are "--releaser.pom.ignored-pom-regex="^.\\.git/.$,^.spring-cloud-contract-maven-plugin/src/test/projects/.$,^.spring-cloud-contract-maven-plugin/target/.$,^.samples/standalone/[a-z]+/.$"releaser.working-dir - By default Releaser assumes running the program from the current working directory.![[Tip]](images/tip.png) | Tip |
|---|
You can pass the options either via system properties or via application arguments.
+Example: "--releaser.pom.ignored-pom-regex=".*\\.git/.*$,.{asterisk}spring-cloud-contract-maven-plugin/src/test/projects/.*$,.*spring-cloud-contract-maven-plugin/target/.*$,.*samples/standalone/[a-z]+/.*$" releaser.working-dir - By default Releaser assumes running the program from the current working directory.![[Tip]](images/tip.png) | Tip |
|---|
You can pass the options either via system properties or via application arguments.
Example for system properties: java -Dreleaser.pom.branch=Camden.SR6 -jar target/spring-cloud-release-tools-spring-1.0.0.M1.jar
Example for application argumemts: java -jar target/spring-cloud-release-tools-spring-1.0.0.M1.jar --releaser.pom.branch=Camden.SR6 |
![[Important]](images/important.png) | Important |
|---|
For the GA release to be successful, it’s important that if the build / deploy command
run a script (e.g. scripts/foo.sh) then inside foo.sh if you call a Maven build ./mvnw clean install
diff --git a/spring-cloud-release-tools.xml b/spring-cloud-release-tools.xml
index 085ba1ad..9768c95e 100644
--- a/spring-cloud-release-tools.xml
+++ b/spring-cloud-release-tools.xml
@@ -275,7 +275,7 @@ be set there. Just provide a mapping for the gradle-props-substition
releaser.pom.ignored-pom-regex - List of regular expressions of ignored poms. Defaults to test projects and samples.
-The defaults are "--releaser.pom.ignored-pom-regex="^.\\.git/.$,^.spring-cloud-contract-maven-plugin/src/test/projects/.$,^.spring-cloud-contract-maven-plugin/target/.$,^.samples/standalone/[a-z]+/.$"
+Example: "--releaser.pom.ignored-pom-regex=".*\\.git/.*$,.{asterisk}spring-cloud-contract-maven-plugin/src/test/projects/.*$,.*spring-cloud-contract-maven-plugin/target/.*$,.*samples/standalone/[a-z]+/.*$"
releaser.working-dir - By default Releaser assumes running the program from the current working directory.
|
|
|
|