Skip to content
This repository was archived by the owner on Jun 26, 2021. It is now read-only.

Commit 8fb59e1

Browse files
committed
Add default property indicating that the unleash plugin is triggering the build
1 parent 103e46c commit 8fb59e1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

plugin/src/main/java/com/itemis/maven/plugins/unleash/steps/actions/BuildProject.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ private InvocationRequest setupInvocationRequest() throws MojoExecutionException
104104
// installation and deployment are performed in a later step. We first need to ensure that there are no changes in
105105
// the scm, ...
106106
request.setGoals(this.goals);
107+
// Add default property indicating that the unleash plugin is triggering the build
108+
this.releaseArgs.setProperty("unleash.build", "true");
107109
request.setProperties(this.releaseArgs);
108110
request.setProfiles(this.profiles);
109111
request.setShellEnvironmentInherited(true);

0 commit comments

Comments
 (0)