This commit is contained in:
crusader 2018-07-03 20:48:07 +09:00
parent bed6e6e849
commit 7a45be637a
3 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,3 @@
#!/bin/bash
mvn clean -f "/project/loafle/overflow/central/pom.xml"
mvn package -f "/project/loafle/overflow/central/pom.xml" -DskipTests -P development
mvn clean package -f "/project/loafle/overflow/central/pom.xml" -DskipTests -P development

10
pom.xml
View File

@ -321,20 +321,22 @@
<plugin>
<groupId>com.spotify</groupId>
<artifactId>dockerfile-maven-plugin</artifactId>
<version>1.3.4</version>
<version>1.4.3</version>
<executions>
<execution>
<id>build</id>
<id>default</id>
<phase>package</phase>
<goals>
<goal>build</goal>
<goal>push</goal>
</goals>
<configuration>
<archive>
<!-- <archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>com.loafle.overflow.central.Central</mainClass>
</manifest>
</archive>
</archive> -->
<repository>${docker.registry.name}/${project.artifactId}</repository>
<tag>${project.version}</tag>
</configuration>

View File

@ -1,4 +1,4 @@
datasource.url=jdbc:postgresql://192.168.1.103:5432/overflow
datasource.url=jdbc:postgresql://192.168.1.101:5432/overflow
datasource.username=overflow
datasource.password=qwer5795
datasource.driver-class-name=org.postgresql.Driver