Polish "Add prefix to all properties in maven plugin"
Closes gh-9567
This commit is contained in:
@@ -45,7 +45,7 @@ public abstract class AbstractDependencyFilterMojo extends AbstractMojo {
|
||||
* {@code classifier} property.
|
||||
* @since 1.2
|
||||
*/
|
||||
@Parameter
|
||||
@Parameter(property = "spring-boot.includes")
|
||||
private List<Include> includes;
|
||||
|
||||
/**
|
||||
@@ -54,7 +54,7 @@ public abstract class AbstractDependencyFilterMojo extends AbstractMojo {
|
||||
* {@code classifier} property.
|
||||
* @since 1.1
|
||||
*/
|
||||
@Parameter
|
||||
@Parameter(property = "spring-boot.excludes")
|
||||
private List<Exclude> excludes;
|
||||
|
||||
/**
|
||||
|
||||
@@ -127,7 +127,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
|
||||
* contains a 'main' method will be used.
|
||||
* @since 1.0
|
||||
*/
|
||||
@Parameter
|
||||
@Parameter(property = "spring-boot.run.main-class")
|
||||
private String mainClass;
|
||||
|
||||
/**
|
||||
@@ -135,7 +135,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
|
||||
* classpath.
|
||||
* @since 1.0
|
||||
*/
|
||||
@Parameter
|
||||
@Parameter(property = "spring-boot.run.folders")
|
||||
private String[] folders;
|
||||
|
||||
/**
|
||||
|
||||
@@ -90,7 +90,7 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
|
||||
* Skip the execution.
|
||||
* @since 1.2
|
||||
*/
|
||||
@Parameter(property = "spring-boot.it.skip", defaultValue = "false")
|
||||
@Parameter(property = "spring-boot.repackage.skip", defaultValue = "false")
|
||||
private boolean skip;
|
||||
|
||||
/**
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
specified on the command line as well, make sure to wrap that properly, that is:
|
||||
|
||||
---
|
||||
mvn spring-boot:run -Drun.jvmArguments="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"
|
||||
mvn spring-boot:run -Dspring-boot.run.jvmArguments="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"
|
||||
---
|
||||
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
a comma, that is:
|
||||
|
||||
---
|
||||
mvn spring-boot:run -Drun.profiles=foo,bar
|
||||
mvn spring-boot:run -Dspring-boot.run.profiles=foo,bar
|
||||
---
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user