Skip to content

Commit 12f71dc

Browse files
Merge pull request #281 from Spring-Framework-Java-Apps/master
Deployment
2 parents a679a52 + f8dd8dd commit 12f71dc

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

pom.xml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
35
<modelVersion>4.0.0</modelVersion>
46

57
<groupId>org.woehlke</groupId>
@@ -738,7 +740,7 @@
738740

739741
<build>
740742
<finalName>${project.artifactId}</finalName>
741-
<defaultGoal>clean dependency:list package spring-boot:repackage spring-boot:run</defaultGoal>
743+
<defaultGoal>clean dependency:list install spring-boot:run</defaultGoal>
742744
<pluginManagement>
743745
<plugins>
744746
<plugin>
@@ -925,8 +927,16 @@
925927
<addResources>true</addResources>
926928
</configuration>
927929
<executions>
930+
<execution>
931+
<id>unpack-dependency-classes-install</id>
932+
<phase>install</phase>
933+
<goals>
934+
<goal>repackage</goal>
935+
</goals>
936+
</execution>
928937
<execution>
929938
<id>id-build-info</id>
939+
<phase>process-resources</phase>
930940
<goals>
931941
<goal>build-info</goal>
932942
</goals>
@@ -960,7 +970,7 @@
960970
<executions>
961971
<execution>
962972
<id>unpack-dependency-classes-install</id>
963-
<phase>install</phase>
973+
<phase>pre-site</phase>
964974
<goals>
965975
<goal>resolve</goal>
966976
<goal>collect</goal>
@@ -979,7 +989,7 @@
979989
</execution>
980990
<execution>
981991
<id>unpack-dependency-classes-deploy</id>
982-
<phase>deploy</phase>
992+
<phase>pre-site</phase>
983993
<goals>
984994
<goal>resolve</goal>
985995
<goal>collect</goal>

run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ function runDev() {
5151
}
5252

5353
function run() {
54-
#runHerokuLocal
55-
runDev
54+
runHerokuLocal
55+
#runDev
5656
}
5757

5858
function main() {

0 commit comments

Comments
 (0)