commit notification sent, jars final names set

Nabeel-DG-BS
Raja Nabeel 2 years ago
parent 652c68f17f
commit 78576120f1

@ -103,6 +103,7 @@
</dependencies>
</dependencyManagement>
<build>
<finalName>uco</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>

@ -5,12 +5,13 @@ import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.server.WebServerFactoryCustomizer;
import org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Bean;
@SpringBootApplication(scanBasePackages = {"com.mfsys"})
@EnableDiscoveryClient
public class UcoApplication {
public class UcoApplication extends SpringBootServletInitializer {
public static void main(String[] args) {
SpringApplication.run(UcoApplication.class, args);
}

@ -9,6 +9,9 @@ spring:
url: jdbc:mysql://localhost:3306/uco
username: root
password: root
# url: jdbc:mysql://${UCO_SQL_DB_MACHINE_IP}/uco
# username: ${UCO_SQL_DB_USER}
# password: ${UCO_SQL_DB_PASSWORD}
jpa:
show-sql: true
hibernate:

Loading…
Cancel
Save