Making actuator and web optional dependencies

without this change we're explicitly requiring our users to take both web and actuator into their classpath. That makes little sense since not every app is a web app.
with this change we're making those deps optional

fixes #524
This commit is contained in:
Marcin Grzejszczak
2017-02-23 10:56:58 +01:00
parent 08630c580c
commit 4795b20ec7

View File

@@ -20,14 +20,14 @@
<artifactId>spring-cloud-starter</artifactId>
</dependency>
<dependency>
<!-- TODO: maybe this should be optional -->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<scope>optional</scope>
</dependency>
<dependency>
<!-- TODO: maybe this should be optional -->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
<scope>optional</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>