Skip to content

Commit

Permalink
Move to lettuce.io #493
Browse files Browse the repository at this point in the history
Rename artifactId to lettuce-core with groupId io.lettuce and switch snapshot versioning scheme from -SNAPSHOT to .BUILD-SNAPSHOT. Relocate packages from com.lambdaworks.redis to io.lettuce.core.
  • Loading branch information
mp911de committed Mar 22, 2017
1 parent 1a66681 commit fa3a96e
Show file tree
Hide file tree
Showing 874 changed files with 5,919 additions and 6,254 deletions.
19 changes: 7 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Supports advanced Redis features such as Sentinel, Cluster, Pipelining, Auto-Rec

This version of lettuce has been tested against the latest Redis source-build.

* lettuce 3.x works with Java 6, 7 and 8, lettuce 4.x requires Java 8
* [synchronous](https://github.com/mp911de/lettuce/wiki/Basic-usage), [asynchronous](https://github.com/mp911de/lettuce/wiki/Asynchronous-API-%284.0%29) and [reactive](https://github.com/mp911de/lettuce/wiki/Reactive-API-%284.0%29) usage
* [Redis Sentinel](https://github.com/mp911de/lettuce/wiki/Redis-Sentinel)
* [Redis Cluster](https://github.com/mp911de/lettuce/wiki/Redis-Cluster)
Expand Down Expand Up @@ -50,24 +49,24 @@ Example for Maven:

```xml
<dependency>
<groupId>biz.paluch.redis</groupId>
<artifactId>lettuce</artifactId>
<groupId>io.lettuce</groupId>
<artifactId>lettuce-core</artifactId>
<version>x.y.z</version>
</dependency>
```

Shaded JAR-File (packaged dependencies and relocated to the `com.lambdaworks` package to prevent version conflicts)
Shaded JAR-File (packaged dependencies and relocated to the `io.lettuce.core` package to prevent version conflicts)

```xml
<dependency>
<groupId>biz.paluch.redis</groupId>
<artifactId>lettuce</artifactId>
<groupId>io.lettuce</groupId>
<artifactId>lettuce-core</artifactId>
<version>x.y.z</version>
<classifier>shaded</classifier>
<exclusions>
<exclusion>
<groupId>io.reactivex</groupId>
<artifactId>rxjava</artifactId>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-core</artifactId>
</exclusion>
<exclusion>
<groupId>org.latencyutils</groupId>
Expand All @@ -89,10 +88,6 @@ Shaded JAR-File (packaged dependencies and relocated to the `com.lambdaworks` p
<groupId>io.netty</groupId>
<artifactId>netty-codec</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
Expand Down
91 changes: 9 additions & 82 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
<version>9</version>
</parent>

<groupId>biz.paluch.redis</groupId>
<artifactId>lettuce</artifactId>
<version>5.0.0-SNAPSHOT</version>
<groupId>io.lettuce</groupId>
<artifactId>lettuce-core</artifactId>
<version>5.0.0.BUILD-SNAPSHOT</version>
<packaging>jar</packaging>

<name>lettuce</name>
<url>http://github.com/mp911de/lettuce/wiki</url>
<url>http://github.com/lettuce-io/lettuce-core</url>
<description>Advanced and thread-safe Java Redis client for synchronous, asynchronous, and
reactive usage. Supports Cluster, Sentinel, Pipelining, Auto-Reconnect, Codecs
and much more.
Expand All @@ -30,12 +30,12 @@

<ciManagement>
<system>Travis CI</system>
<url>https://travis-ci.org/mp911de/lettuce</url>
<url>https://travis-ci.org/lettuce-io/lettuce-core</url>
</ciManagement>

<issueManagement>
<system>Github</system>
<url>https://github.com/mp911de/lettuce/issues</url>
<url>https://github.com/lettuce-io/lettuce-core/issues</url>
</issueManagement>

<developers>
Expand Down Expand Up @@ -63,9 +63,9 @@
</properties>

<scm>
<connection>scm:git:https://github.com/mp911de/lettuce.git</connection>
<developerConnection>scm:git:https://github.com/mp911de/lettuce.git</developerConnection>
<url>http://github.com/mp911de/lettuce</url>
<connection>scm:git:https://github.com/lettuce-io/lettuce-core.git</connection>
<developerConnection>scm:git:https://github.com/lettuce-io/lettuce-core.git</developerConnection>
<url>http://github.com/lettuce-io/lettuce-core</url>
<tag>HEAD</tag>
</scm>

Expand Down Expand Up @@ -670,79 +670,6 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.4</version>
<configuration>
<relativizeDecorationLinks>false</relativizeDecorationLinks>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-module-markdown</artifactId>
<version>1.6</version>
</dependency>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gitexe</artifactId>
<version>1.9</version>
</dependency>
</dependencies>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<version>1.1</version>
<configuration>
<scmBranch>gh-pages</scmBranch>
<content>${project.build.directory}/site</content>
<skipCheckin>${github.site.upload.skip}</skipCheckin>
<skipDeletedFiles>true</skipDeletedFiles>
<pubScmUrl>scm:git:ssh://[email protected]/mp911de/redis.paluch.biz.git</pubScmUrl>
<excludes>apidocs/**</excludes>
</configuration>
</plugin>
</plugins>
</build>

<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.7</version>
<reportSets>
<reportSet>
<reports>
<report>index</report>
<report>plugin-management</report>
<report>distribution-management</report>
<report>dependency-info</report>
<report>dependencies</report>
<report>scm</report>
<report>issue-tracking</report>
<report>cim</report>
<report>dependency-management</report>
<report>project-team</report>
<report>summary</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>

<repositories>
<repository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/libs-snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</project>
4 changes: 2 additions & 2 deletions src/assembly/bin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<dependencySets>
<dependencySet>
<includes>
<include>biz.paluch.redis:lettuce:jar:${project.version}</include>
<include>io.lettuce:lettuce-core:jar:${project.version}</include>
</includes>
<outputDirectory></outputDirectory>
<unpack>false</unpack>
Expand Down Expand Up @@ -41,7 +41,7 @@
</dependencySet>
<dependencySet>
<includes>
<include>biz.paluch.redis:lettuce:*:javadoc</include>
<include>io.lettuce:lettuce-core:*:javadoc</include>
</includes>
<outputDirectory>apidocs</outputDirectory>
<unpack>true</unpack>
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/com/lambdaworks/codec/package-info.java

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions src/main/java/com/lambdaworks/redis/cluster/package-info.java

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions src/main/java/com/lambdaworks/redis/dynamic/package-info.java

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions src/main/java/com/lambdaworks/redis/package-info.java

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions src/main/java/com/lambdaworks/redis/support/package-info.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.lambdaworks.redis;
package io.lettuce.core;

import static com.lambdaworks.redis.protocol.CommandType.EXEC;
import static io.lettuce.core.protocol.CommandType.EXEC;

import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.TimeUnit;

import com.lambdaworks.redis.GeoArgs.Unit;
import com.lambdaworks.redis.api.StatefulConnection;
import com.lambdaworks.redis.api.async.*;
import com.lambdaworks.redis.cluster.api.async.RedisClusterAsyncCommands;
import com.lambdaworks.redis.codec.RedisCodec;
import com.lambdaworks.redis.internal.LettuceAssert;
import com.lambdaworks.redis.output.*;
import com.lambdaworks.redis.protocol.*;
import io.lettuce.core.GeoArgs.Unit;
import io.lettuce.core.api.StatefulConnection;
import io.lettuce.core.api.async.*;
import io.lettuce.core.cluster.api.async.RedisClusterAsyncCommands;
import io.lettuce.core.codec.RedisCodec;
import io.lettuce.core.internal.LettuceAssert;
import io.lettuce.core.output.*;
import io.lettuce.core.protocol.*;

/**
* An asynchronous and thread-safe API for a Redis connection.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.lambdaworks.redis;
package io.lettuce.core;

import java.io.Closeable;
import java.net.SocketAddress;
Expand All @@ -25,11 +25,11 @@
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.function.Supplier;

import com.lambdaworks.redis.Transports.NativeTransports;
import com.lambdaworks.redis.internal.LettuceAssert;
import com.lambdaworks.redis.protocol.ConnectionWatchdog;
import com.lambdaworks.redis.resource.ClientResources;
import com.lambdaworks.redis.resource.DefaultClientResources;
import io.lettuce.core.Transports.NativeTransports;
import io.lettuce.core.internal.LettuceAssert;
import io.lettuce.core.protocol.ConnectionWatchdog;
import io.lettuce.core.resource.ClientResources;
import io.lettuce.core.resource.DefaultClientResources;

import io.netty.bootstrap.Bootstrap;
import io.netty.buffer.PooledByteBufAllocator;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.lambdaworks.redis;
package io.lettuce.core;

import static com.lambdaworks.redis.protocol.CommandType.EXEC;
import static io.lettuce.core.protocol.CommandType.EXEC;

import java.util.Date;
import java.util.Map;
Expand All @@ -25,14 +25,14 @@
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

import com.lambdaworks.redis.GeoArgs.Unit;
import com.lambdaworks.redis.api.StatefulConnection;
import com.lambdaworks.redis.api.reactive.*;
import com.lambdaworks.redis.cluster.api.reactive.RedisClusterReactiveCommands;
import com.lambdaworks.redis.codec.RedisCodec;
import com.lambdaworks.redis.internal.LettuceAssert;
import com.lambdaworks.redis.output.*;
import com.lambdaworks.redis.protocol.*;
import io.lettuce.core.GeoArgs.Unit;
import io.lettuce.core.api.StatefulConnection;
import io.lettuce.core.api.reactive.*;
import io.lettuce.core.cluster.api.reactive.RedisClusterReactiveCommands;
import io.lettuce.core.codec.RedisCodec;
import io.lettuce.core.internal.LettuceAssert;
import io.lettuce.core.output.*;
import io.lettuce.core.protocol.*;

/**
* A reactive and thread-safe API for a Redis connection.
Expand Down
Loading

0 comments on commit fa3a96e

Please sign in to comment.