Skip to content

Commit 06a7478

Browse files
committed
Exclude Jackson.
We don't use it. Also it saves ~1.5Mb. No functional changes.
1 parent 4ca57a3 commit 06a7478

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,18 @@
133133
<groupId>org.springframework.boot</groupId>
134134
<artifactId>spring-boot-starter-tomcat</artifactId>
135135
</exclusion>
136+
<exclusion>
137+
<groupId>com.fasterxml.jackson.core</groupId>
138+
<artifactId>jackson-core</artifactId>
139+
</exclusion>
140+
<exclusion>
141+
<groupId>com.fasterxml.jackson.core</groupId>
142+
<artifactId>jackson-databind</artifactId>
143+
</exclusion>
144+
<exclusion>
145+
<groupId>com.fasterxml.jackson.core</groupId>
146+
<artifactId>jackson-annotations</artifactId>
147+
</exclusion>
136148
</exclusions>
137149
</dependency>
138150

src/main/resources/application-test.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ spring.autoconfigure.exclude: \
7070
, org.springframework.boot.autoconfigure.jms.hornetq.HornetQAutoConfiguration \
7171
, org.springframework.boot.autoconfigure.hateoas.HypermediaAutoConfiguration \
7272
, org.springframework.boot.autoconfigure.integration.IntegrationAutoConfiguration \
73+
, org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration \
7374
, org.springframework.boot.autoconfigure.jersey.JerseyAutoConfiguration \
7475
, org.springframework.boot.autoconfigure.elasticsearch.jest.JestAutoConfiguration \
7576
, org.springframework.boot.autoconfigure.jms.JmsAutoConfiguration \

src/main/resources/application-travis.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ spring.autoconfigure.exclude: \
7070
, org.springframework.boot.autoconfigure.jms.hornetq.HornetQAutoConfiguration \
7171
, org.springframework.boot.autoconfigure.hateoas.HypermediaAutoConfiguration \
7272
, org.springframework.boot.autoconfigure.integration.IntegrationAutoConfiguration \
73+
, org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration \
7374
, org.springframework.boot.autoconfigure.jersey.JerseyAutoConfiguration \
7475
, org.springframework.boot.autoconfigure.elasticsearch.jest.JestAutoConfiguration \
7576
, org.springframework.boot.autoconfigure.jms.JmsAutoConfiguration \

vagrant/provisioning/roles/mystamps-app/templates/application-prod.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ spring.autoconfigure.exclude: \
7373
, org.springframework.boot.autoconfigure.jms.hornetq.HornetQAutoConfiguration \
7474
, org.springframework.boot.autoconfigure.hateoas.HypermediaAutoConfiguration \
7575
, org.springframework.boot.autoconfigure.integration.IntegrationAutoConfiguration \
76+
, org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration \
7677
, org.springframework.boot.autoconfigure.jersey.JerseyAutoConfiguration \
7778
, org.springframework.boot.autoconfigure.elasticsearch.jest.JestAutoConfiguration \
7879
, org.springframework.boot.autoconfigure.jms.JmsAutoConfiguration \

0 commit comments

Comments
 (0)