BAEL-2104: Spring Boot deployment to AWS Beanstalk (#5951)

This commit is contained in:
Corneil du Plessis 2019-01-06 16:15:09 +02:00 committed by Diego Moreira
parent 20e8886165
commit 731a3cd229
2 changed files with 24 additions and 0 deletions

View File

@ -57,6 +57,27 @@
</dependencies>
<profiles>
<profile>
<id>beanstalk</id>
<build>
<finalName>${project.name}-eb</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/cloud/config/*.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>openshift</id>
<properties>

View File

@ -0,0 +1,3 @@
spring.datasource.url=jdbc:mysql://${rds.hostname}:${rds.port}/${rds.db.name}
spring.datasource.username=${rds.username}
spring.datasource.password=${rds.password}