diff --git a/CHANGES.txt b/CHANGES.txt index 44b8d4593..9f870d1f5 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,6 @@ +4.9.0 (Aug 3, 2023) +- Shuffled maven poms around to release both a client only jar and a client with dependencies version + 4.8.1 (Aug 1, 2023) - Applied linting rules to the code. - Fixed an issue when the prefix is empty for Redis settings. diff --git a/client-with-deps/pom.xml b/client-with-deps/pom.xml new file mode 100644 index 000000000..cc97f57e0 --- /dev/null +++ b/client-with-deps/pom.xml @@ -0,0 +1,157 @@ + + + 4.0.0 + + io.split.client + java-client-parent + 4.9.0 + + java-client-with-deps + jar + Java Client With Dependencies + Java SDK for Split with Dependencies bundled + + + + release + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.3 + true + + false + + + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.3 + false + + ${maven.compiler.source} + ${maven.compiler.target} + + + + + org.apache.maven.plugins + maven-shade-plugin + 3.2.4 + + + package + + shade + + + false + true + + + io.split.engine:* + io.split.client:* + io.split.schemas:* + io.codigo.grammar:* + org.apache.httpcomponents.* + com.google.* + org.yaml:snakeyaml:* + + + org.checkerframework:* + + + commons-codec:* + + + + + + + + + org.apache + split.org.apache + + + org.checkerframework + split.org.checkerframework + + + org.yaml.snakeyaml + split.org.yaml.snakeyaml + + + com.google + split.com.google + + + + + *:* + + META-INF/license/** + META-INF/* + META-INF/maven/** + META-INF/services/** + LICENSE + NOTICE + /*.txt + build.properties + + + + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.3.0 + + + attach-sources + + jar + + + + + + + src/main/resources/splitversion.properties + + + + src/main/resources + true + + + + + + 8 + 8 + + + + + io.split.client + java-client + ${project.version} + compile + + + \ No newline at end of file diff --git a/client-with-deps/src/main/resources/splitversion.properties b/client-with-deps/src/main/resources/splitversion.properties new file mode 100644 index 000000000..325bf7683 --- /dev/null +++ b/client-with-deps/src/main/resources/splitversion.properties @@ -0,0 +1 @@ +sdk.version=${project.version} \ No newline at end of file diff --git a/client/README.md b/client/README.md index c2044684d..206f83033 100644 --- a/client/README.md +++ b/client/README.md @@ -4,7 +4,7 @@ This SDK is designed to work with [Split](https://www.split.io), the platform fo ### Quick setup -For specific instructions on how to set up the Split SDK refer to our [official SDK documentation](http://docs.split.io/docs/sdk-overview). +For specific instructions on how to set up the Split SDK refer to our [official SDK documentation](https://help.split.io/hc/en-us/articles/360020405151-Java-SDK). ### Commitment to Quality: diff --git a/client/pom.xml b/client/pom.xml index a775f5fb4..f959bf842 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -5,7 +5,7 @@ io.split.client java-client-parent - 4.8.1 + 4.9.0 java-client jar @@ -43,81 +43,10 @@ ${maven.compiler.target} - - - org.apache.maven.plugins - maven-shade-plugin - 3.2.4 - - - package - - shade - - - false - true - - - io.split.engine:* - io.split.client:* - io.split.schemas:* - io.codigo.grammar:* - org.apache.httpcomponents.* - com.google.* - org.yaml:snakeyaml:* - - - org.checkerframework:* - - - commons-codec:* - - - - - - - - - org.apache - split.org.apache - - - org.checkerframework - split.org.checkerframework - - - org.yaml.snakeyaml - split.org.yaml.snakeyaml - - - com.google - split.com.google - - - - - *:* - - META-INF/license/** - META-INF/* - META-INF/maven/** - META-INF/services/** - LICENSE - NOTICE - /*.txt - build.properties - - - - - - - org.apache.maven.plugins maven-source-plugin + 3.3.0 attach-sources @@ -140,7 +69,6 @@ - 1.7.36 8 8 @@ -149,40 +77,33 @@ io.split.client pluggable-storage - 2.0.0 compile com.google.guava guava - 32.0.1-jre org.slf4j slf4j-api - ${slf4j.api.version} org.apache.httpcomponents.client5 httpclient5 - 5.0.3 com.google.code.gson gson - 2.9.0 org.yaml snakeyaml - 2.0 org.apache.commons commons-lang3 - 3.4 test @@ -193,49 +114,41 @@ org.hamcrest hamcrest-all - 1.3 test org.mockito mockito-core - 1.10.19 test org.slf4j slf4j-log4j12 - ${slf4j.api.version} test org.glassfish.jersey.media jersey-media-sse - 2.31 test org.glassfish.jersey.inject jersey-hk2 - 2.31 test org.glassfish.jersey.containers jersey-container-grizzly2-http - 2.26 test com.squareup.okhttp3 mockwebserver - 4.8.0 test org.awaitility awaitility - 4.0.3 test diff --git a/pluggable-storage/pom.xml b/pluggable-storage/pom.xml index f2a69fc6a..290fe939d 100644 --- a/pluggable-storage/pom.xml +++ b/pluggable-storage/pom.xml @@ -6,7 +6,7 @@ java-client-parent io.split.client - 4.8.1 + 4.9.0 2.0.0 diff --git a/pom.xml b/pom.xml index 9b4160086..cb007deaa 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 io.split.client java-client-parent - 4.8.1 + 4.9.0 @@ -12,10 +12,87 @@ junit 4.13.1 + + io.split.client + pluggable-storage + 2.0.0 + + + com.google.guava + guava + 32.0.1-jre + + + org.slf4j + slf4j-api + ${slf4j.api.version} + + + org.apache.httpcomponents.client5 + httpclient5 + 5.0.3 + + + com.google.code.gson + gson + 2.9.0 + + + org.yaml + snakeyaml + 2.0 + + + + + org.apache.commons + commons-lang3 + 3.4 + + + org.hamcrest + hamcrest-all + 1.3 + + + org.mockito + mockito-core + 1.10.19 + + + org.slf4j + slf4j-log4j12 + ${slf4j.api.version} + + + org.glassfish.jersey.media + jersey-media-sse + 2.31 + + + org.glassfish.jersey.inject + jersey-hk2 + 2.31 + + + org.glassfish.jersey.containers + jersey-container-grizzly2-http + 2.26 + + + com.squareup.okhttp3 + mockwebserver + 4.8.0 + + + org.awaitility + awaitility + 4.0.3 + pom - Java Client + Split IO Java Client Parent Java SDK for Split www.split.io @@ -79,13 +156,16 @@ UTF-8 1.8 1.8 + 1.7.36 testing client pluggable-storage redis-wrapper + client-with-deps + @@ -100,6 +180,7 @@ org.apache.maven.plugins maven-source-plugin + 3.3.0 attach-sources @@ -150,6 +231,7 @@ + test diff --git a/redis-wrapper/pom.xml b/redis-wrapper/pom.xml index 99b77073e..c733a21ab 100644 --- a/redis-wrapper/pom.xml +++ b/redis-wrapper/pom.xml @@ -6,7 +6,7 @@ java-client-parent io.split.client - 4.8.1 + 4.9.0 redis-wrapper 3.0.1 diff --git a/testing/pom.xml b/testing/pom.xml index d35996d06..11160430e 100644 --- a/testing/pom.xml +++ b/testing/pom.xml @@ -5,7 +5,7 @@ io.split.client java-client-parent - 4.8.1 + 4.9.0 java-client-testing jar