File tree Expand file tree Collapse file tree 3 files changed +5
-15
lines changed Expand file tree Collapse file tree 3 files changed +5
-15
lines changed Original file line number Diff line number Diff line change 1- web : java $JAVA_OPTS -Dspring.profiles.active=prod -jar target/dependency/webapp-runner.jar --port $PORT target/* .war
1+ web : java $JAVA_OPTS -Dspring.profiles.active=heroku -jar target/dependency/webapp-runner.jar --port $PORT target/* .war
Original file line number Diff line number Diff line change 817817 </build >
818818 </profile >
819819 <profile >
820- <id >prod </id >
820+ <id >heroku </id >
821821 <build >
822822 <plugins >
823823 <plugin >
827827 <layout >WAR</layout >
828828 <mainClass >${start-class} </mainClass >
829829 <profiles >
830- <profile >prod </profile >
830+ <profile >heroku </profile >
831831 </profiles >
832832 </configuration >
833833 <executions >
847847 </execution >
848848 </executions >
849849 </plugin >
850-
851850 <plugin >
852851 <groupId >org.apache.maven.plugins</groupId >
853852 <artifactId >maven-dependency-plugin</artifactId >
871870 <phase >package</phase >
872871 <goals >
873872 <goal >analyze-only</goal >
874- <!--
875- <goal>analyze-report</goal>
876- <goal>unpack-dependencies</goal>
877- -->
878873 <goal >build-classpath</goal >
879874 </goals >
880875 <configuration >
881- <!--
882- <includes>**/*.class,**/*.properties</includes>
883- -->
884876 <outputDirectory >${project.build.directory} /classes</outputDirectory >
885877 <overWriteReleases >false</overWriteReleases >
886878 <overWriteSnapshots >true</overWriteSnapshots >
909901 <artifactId >maven-surefire-plugin</artifactId >
910902 <configuration >
911903 <systemPropertyVariables >
912- <spring .profiles.active>prod </spring .profiles.active>
904+ <spring .profiles.active>heroku </spring .profiles.active>
913905 </systemPropertyVariables >
914906 <skipTests >true</skipTests >
915907 </configuration >
Original file line number Diff line number Diff line change @@ -178,10 +178,9 @@ logging:
178178 impl : DEBUG
179179---
180180spring :
181- profiles : prod
181+ profiles : heroku
182182 datasource :
183183 url : jdbc:postgresql://localhost:5432/simpleworklist
184- # url: jdbc:pgsql://localhost:5432/simpleworklist
185184 continue-on-error : true
186185 jpa :
187186 show-sql : false
211210 urlHost : simpleworklist.herokuapp.com
212211logging :
213212 config : classpath:logback.xml
214- # file: logging-prod.log
215213 level :
216214 org :
217215 woehlke :
You can’t perform that action at this time.
0 commit comments