Leonardo Vannucci
2018-08-17 f2842bb4c7eb6443de10bb74cc98deda627e79be
Deploy su TOMCAT
2 files modified
16 ■■■■ changed files
dg1cloud-core/pom.xml 10 ●●●●● patch | view | raw | blame | history
dg1cloud-core/src/main/resources/application.properties 6 ●●●● patch | view | raw | blame | history
dg1cloud-core/pom.xml
....@@ -6,7 +6,7 @@
66 <groupId>it.digione.cloud</groupId>
77 <artifactId>dg1cloud-core</artifactId>
88 <version>0.0.1-SNAPSHOT</version>
9
- <packaging>jar</packaging>
9
+ <packaging>war</packaging>
1010
1111 <name>dg1cloud-core</name>
1212 <description>Servizio cloud per ricezione file</description>
....@@ -33,6 +33,7 @@
3333 <dependency>
3434 <groupId>org.flywaydb</groupId>
3535 <artifactId>flyway-core</artifactId>
36
+ <version>4.0.1</version>
3637 </dependency>
3738
3839 <dependency>
....@@ -44,6 +45,12 @@
4445 <dependency>
4546 <groupId>org.springframework.boot</groupId>
4647 <artifactId>spring-boot-starter-web</artifactId>
48
+ <exclusions>
49
+ <exclusion>
50
+ <groupId>org.springframework.boot</groupId>
51
+ <artifactId>spring-boot-starter-tomcat</artifactId>
52
+ </exclusion>
53
+ </exclusions>
4754 </dependency>
4855
4956 <dependency>
....@@ -110,6 +117,7 @@
110117 </dependencies>
111118
112119 <build>
120
+ <finalName>${project.artifactId}</finalName>
113121 <plugins>
114122 <plugin>
115123 <groupId>org.springframework.boot</groupId>
dg1cloud-core/src/main/resources/application.properties
....@@ -1,6 +1,6 @@
11 spring.datasource.url=jdbc:postgresql://localhost:5432/dg1cloud
2
-spring.datasource.username=postgres
3
-spring.datasource.password=passero
2
+#spring.datasource.username=postgres
3
+#spring.datasource.password=passero
44 spring.datasource.driver-class-name=org.postgresql.Driver
55 spring.datasource.tomcat.initial-size=10
66 spring.datasource.tomcat.max-wait=30000
....@@ -14,6 +14,6 @@
1414
1515 spring.jpa.open-in-view=true
1616
17
-server.address=vannux.grupposistematica.it
17
+#server.address=vannux.grupposistematica.it
1818
1919 logging.level.it.digione.dg1cloud=DEBUG