Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
6fd6d3a7
Commit
6fd6d3a7
authored
Jul 29, 2013
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename maven 'package' goal to 'repackage'
parent
36c3ceab
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
pom.xml
spring-boot-maven-plugin/src/it/jar/pom.xml
+1
-1
pom.xml
spring-boot-maven-plugin/src/it/war/pom.xml
+1
-1
RepackageMojo.java
...in/java/org/springframework/boot/maven/RepackageMojo.java
+2
-2
pom.xml
spring-boot-samples/pom.xml
+1
-1
pom.xml
spring-boot-ups/spring-boot-up-parent/pom.xml
+2
-2
pom.xml
spring-boot-ups/src/main/parent/pom.xml
+2
-2
No files found.
spring-boot-maven-plugin/src/it/jar/pom.xml
View file @
6fd6d3a7
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<executions>
<executions>
<execution>
<execution>
<goals>
<goals>
<goal>
package
</goal>
<goal>
re
package
</goal>
</goals>
</goals>
</execution>
</execution>
</executions>
</executions>
...
...
spring-boot-maven-plugin/src/it/war/pom.xml
View file @
6fd6d3a7
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<executions>
<executions>
<execution>
<execution>
<goals>
<goals>
<goal>
package
</goal>
<goal>
re
package
</goal>
</goals>
</goals>
</execution>
</execution>
</executions>
</executions>
...
...
spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/
P
ackageMojo.java
→
spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/
Rep
ackageMojo.java
View file @
6fd6d3a7
...
@@ -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
=
"
re
package"
,
defaultPhase
=
LifecyclePhase
.
PACKAGE
,
requiresProject
=
true
,
threadSafe
=
true
,
requiresDependencyResolution
=
ResolutionScope
.
COMPILE_PLUS_RUNTIME
,
requiresDependencyCollection
=
ResolutionScope
.
COMPILE_PLUS_RUNTIME
)
public
class
P
ackageMojo
extends
AbstractMojo
{
public
class
Rep
ackageMojo
extends
AbstractMojo
{
/**
/**
* The Maven project.
* The Maven project.
...
...
spring-boot-samples/pom.xml
View file @
6fd6d3a7
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
<executions>
<executions>
<execution>
<execution>
<goals>
<goals>
<goal>
package
</goal>
<goal>
re
package
</goal>
</goals>
</goals>
</execution>
</execution>
</executions>
</executions>
...
...
spring-boot-ups/spring-boot-up-parent/pom.xml
View file @
6fd6d3a7
...
@@ -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>
re
package
</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>
...
...
spring-boot-ups/src/main/parent/pom.xml
View file @
6fd6d3a7
...
@@ -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>
re
package
</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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment