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
+20
View File
@@ -105,6 +105,25 @@
</plugins>
</build>
</profile>
<profile>
<id>thin-jar</id>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<dependencies>
<!-- The following enables the "thin jar" deployment option. -->
<dependency>
<groupId>org.springframework.boot.experimental</groupId>
<artifactId>spring-boot-thin-layout</artifactId>
<version>${thin.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<properties>
@@ -115,6 +134,7 @@
<!-- plugins -->
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<thin.version>1.0.11.RELEASE</thin.version>
</properties>
</project>