Browse Source

spring boot executable jar

master
gsd 2 years ago
parent
commit
30512581ac
  1. 18
      pom.xml

18
pom.xml

@ -104,15 +104,15 @@
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>maven-jar-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<configuration> <executions>
<archive> <execution>
<manifest> <goals>
<mainClass>app.MainApi</mainClass> <goal>repackage</goal>
</manifest> </goals>
</archive> </execution>
</configuration> </executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>

Loading…
Cancel
Save