File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 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 >
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 >
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 >
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 >
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ function runTest() {
1111}
1212
1313function 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
1718function setupHeroku() {
@@ -20,6 +21,7 @@ function setupHeroku() {
2021}
2122
2223function 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
3335function main() {
34- # runGithubTestBuild
36+ runGithubTestBuild
3537 # setupHeroku
3638 # runHerokuLocal
3739 # runDev
38- runTest
40+ # runTest
3941}
4042
4143main
You can’t perform that action at this time.
0 commit comments