Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
046475a6
Commit
046475a6
authored
Sep 21, 2016
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated spring-boot-starter-redis
parent
fc00e4cb
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
110 deletions
+0
-110
pom.xml
spring-boot-starters/pom.xml
+0
-2
pom.xml
spring-boot-starters/spring-boot-starter-redis/pom.xml
+0
-57
RedisStarterDeprecationWarningAutoConfiguration.java
...edis/RedisStarterDeprecationWarningAutoConfiguration.java
+0
-47
spring.factories
...tarter-redis/src/main/resources/META-INF/spring.factories
+0
-3
spring.provides
...starter-redis/src/main/resources/META-INF/spring.provides
+0
-1
No files found.
spring-boot-starters/pom.xml
View file @
046475a6
...
...
@@ -57,8 +57,6 @@
<module>
spring-boot-starter-mustache
</module>
<module>
spring-boot-starter-actuator
</module>
<module>
spring-boot-starter-parent
</module>
<!-- deprecated but still provided for compatibility with 1.3 -->
<module>
spring-boot-starter-redis
</module>
<module>
spring-boot-starter-security
</module>
<module>
spring-boot-starter-social-facebook
</module>
<module>
spring-boot-starter-social-twitter
</module>
...
...
spring-boot-starters/spring-boot-starter-redis/pom.xml
deleted
100644 → 0
View file @
fc00e4cb
<?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.boot
</groupId>
<artifactId>
spring-boot-starters
</artifactId>
<version>
1.5.0.BUILD-SNAPSHOT
</version>
</parent>
<artifactId>
spring-boot-starter-redis
</artifactId>
<name>
spring-boot-starter-redis (DEPRECATED)
</name>
<description>
Starter for using Redis key-value data store with Spring Data Redis and
the Jedis client. Deprecated as of 1.4 in favor of spring-boot-starter-data-redis
</description>
<url>
http://projects.spring.io/spring-boot/
</url>
<organization>
<name>
Pivotal Software, Inc.
</name>
<url>
http://www.spring.io
</url>
</organization>
<properties>
<main.basedir>
${basedir}/../..
</main.basedir>
</properties>
<dependencies>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.data
</groupId>
<artifactId>
spring-data-redis
</artifactId>
</dependency>
<dependency>
<groupId>
redis.clients
</groupId>
<artifactId>
jedis
</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.basepom.maven
</groupId>
<artifactId>
duplicate-finder-maven-plugin
</artifactId>
<executions>
<execution>
<id>
duplicate-dependencies
</id>
<phase>
validate
</phase>
<goals>
<goal>
check
</goal>
</goals>
<configuration>
<ignoredResourcePatterns>
<ignoredResourcePattern>
changelog.txt
</ignoredResourcePattern>
</ignoredResourcePatterns>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
spring-boot-starters/spring-boot-starter-redis/src/main/java/org/springframework/boot/starter/redis/RedisStarterDeprecationWarningAutoConfiguration.java
deleted
100644 → 0
View file @
fc00e4cb
/*
* Copyright 2012-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org
.
springframework
.
boot
.
starter
.
redis
;
import
javax.annotation.PostConstruct
;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.LogFactory
;
import
org.springframework.boot.autoconfigure.EnableAutoConfiguration
;
import
org.springframework.context.annotation.Configuration
;
/**
* {@link EnableAutoConfiguration Auto-configuration} to print a deprecation warning about
* the starter.
*
* @author Phillip Webb
* @since 1.4.0
*/
@Configuration
@Deprecated
public
class
RedisStarterDeprecationWarningAutoConfiguration
{
private
static
final
Log
logger
=
LogFactory
.
getLog
(
RedisStarterDeprecationWarningAutoConfiguration
.
class
);
@PostConstruct
public
void
logWarning
()
{
logger
.
warn
(
"spring-boot-starter-redis is deprecated as of Spring Boot 1.4, "
+
"please migrate to spring-boot-starter-data-redis"
);
}
}
spring-boot-starters/spring-boot-starter-redis/src/main/resources/META-INF/spring.factories
deleted
100644 → 0
View file @
fc00e4cb
# Auto Configure
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
org.springframework.boot.starter.redis.RedisStarterDeprecationWarningAutoConfiguration
spring-boot-starters/spring-boot-starter-redis/src/main/resources/META-INF/spring.provides
deleted
100644 → 0
View file @
fc00e4cb
provides: spring-data-redis,jedis
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment