[bs-113] Remove dependency on slf4j for core jars

Also added explicit version for starter dependencies.

[Fixes #49588267]
This commit is contained in:
Dave Syer
2013-05-09 15:32:31 +01:00
parent 9f4eb6befc
commit 13cb224b0a
6 changed files with 62 additions and 26 deletions

View File

@@ -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>

View File

@@ -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>