Replace 'via' with 'over' or 'through' in the documentation
Closes gh-33878
This commit is contained in:
@@ -102,7 +102,7 @@ include::../maven/running/system-properties-pom.xml[tags=system-properties]
|
||||
----
|
||||
|
||||
If the value is empty or not defined (that is `<my-property/`>), the system property is set with an empty String as the value.
|
||||
Maven trims values specified in the pom so it is not possible to specify a System property which needs to start or end with a space via this mechanism: consider using `jvmArguments` instead.
|
||||
Maven trims values specified in the pom, so it is not possible to specify a System property which needs to start or end with a space through this mechanism: consider using `jvmArguments` instead.
|
||||
|
||||
Any String typed Maven variable can be passed as system properties.
|
||||
Any attempt to pass any other Maven variable type (for example a `List` or a `URL` variable) will cause the variable expression to be passed literally (unevaluated).
|
||||
|
||||
@@ -112,21 +112,23 @@ public class BuildImageMojo extends AbstractPackagerMojo {
|
||||
private Image image;
|
||||
|
||||
/**
|
||||
* Alias for {@link Image#name} to support configuration via command-line property.
|
||||
* Alias for {@link Image#name} to support configuration through command-line
|
||||
* property.
|
||||
* @since 2.3.0
|
||||
*/
|
||||
@Parameter(property = "spring-boot.build-image.imageName", readonly = true)
|
||||
String imageName;
|
||||
|
||||
/**
|
||||
* Alias for {@link Image#builder} to support configuration via command-line property.
|
||||
* Alias for {@link Image#builder} to support configuration through command-line
|
||||
* property.
|
||||
* @since 2.3.0
|
||||
*/
|
||||
@Parameter(property = "spring-boot.build-image.builder", readonly = true)
|
||||
String imageBuilder;
|
||||
|
||||
/**
|
||||
* Alias for {@link Image#runImage} to support configuration via command-line
|
||||
* Alias for {@link Image#runImage} to support configuration through command-line
|
||||
* property.
|
||||
* @since 2.3.1
|
||||
*/
|
||||
@@ -134,7 +136,7 @@ public class BuildImageMojo extends AbstractPackagerMojo {
|
||||
String runImage;
|
||||
|
||||
/**
|
||||
* Alias for {@link Image#cleanCache} to support configuration via command-line
|
||||
* Alias for {@link Image#cleanCache} to support configuration through command-line
|
||||
* property.
|
||||
* @since 2.4.0
|
||||
*/
|
||||
@@ -142,20 +144,22 @@ public class BuildImageMojo extends AbstractPackagerMojo {
|
||||
Boolean cleanCache;
|
||||
|
||||
/**
|
||||
* Alias for {@link Image#pullPolicy} to support configuration via command-line
|
||||
* Alias for {@link Image#pullPolicy} to support configuration through command-line
|
||||
* property.
|
||||
*/
|
||||
@Parameter(property = "spring-boot.build-image.pullPolicy", readonly = true)
|
||||
PullPolicy pullPolicy;
|
||||
|
||||
/**
|
||||
* Alias for {@link Image#publish} to support configuration via command-line property.
|
||||
* Alias for {@link Image#publish} to support configuration through command-line
|
||||
* property.
|
||||
*/
|
||||
@Parameter(property = "spring-boot.build-image.publish", readonly = true)
|
||||
Boolean publish;
|
||||
|
||||
/**
|
||||
* Alias for {@link Image#network} to support configuration via command-line property.
|
||||
* Alias for {@link Image#network} to support configuration through command-line
|
||||
* property.
|
||||
* @since 2.6.0
|
||||
*/
|
||||
@Parameter(property = "spring-boot.build-image.network", readonly = true)
|
||||
|
||||
@@ -185,7 +185,7 @@ public class StartMojo extends AbstractRunMojo {
|
||||
}
|
||||
}
|
||||
catch (IOException ex) {
|
||||
throw new MojoFailureException("Could not contact Spring Boot application via JMX on port " + this.jmxPort
|
||||
throw new MojoFailureException("Could not contact Spring Boot application over JMX on port " + this.jmxPort
|
||||
+ ". Please make sure that no other process is using that port", ex);
|
||||
}
|
||||
catch (Exception ex) {
|
||||
|
||||
Reference in New Issue
Block a user