Commit 4510be0f authored by Eddú Meléndez's avatar Eddú Meléndez Committed by Stephane Nicoll

Add prefix to all properties in maven plugin

This commit add prefix `spring-boot` to all Mojo's properties.

See gh-9567
parent 39c1757a
...@@ -61,14 +61,14 @@ public abstract class AbstractDependencyFilterMojo extends AbstractMojo { ...@@ -61,14 +61,14 @@ public abstract class AbstractDependencyFilterMojo extends AbstractMojo {
* Comma separated list of groupId names to exclude (exact match). * Comma separated list of groupId names to exclude (exact match).
* @since 1.1 * @since 1.1
*/ */
@Parameter(property = "excludeGroupIds", defaultValue = "") @Parameter(property = "spring-boot.excludeGroupIds", defaultValue = "")
private String excludeGroupIds; private String excludeGroupIds;
/** /**
* Comma separated list of artifact names to exclude (exact match). * Comma separated list of artifact names to exclude (exact match).
* @since 1.1 * @since 1.1
*/ */
@Parameter(property = "excludeArtifactIds", defaultValue = "") @Parameter(property = "spring-boot.excludeArtifactIds", defaultValue = "")
private String excludeArtifactIds; private String excludeArtifactIds;
protected void setExcludes(List<Exclude> excludes) { protected void setExcludes(List<Exclude> excludes) {
......
...@@ -68,7 +68,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo { ...@@ -68,7 +68,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
* this feature and many more. * this feature and many more.
* @since 1.0 * @since 1.0
*/ */
@Parameter(property = "run.addResources", defaultValue = "false") @Parameter(property = "spring-boot.run.addResources", defaultValue = "false")
private boolean addResources = false; private boolean addResources = false;
/** /**
...@@ -76,14 +76,14 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo { ...@@ -76,14 +76,14 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
* forking a new JVM. * forking a new JVM.
* @since 1.0 * @since 1.0
*/ */
@Parameter(property = "run.agent") @Parameter(property = "spring-boot.run.agent")
private File[] agent; private File[] agent;
/** /**
* Flag to say that the agent requires -noverify. * Flag to say that the agent requires -noverify.
* @since 1.0 * @since 1.0
*/ */
@Parameter(property = "run.noverify") @Parameter(property = "spring-boot.run.noverify")
private boolean noverify = false; private boolean noverify = false;
/** /**
...@@ -92,7 +92,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo { ...@@ -92,7 +92,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
* started by forking a new JVM. * started by forking a new JVM.
* @since 1.5 * @since 1.5
*/ */
@Parameter(property = "run.workingDirectory") @Parameter(property = "spring-boot.run.workingDirectory")
private File workingDirectory; private File workingDirectory;
/** /**
...@@ -102,7 +102,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo { ...@@ -102,7 +102,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
* new JVM. * new JVM.
* @since 1.1 * @since 1.1
*/ */
@Parameter(property = "run.jvmArguments") @Parameter(property = "spring-boot.run.jvmArguments")
private String jvmArguments; private String jvmArguments;
/** /**
...@@ -110,7 +110,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo { ...@@ -110,7 +110,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
* separate multiple arguments. * separate multiple arguments.
* @since 1.0 * @since 1.0
*/ */
@Parameter(property = "run.arguments") @Parameter(property = "spring-boot.run.arguments")
private String[] arguments; private String[] arguments;
/** /**
...@@ -119,7 +119,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo { ...@@ -119,7 +119,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
* profiles. * profiles.
* @since 1.3 * @since 1.3
*/ */
@Parameter(property = "run.profiles") @Parameter(property = "spring-boot.run.profiles")
private String[] profiles; private String[] profiles;
/** /**
...@@ -152,21 +152,21 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo { ...@@ -152,21 +152,21 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
* or if devtools is present. * or if devtools is present.
* @since 1.2 * @since 1.2
*/ */
@Parameter(property = "fork") @Parameter(property = "spring-boot.run.fork")
private Boolean fork; private Boolean fork;
/** /**
* Flag to include the test classpath when running. * Flag to include the test classpath when running.
* @since 1.3 * @since 1.3
*/ */
@Parameter(property = "useTestClasspath", defaultValue = "false") @Parameter(property = "spring-boot.run.useTestClasspath", defaultValue = "false")
private Boolean useTestClasspath; private Boolean useTestClasspath;
/** /**
* Skip the execution. * Skip the execution.
* @since 1.3.2 * @since 1.3.2
*/ */
@Parameter(property = "skip", defaultValue = "false") @Parameter(property = "spring-boot.run.skip", defaultValue = "false")
private boolean skip; private boolean skip;
@Override @Override
......
...@@ -90,7 +90,7 @@ public class RepackageMojo extends AbstractDependencyFilterMojo { ...@@ -90,7 +90,7 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
* Skip the execution. * Skip the execution.
* @since 1.2 * @since 1.2
*/ */
@Parameter(property = "skip", defaultValue = "false") @Parameter(property = "spring-boot.it.skip", defaultValue = "false")
private boolean skip; private boolean skip;
/** /**
......
...@@ -54,7 +54,7 @@ public class StopMojo extends AbstractMojo { ...@@ -54,7 +54,7 @@ public class StopMojo extends AbstractMojo {
* {@link StartMojo start} the process. * {@link StartMojo start} the process.
* @since 1.3 * @since 1.3
*/ */
@Parameter(property = "fork") @Parameter(property = "spring-boot.stop.fork")
private Boolean fork; private Boolean fork;
/** /**
...@@ -75,7 +75,7 @@ public class StopMojo extends AbstractMojo { ...@@ -75,7 +75,7 @@ public class StopMojo extends AbstractMojo {
* Skip the execution. * Skip the execution.
* @since 1.3.2 * @since 1.3.2
*/ */
@Parameter(property = "skip", defaultValue = "false") @Parameter(property = "spring-boot.stop.skip", defaultValue = "false")
private boolean skip; private boolean skip;
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment