Skip to content

Commit f5f6bc0

Browse files
committed
URL PATH of Actions - Controller Methods Refactoring
1 parent edefceb commit f5f6bc0

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@
111111
<docker-compose-maven-plugin.verbose>true</docker-compose-maven-plugin.verbose>
112112
<docker-compose-maven-plugin.removeImages>true</docker-compose-maven-plugin.removeImages>
113113
<docker-compose-maven-plugin.removeVolumes>true</docker-compose-maven-plugin.removeVolumes>
114+
115+
<testing.skipTests>true</testing.skipTests>
114116
</properties>
115117

116118
<dependencyManagement>
@@ -776,6 +778,9 @@
776778
<profiles>
777779
<profile>
778780
<id>default</id>
781+
<properties>
782+
<testing.skipTests>true</testing.skipTests>
783+
</properties>
779784
<activation>
780785
<activeByDefault>true</activeByDefault>
781786
<property>
@@ -802,12 +807,18 @@
802807
<goals>
803808
<goal>start</goal>
804809
</goals>
810+
<configuration>
811+
<skip>${testing.skipTests}</skip>
812+
</configuration>
805813
</execution>
806814
<execution>
807815
<id>post-integration-test</id>
808816
<goals>
809817
<goal>stop</goal>
810818
</goals>
819+
<configuration>
820+
<skip>${testing.skipTests}</skip>
821+
</configuration>
811822
</execution>
812823
<execution>
813824
<id>id-build-info</id>
@@ -829,10 +840,11 @@
829840
<groupId>org.apache.maven.plugins</groupId>
830841
<artifactId>maven-surefire-plugin</artifactId>
831842
<configuration>
843+
<skipTests>${testing.skipTests}</skipTests>
832844
<systemPropertyVariables>
833845
<spring.profiles.active>default</spring.profiles.active>
846+
<skipIntegrationTests>${testing.skipTests}</skipIntegrationTests>
834847
</systemPropertyVariables>
835-
<skipTests>false</skipTests>
836848
</configuration>
837849
</plugin>
838850
</plugins>

run.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ function runTest() {
1111
}
1212

1313
function runGithubTestBuild() {
14-
./mvnw -B -DskipTests clean dependency:list install --file pom.xml
14+
#./mvnw -B -DskipTests -DskipIntegrationTests clean dependency:list install --file pom.xml
15+
./mvnw -B -DskipTests clean dependency:list install --file pom.xml
1516
}
1617

1718
function setupHeroku() {
@@ -20,6 +21,7 @@ function setupHeroku() {
2021
}
2122

2223
function buildLikeHeroku() {
24+
#./mvnw -DskipTests -DskipIntegrationTests clean dependency:list install
2325
./mvnw -DskipTests clean dependency:list install
2426
}
2527

@@ -31,11 +33,11 @@ function runHerokuLocal() {
3133
}
3234

3335
function main() {
34-
#runGithubTestBuild
36+
runGithubTestBuild
3537
#setupHeroku
3638
#runHerokuLocal
3739
#runDev
38-
runTest
40+
#runTest
3941
}
4042

4143
main

0 commit comments

Comments
 (0)