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 #!/bin/bash
mvn clean -f "/project/loafle/overflow/central/pom.xml" mvn clean package -f "/project/loafle/overflow/central/pom.xml" -DskipTests -P development
mvn package -f "/project/loafle/overflow/central/pom.xml" -DskipTests -P development

10
pom.xml
View File

@ -321,20 +321,22 @@
<plugin> <plugin>
<groupId>com.spotify</groupId> <groupId>com.spotify</groupId>
<artifactId>dockerfile-maven-plugin</artifactId> <artifactId>dockerfile-maven-plugin</artifactId>
<version>1.3.4</version> <version>1.4.3</version>
<executions> <executions>
<execution> <execution>
<id>build</id> <id>default</id>
<phase>package</phase>
<goals> <goals>
<goal>build</goal> <goal>build</goal>
<goal>push</goal>
</goals> </goals>
<configuration> <configuration>
<archive> <!-- <archive>
<manifest> <manifest>
<addClasspath>true</addClasspath> <addClasspath>true</addClasspath>
<mainClass>com.loafle.overflow.central.Central</mainClass> <mainClass>com.loafle.overflow.central.Central</mainClass>
</manifest> </manifest>
</archive> </archive> -->
<repository>${docker.registry.name}/${project.artifactId}</repository> <repository>${docker.registry.name}/${project.artifactId}</repository>
<tag>${project.version}</tag> <tag>${project.version}</tag>
</configuration> </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.username=overflow
datasource.password=qwer5795 datasource.password=qwer5795
datasource.driver-class-name=org.postgresql.Driver datasource.driver-class-name=org.postgresql.Driver