Skip to content

Commit de1e6a2

Browse files
author
Eugen
authored
Merge pull request eugenp#869 from dkornishev/master
Spring Boot Fat Jar
2 parents 0de8a91 + 16b79db commit de1e6a2

1 file changed

Lines changed: 16 additions & 6 deletions

File tree

‎spring-boot/pom.xml‎

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<groupId>org.springframework.boot</groupId>
1414
<artifactId>spring-boot-starter-parent</artifactId>
15-
<version>1.4.0.RC1</version>
15+
<version>1.4.2.RELEASE</version>
1616
<relativePath /> <!-- lookup parent from repository -->
1717
</parent>
1818

@@ -21,10 +21,10 @@
2121
<start-class>org.baeldung.boot.DemoApplication</start-class>
2222
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2323
<java.version>1.8</java.version>
24-
<spring.version>4.3.1.RELEASE</spring.version>
24+
<spring.version>4.3.4.RELEASE</spring.version>
2525
</properties>
2626

27-
<dependencies>
27+
<dependencies>
2828
<dependency>
2929
<groupId>org.springframework.boot</groupId>
3030
<artifactId>spring-boot-starter-thymeleaf</artifactId>
@@ -84,7 +84,7 @@
8484
<version>3.1.7</version>
8585
<scope>test</scope>
8686
</dependency>
87-
87+
8888
<dependency>
8989
<groupId>org.webjars</groupId>
9090
<artifactId>bootstrap</artifactId>
@@ -111,6 +111,16 @@
111111
<plugin>
112112
<groupId>org.springframework.boot</groupId>
113113
<artifactId>spring-boot-maven-plugin</artifactId>
114+
<configuration>
115+
<mainClass>org.baeldung.boot.DemoApplication</mainClass>
116+
<layout>ZIP</layout>
117+
<requiresUnpack>
118+
<dependency>
119+
<groupId>org.jruby</groupId>
120+
<artifactId>jruby-complete</artifactId>
121+
</dependency>
122+
</requiresUnpack>
123+
</configuration>
114124
</plugin>
115125

116126
<plugin>
@@ -143,7 +153,7 @@
143153
</excludes>
144154
</configuration>
145155
</plugin>
146-
156+
147157
</plugins>
148158

149159
</build>
@@ -182,7 +192,7 @@
182192
</build>
183193
</profile>
184194
</profiles>
185-
195+
186196
<repositories>
187197
<repository>
188198
<id>spring-snapshots</id>

0 commit comments

Comments
 (0)