Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@
<executions>
<execution>
<id>unpack-dependencies</id>
<phase>pre-site</phase>
<phase>site</phase>
<goals>
<goal>analyze-only</goal>
<goal>analyze-dep-mgt</goal>
Expand Down Expand Up @@ -358,7 +358,7 @@
</execution>
<execution>
<id>check-dependencies1</id>
<phase>pre-site</phase>
<phase>site</phase>
<goals>
<goal>list</goal>
<goal>list-repositories</goal>
Expand All @@ -367,7 +367,7 @@
</execution>
<execution>
<id>check-dependencies2</id>
<phase>pre-site</phase>
<phase>site</phase>
<goals>
<goal>analyze</goal>
<goal>analyze-dep-mgt</goal>
Expand All @@ -377,7 +377,7 @@
</execution>
<execution>
<id>check-dependencies3</id>
<phase>verify</phase>
<phase>site</phase>
<goals>
<goal>tree</goal>
</goals>
Expand All @@ -400,7 +400,7 @@
</execution>
<execution>
<id>get-dependency-sources</id>
<phase>pre-site</phase>
<phase>site</phase>
<goals>
<goal>sources</goal>
<goal>resolve</goal>
Expand Down Expand Up @@ -434,10 +434,7 @@
</activation>
<build>
<finalName>simpleworklist</finalName>
<defaultGoal>clean spring-boot:run</defaultGoal>
<!--
<defaultGoal>clean install dependency:sources dependency:resolve dependency:resolve-plugins dependency:tree/defaultGoal>
-->
<defaultGoal>clean dependency:list install spring-boot:run</defaultGoal>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
Expand Down
29 changes: 18 additions & 11 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,37 @@

source setenv.sh



function runDev() {
./mvnw
}

function runGithubTestBuild() {
./mvnw -B package --file pom.xml
}


function setupHeroku() {
heroku login
heroku ps -a simpleworklist
}

function buildLikeHeroku() {
./mvnw -DskipTests clean dependency:list install
}

function runHerokuLocal() {
buildLikeHeroku
heroku ps -a simpleworklist
./mvnw clean install
heroku local web
heroku open
}

function runDev() {
./mvnw clean install
}

function runGithubTestBuild() {
./mvnw -B package --file pom.xml
}

function main() {
runDev
#runDev
#setupHeroku
#runHerokuLocal
runHerokuLocal
}

main