[bs-113] Remove dependency on slf4j for core jars
Also added explicit version for starter dependencies. [Fixes #49588267]
This commit is contained in:
parent
9f4eb6befc
commit
13cb224b0a
12
README.md
12
README.md
|
@ -120,11 +120,9 @@ Spring Bootstrap. Features include:
|
|||
configuration, e.g. `@ConditionalOnBean`,
|
||||
`@ConditionalOnMissingBean` and `@ConditionalOnClass`.
|
||||
|
||||
### Spring Bootstrap Service
|
||||
### Spring Bootstrap Actuator
|
||||
|
||||
<!-- FIXME: change the name -->
|
||||
|
||||
Spring Bootstrap Service uses auto-configuration features to decorate
|
||||
Spring Bootstrap Actuator uses auto-configuration features to decorate
|
||||
your application with features that make it instantly deployable and
|
||||
supportable in production. For instance if you are writing a JSON web
|
||||
service then it will provide a server, security, logging, externalized
|
||||
|
@ -132,11 +130,9 @@ configuration, management endpoints, an audit abstraction, and more.
|
|||
If you want to switch off the built in features, or extend or replace
|
||||
them, it makes that really easy as well.
|
||||
|
||||
### Spring Bootstrap Applications
|
||||
### Spring Bootstrap Starters
|
||||
|
||||
<!-- FIXME: change the name -->
|
||||
|
||||
Spring Bootstrap Applications are a set of convenient dependency
|
||||
Spring Bootstrap Starters are a set of convenient dependency
|
||||
descriptors that you can include in your application. You get a
|
||||
one-stop-shop for all the Spring and related technology that you need
|
||||
without having to hunt through sample code and copy paste loads of
|
||||
|
|
|
@ -22,12 +22,6 @@
|
|||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-core</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>commons-logging</groupId>
|
||||
<artifactId>commons-logging</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
|
@ -49,16 +43,6 @@
|
|||
<version>4.3.1.Final</version>
|
||||
<!-- FIXME: make this optional -->
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>jcl-over-slf4j</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-jdk14</artifactId>
|
||||
<optional>true</optional>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
|
|
|
@ -10,12 +10,13 @@
|
|||
<packaging>pom</packaging>
|
||||
<modules>
|
||||
<module>spring-bootstrap-sample</module>
|
||||
<module>spring-bootstrap-actuator-sample</module>
|
||||
<module>spring-bootstrap-batch-sample</module>
|
||||
<module>spring-bootstrap-data-sample</module>
|
||||
<module>spring-bootstrap-jetty-sample</module>
|
||||
<module>spring-bootstrap-simple-sample</module>
|
||||
<module>spring-bootstrap-tomcat-sample</module>
|
||||
<module>spring-bootstrap-profile-sample</module>
|
||||
<module>spring-bootstrap-actuator-sample</module>
|
||||
<module>spring-bootstrap-trad-sample</module>
|
||||
<module>spring-bootstrap-xml-sample</module>
|
||||
</modules>
|
||||
|
@ -145,4 +146,25 @@
|
|||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-core</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>commons-logging</groupId>
|
||||
<artifactId>commons-logging</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>jcl-over-slf4j</artifactId>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>org.springframework.bootstrap</groupId>
|
||||
<artifactId>spring-bootstrap-samples</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>0.5.0.BUILD-SNAPSHOT</version>
|
||||
</parent>
|
||||
<artifactId>spring-bootstrap-batch-sample</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
</properties>
|
||||
<modules>
|
||||
<module>spring-bootstrap-starter</module>
|
||||
<module>spring-bootstrap-actuator-starter</module>
|
||||
<module>spring-bootstrap-batch-starter</module>
|
||||
<module>spring-bootstrap-integration-starter</module>
|
||||
<module>spring-bootstrap-jpa-starter</module>
|
||||
|
@ -33,6 +34,16 @@
|
|||
<artifactId>spring-bootstrap-actuator</artifactId>
|
||||
<version>${spring.bootstrap.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.bootstrap</groupId>
|
||||
<artifactId>spring-bootstrap-starter</artifactId>
|
||||
<version>${spring.bootstrap.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.bootstrap</groupId>
|
||||
<artifactId>spring-bootstrap-actuator-starter</artifactId>
|
||||
<version>${spring.bootstrap.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.bootstrap</groupId>
|
||||
<artifactId>spring-bootstrap-web-starter</artifactId>
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>org.springframework.bootstrap</groupId>
|
||||
<artifactId>spring-bootstrap-starters</artifactId>
|
||||
<version>0.5.0.BUILD-SNAPSHOT</version>
|
||||
</parent>
|
||||
<artifactId>spring-bootstrap-actuator-starter</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>spring-bootstrap-starter</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>spring-bootstrap-actuator</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
Loading…
Reference in New Issue