Commit 6fd6d3a7 authored by Phillip Webb's avatar Phillip Webb

Rename maven 'package' goal to 'repackage'

parent 36c3ceab
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<executions> <executions>
<execution> <execution>
<goals> <goals>
<goal>package</goal> <goal>repackage</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<executions> <executions>
<execution> <execution>
<goals> <goals>
<goal>package</goal> <goal>repackage</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
......
...@@ -39,8 +39,8 @@ import org.springframework.boot.launcher.tools.Repackager; ...@@ -39,8 +39,8 @@ import org.springframework.boot.launcher.tools.Repackager;
* @author Phillip Webb * @author Phillip Webb
* @author Dave Syer * @author Dave Syer
*/ */
@Mojo(name = "package", defaultPhase = LifecyclePhase.PACKAGE, requiresProject = true, threadSafe = true, requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME, requiresDependencyCollection = ResolutionScope.COMPILE_PLUS_RUNTIME) @Mojo(name = "repackage", defaultPhase = LifecyclePhase.PACKAGE, requiresProject = true, threadSafe = true, requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME, requiresDependencyCollection = ResolutionScope.COMPILE_PLUS_RUNTIME)
public class PackageMojo extends AbstractMojo { public class RepackageMojo extends AbstractMojo {
/** /**
* The Maven project. * The Maven project.
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<executions> <executions>
<execution> <execution>
<goals> <goals>
<goal>package</goal> <goal>repackage</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
......
...@@ -283,7 +283,7 @@ NOTE: If you are editing a local checkout of this file, be sure to modify ...@@ -283,7 +283,7 @@ NOTE: If you are editing a local checkout of this file, be sure to modify
<executions> <executions>
<execution> <execution>
<goals> <goals>
<goal>package</goal> <goal>repackage</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
...@@ -300,7 +300,7 @@ NOTE: If you are editing a local checkout of this file, be sure to modify ...@@ -300,7 +300,7 @@ NOTE: If you are editing a local checkout of this file, be sure to modify
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-package-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.version}</version> <version>${spring.boot.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
......
...@@ -283,7 +283,7 @@ NOTE: If you are editing a local checkout of this file, be sure to modify ...@@ -283,7 +283,7 @@ NOTE: If you are editing a local checkout of this file, be sure to modify
<executions> <executions>
<execution> <execution>
<goals> <goals>
<goal>package</goal> <goal>repackage</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
...@@ -300,7 +300,7 @@ NOTE: If you are editing a local checkout of this file, be sure to modify ...@@ -300,7 +300,7 @@ NOTE: If you are editing a local checkout of this file, be sure to modify
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-package-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.version}</version> <version>${spring.boot.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
......
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