Skip to content

Commit

Permalink
Test publish 1.1 (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
birdstorm authored Sep 6, 2018
1 parent cb486ff commit 0707a52
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 13 deletions.
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.pingcap.tispark</groupId>
<artifactId>tispark-parent</artifactId>
<version>1.1-SNAPSHOT</version>
<version>1.1</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion core/scripts/start-tithriftserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# Enter posix mode for bash
set -o posix

TISPARK_JAR=tispark-core-1.1-SNAPSHOT-jar-with-dependencies.jar
TISPARK_JAR=tispark-core-1.1-jar-with-dependencies.jar

if [ -z "${SPARK_HOME}" ]; then
export SPARK_HOME="$(cd "`dirname "$0"`"/..; pwd)"
Expand Down
2 changes: 1 addition & 1 deletion core/scripts/tispark-sql
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# limitations under the License.
#

TISPARK_JAR=tispark-1.1-SNAPSHOT-jar-with-dependencies.jar
TISPARK_JAR=tispark-1.1-jar-with-dependencies.jar

if [ -z "${SPARK_HOME}" ]; then
source "$(dirname "$0")"/find-spark-home
Expand Down
2 changes: 1 addition & 1 deletion core/scripts/version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#


TiSparkReleaseVersion=1.1-SNAPSHOT
TiSparkReleaseVersion=1.1
TiSparkBuildTS=`date -u '+%Y-%m-%d %I:%M:%S'`
TiSparkGitHash=`git rev-parse HEAD`
TiSparkGitBranch=`git rev-parse --abbrev-ref HEAD`
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<groupId>com.pingcap.tispark</groupId>
<artifactId>tispark-parent</artifactId>
<version>1.1-SNAPSHOT</version>
<version>1.1</version>
<packaging>pom</packaging>
<name>TiSpark Project Parent POM</name>
<url>http://github.copm/pingcap/tispark</url>
Expand Down
25 changes: 17 additions & 8 deletions tikv-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.pingcap.tispark</groupId>
<artifactId>tispark-parent</artifactId>
<version>1.1-SNAPSHOT</version>
<version>1.1</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand All @@ -23,7 +23,7 @@
<slf4j.version>1.7.16</slf4j.version>
<grpc.version>1.7.0</grpc.version>
<powermock.version>1.6.6</powermock.version>
<jackson.version>2.6.6</jackson.version>
<jackson.version>2.6.5</jackson.version>
<trove4j.version>3.0.1</trove4j.version>
<joda-time.version>2.9.9</joda-time.version>
<joda-convert.version>1.9.2</joda-convert.version>
Expand Down Expand Up @@ -327,22 +327,31 @@
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
</transformers>
<relocations>
<relocation>
<pattern>io.netty</pattern>
<shadedPattern>io.netty.netty4pingcap</shadedPattern>
<pattern>com.fasterxml</pattern>
<shadedPattern>shade.com.fasterxml.jackson</shadedPattern>
</relocation>
<relocation>
<pattern>io.grpc</pattern>
<shadedPattern>shade.io.grpc</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.protobuf</pattern>
<shadedPattern>com.google.proto4pingcap</shadedPattern>
<shadedPattern>shade.com.google.protobuf</shadedPattern>
</relocation>
<relocation>
<pattern>io.netty</pattern>
<shadedPattern>shade.io.netty</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.common</pattern>
<shadedPattern>com.google.guava4pingcap</shadedPattern>
<shadedPattern>shade.com.google.common</shadedPattern>
</relocation>
</relocations>
<createSourcesJar>true</createSourcesJar>
<shadeSourcesContent>true</shadeSourcesContent>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit 0707a52

Please sign in to comment.