Make layout parameter available as a user property

This commit allows the layout parameter of the Maven repackage goal to
be set from the command line.

See gh-17277
This commit is contained in:
Marc Rohlfs
2019-06-20 13:45:59 +02:00
committed by Stephane Nicoll
parent cc85746942
commit d2e34e6b07
9 changed files with 117 additions and 1 deletions

View File

@@ -139,7 +139,7 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
* archive type.
* @since 1.0.0
*/
@Parameter
@Parameter(property = "spring-boot.repackage.layout")
private LayoutType layout;
/**