Code for BAEL-1812 (#4432)

* Thin jar option for Spring Boot bootstrap and gradle projects.

* .gitignore for spring-boot-gradle project.

* Maven and Gradle 'thin' Boot builds (optional)

* Rename 'wrapper' to 'thin' and shorten some lines of code to fit the article.
This commit is contained in:
Alessio Stalla
2018-06-08 22:47:00 +02:00
committed by maibin
parent 3e2d544144
commit aaa9202883
5 changed files with 72 additions and 5 deletions

View File

@@ -88,6 +88,28 @@
</plugins>
</build>
</profile>
<profile>
<id>thin-jar</id>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot.experimental</groupId>
<artifactId>spring-boot-thin-maven-plugin</artifactId>
<version>${thin.version}</version>
<executions>
<execution>
<!-- Download the dependencies at build time -->
<id>resolve</id>
<goals>
<goal>resolve</goal>
</goals>
<inherited>false</inherited>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<properties>