Manifest problem has solved.

This commit is contained in:
insanity 2017-08-07 19:43:20 +09:00
parent 590d1bf937
commit 61b5026cbf

18
pom.xml
View File

@ -216,6 +216,18 @@
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>com.loafle.overflow.OFMain</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>com.spotify</groupId> <groupId>com.spotify</groupId>
<artifactId>dockerfile-maven-plugin</artifactId> <artifactId>dockerfile-maven-plugin</artifactId>
@ -227,6 +239,12 @@
<goal>build</goal> <goal>build</goal>
</goals> </goals>
<configuration> <configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>com.loafle.overflow.OFMain</mainClass>
</manifest>
</archive>
<repository>docker.loafle.net/overflow/${project.artifactId}</repository> <repository>docker.loafle.net/overflow/${project.artifactId}</repository>
<tag>${project.version}</tag> <tag>${project.version}</tag>
</configuration> </configuration>