CI/CD fix
parent
b68520ffa4
commit
051e201525
39
pom.xml
39
pom.xml
|
@ -91,38 +91,27 @@
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<url>${db.url}</url>
|
<url>${database.url}</url>
|
||||||
<user>${db.username}</user>
|
<user>${database.username}</user>
|
||||||
<password>${db.password}</password>
|
<password>${database.password}</password>
|
||||||
<locations>
|
<locations>
|
||||||
<location>classpath:db/migration</location>
|
<location>classpath:db/migration</location>
|
||||||
</locations>
|
</locations>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.spotify</groupId>
|
<!-- Build an executable JAR -->
|
||||||
<artifactId>docker-maven-plugin</artifactId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<version>1.2.0</version>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<executions>
|
<version>3.1.0</version>
|
||||||
<execution>
|
|
||||||
<id>build-image</id>
|
|
||||||
<phase>install</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>build</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<imageName>ServerMonitorBot</imageName>
|
<archive>
|
||||||
<serverId>remote-docker</serverId>
|
<manifest>
|
||||||
<dockerDirectory>.</dockerDirectory>
|
<addClasspath>true</addClasspath>
|
||||||
<resources>
|
<classpathPrefix>lib/</classpathPrefix>
|
||||||
<resource>
|
<mainClass>ru.ldeloff.servermonitorbot.ServerMonitorBotApplication</mainClass>
|
||||||
<targetPath>/</targetPath>
|
</manifest>
|
||||||
<directory>${project.build.directory}</directory>
|
</archive>
|
||||||
<include>${project.build.finalName}.jar</include>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
|
Loading…
Reference in New Issue