diff --git a/.travis.yml b/.travis.yml
index dd9ad8e0..54dff226 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,24 @@
language: java
+
+sudo: false # faster builds
+
jdk:
- oraclejdk8
-cache:
- directories:
- - $HOME/.m2
+
+install:
+ true
+
+before_script:
+ - pip install --user codecov
+ - curl http://www.jpm4j.org/install/script | sh
+
+script:
+ - mvn -U -B -V test --fail-at-end -Dsource.skip=true -Dmaven.javadoc.skip=true
+
+after_success:
+ - mvn clean test jacoco:report
+ - codecov --build "$TRAVIS_JOB_NUMBER-jdk8"
+
+notifications:
+ email:
+ on_failure: change
\ No newline at end of file
diff --git a/README.md b/README.md
index fbfac964..9587d293 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,26 @@
embedded-redis
==============
-[![Build Status](https://ci.appveyor.com/api/projects/status/github/kstyrc/embedded-redis?branch=master&svg=true)](https://ci.appveyor.com/project/kstyrc/embedded-redis) Windows
+Redis embedded server for Java integration testing
+
+Fork Notes
+==============
+This repository clones from [kstyrc](https://github.com/kstyrc/embedded-redis) original repository.
+The aim is to release some long waiting fixes.
-[![Build Status](https://travis-ci.org/kstyrc/embedded-redis.png?branch=master)](https://travis-ci.org/kstyrc/embedded-redis) Linux
-Redis embedded server for Java integration testing
+**Source Website:** *[github.com/ozimov/embedded-redis](http://github.com/ozimov/embedded-redis/)*
+
+**Latest Release:** *0.7.0*
+**Latest Artifact:** *it.ozimov:embedded-redis*
+**Continuous Integration:**
+[![Maven Central](https://maven-badges.herokuapp.com/maven-central/it.ozimov/embedded-redis/badge.svg)](https://maven-badges.herokuapp.com/maven-central/ com.github.ozimov/spring-boot-email-core)
+
+[![Build Status](https://travis-ci.org/ozimov/embedded-redis.svg?branch=master)](https://travis-ci.org/ozimov/embedded-redis)
+[![codecov.io](https://codecov.io/github/ozimov/embedded-redis/coverage.svg?branch=master)](https://codecov.io/github/ozimov/embedded-redis?branch=master)
+[![Codacy Badge](https://api.codacy.com/project/badge/grade/7a4364b93df6473fb18a597e900edceb)](https://www.codacy.com/app/roberto-trunfio/embedded-redis)
+
+![codecov.io](https://codecov.io/github/ozimov/embedded-redis/branch.svg?branch=master)
Maven dependency
==============
@@ -13,25 +28,9 @@ Maven dependency
Maven Central:
```xml
- com.github.kstyrc
- embedded-redis
- 0.6
-
-```
-
-Previous releases (before 0.6):
-```xml
-
- clojars.org
- http://clojars.org/repo
-
-
-...
-
-
- redis.embedded
+ it.ozimov
embedded-redis
- 0.5
+ 0.7.0
```
diff --git a/appveyor.yml b/appveyor.yml
deleted file mode 100644
index 5ade0ed8..00000000
--- a/appveyor.yml
+++ /dev/null
@@ -1,27 +0,0 @@
-version: '{build}'
-os: Windows Server 2012
-environment:
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
-install:
- - ps: |
- Add-Type -AssemblyName System.IO.Compression.FileSystem
- if (!(Test-Path -Path "C:\maven" )) {
- (new-object System.Net.WebClient).DownloadFile(
- 'http://www.us.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip',
- 'C:\maven-bin.zip'
- )
- [System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven")
- }
- - cmd: SET PATH=C:\maven\apache-maven-3.2.5\bin;%JAVA_HOME%\bin;%PATH%
- - cmd: SET MAVEN_OPTS=-XX:MaxPermSize=2g -Xmx4g
- - cmd: SET JAVA_OPTS=-XX:MaxPermSize=2g -Xmx4g
- - cmd: mvn --version
- - cmd: java -version
-build_script:
- - mvn clean package -B -Dmaven.test.skip=true -Dmaven.javadoc.skip=true
-test_script:
- - mvn clean install --batch-mode -Pqulice
-cache:
- - C:\maven\
- - C:\Users\appveyor\.m2
-
diff --git a/pom.xml b/pom.xml
index 4d738924..6787f49a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,13 +1,14 @@
4.0.0
- com.github.kstyrc
+ it.ozimov
embedded-redis
jar
- 0.7-SNAPSHOT
+ 0.7.0-SNAPSHOT
embedded-redis
- Redis embedded server for Java integration testing
- https://github.com/kstyrc/embedded-redis
+ Redis embedded server for Java integration testing.
+ Project forked from https://github.com/kstyrc/embedded-redis
+ https://github.com/ozimov/embedded-redis
@@ -18,10 +19,10 @@
- https://github.com/kstyrc/embedded-redis
- scm:git:https://github.com/kstyrc/embedded-redis.git
- scm:git:https://github.com/kstyrc/embedded-redis.git
- embedded-redis-0.5
+ https://github.com/ozimov/embedded-redis
+ scm:git:https://github.com/ozimov/embedded-redis.git
+ scm:git:https://github.com/ozimov/embedded-redis.git
+ embedded-redis-0.7.0
@@ -35,118 +36,175 @@
UTF-8
-
-
- ossrh
- https://oss.sonatype.org/content/repositories/snapshots
-
-
- ossrh
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
-
-
-
com.google.guava
guava
- 18.0
+ 21.0
commons-io
commons-io
- 2.4
+ 2.5
commons-logging
commons-logging
- 1.1.1
+ 1.2
test
redis.clients
jedis
- 2.6.0
+ 2.9.0
test
org.mockito
mockito-all
- 1.8.5
+ 1.10.19
test
junit
junit
- 4.11
+ 4.12
test
org.springframework.data
spring-data-redis
- 1.4.1.RELEASE
+ 1.8.0.RELEASE
test
+
+ 3.0.4
+
+
+
+
+ ossrh
+ https://oss.sonatype.org/content/repositories/snapshots
+
+
+ ossrh
+ https://oss.sonatype.org/service/local/staging/deploy/maven2/
+
+
+
+
+ ${project.basedir}/src/main/resources
+
+
+ ${project.build.directory}/generated-resources
+
+
-
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ 2.19.1
+
- maven-compiler-plugin
- 2.3.2
+ org.jacoco
+ jacoco-maven-plugin
+ 0.7.9
+
+
+ default-prepare-agent
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
- 1.6
-
- 1.6
+
+ **/config/**
+ **/model/**
+ **/item/**
+
+
+
+ org.codehaus.mojo
+ versions-maven-plugin
+ 2.3
+
+ false
+
+
org.apache.maven.plugins
- maven-release-plugin
- 2.5.1
+ maven-scm-plugin
+ 1.9.5
- true
- false
- release
- deploy
+ false
+ ${project.version}
-
-
+
+
+ disable-java8-doclint
+
+ [1.8,)
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 2.10.4
+
+ -Xdoclint:none
+
+
+
+
+
release
-
org.apache.maven.plugins
maven-source-plugin
- 2.1.2
+ 3.0.1
attach-sources
- jar
+ jar-no-fork
-
org.apache.maven.plugins
maven-javadoc-plugin
- 2.8.1
+ 2.10.3
attach-javadocs
@@ -156,11 +214,10 @@
-
org.apache.maven.plugins
maven-gpg-plugin
- 1.5
+ 1.6
sign-artifacts
@@ -171,11 +228,55 @@
-
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+ 1.6.7
+ true
+
+ ossrh
+ https://oss.sonatype.org/
+ true
+
+
-
+
+
+
+ org.codehaus.mojo
+ versions-maven-plugin
+ 2.3
+
+
+
+ dependency-updates-report
+ plugin-updates-report
+ property-updates-report
+
+
+
+
+
+
+
+
+
+
+
+ spring-releases
+ https://repo.spring.io/libs-release
+
+
+
+
+
+ spring-releases
+ https://repo.spring.io/libs-release
+
+
+
diff --git a/release.sh b/release.sh
new file mode 100755
index 00000000..fe405e07
--- /dev/null
+++ b/release.sh
@@ -0,0 +1,58 @@
+#!/bin/bash
+# Deploy maven artifact in current directory into Maven central repository
+# using maven-release-plugin goals
+
+
+
+###########################################################
+###########################################################
+cat << "RELEASE"
+██████╗ ███████╗██╗ ███████╗ █████╗ ███████╗███████╗
+██╔══██╗██╔════╝██║ ██╔════╝██╔══██╗██╔════╝██╔════╝
+██████╔╝█████╗ ██║ █████╗ ███████║███████╗█████╗
+██╔══██╗██╔══╝ ██║ ██╔══╝ ██╔══██║╚════██║██╔══╝
+██║ ██║███████╗███████╗███████╗██║ ██║███████║███████╗
+╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝
+RELEASE
+
+set -e
+
+mvn --settings ~/.m2/settings.xml scm:check-local-modification
+
+# release
+echo "\n----------------------------------------"
+echo "When at prompt, type the release version (e.g. from 1.0-SNAPSHOT to 1.0)\n"
+mvn --settings ~/.m2/settings.xml versions:set
+git commit -am "[Deploy phase] Preparing release"
+mvn --settings ~/.m2/settings.xml clean deploy -P release
+mvn --settings ~/.m2/settings.xml scm:tag
+echo 'Release deployed'
+
+
+###########################################################
+###########################################################
+# next development version
+cat << "NEXT_ITERATION"
+███╗ ██╗███████╗██╗ ██╗████████╗
+████╗ ██║██╔════╝╚██╗██╔╝╚══██╔══╝
+██╔██╗ ██║█████╗ ╚███╔╝ ██║
+██║╚██╗██║██╔══╝ ██╔██╗ ██║
+██║ ╚████║███████╗██╔╝ ██╗ ██║
+╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝ ╚═╝
+
+ ██╗████████╗███████╗██████╗ █████╗ ████████╗██╗ ██████╗ ███╗ ██╗
+ ██║╚══██╔══╝██╔════╝██╔══██╗██╔══██╗╚══██╔══╝██║██╔═══██╗████╗ ██║
+ ██║ ██║ █████╗ ██████╔╝███████║ ██║ ██║██║ ██║██╔██╗ ██║
+ ██║ ██║ ██╔══╝ ██╔══██╗██╔══██║ ██║ ██║██║ ██║██║╚██╗██║
+ ██║ ██║ ███████╗██║ ██║██║ ██║ ██║ ██║╚██████╔╝██║ ╚████║
+ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝
+NEXT_ITERATION
+
+echo "When at prompt, type the SNAPSHOT version (e.g. from 1.0 to 2.0-SNAPSHOT)\n"
+mvn --settings ~/.m2/settings.xml versions:set
+git commit -am "[Deploy phase] Preparing for next iteration"
+
+# updating origin
+git push --force --follow-tags
+
+echo 'Next iteration prepared'