Skip to content

Commit

Permalink
[DGPB-870] Upgrade Crossdata driver 2.13.0 (#46)
Browse files Browse the repository at this point in the history
* [DGPB-870] Upgrade Crossdata driver 2.13.0
  • Loading branch information
alfonsostratio authored Jun 27, 2018
1 parent d477f5d commit 280d79f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ RUN mv /app/source/local-query-execution-factory/target/local-query-execution-fa
RUN mvn install:install-file -Dfile=/app/source/bin/lib/local-query-execution-factory-0.2.jar -DgroupId=com.stratio.metabase -DartifactId=local-query-execution-factory -Dversion=0.2 -Dpackaging=jar

# Tu generate local docker, comment mvn dependency:get and mv. Download jar in ./bin/lib/
# http://qa.stratio.com/repository/releases/com/stratio/jdbc/stratio-crossdata-jdbc4/2.12.0/stratio-crossdata-jdbc4-2.12.0.jar
# http://qa.stratio.com/repository/releases/com/stratio/jdbc/stratio-crossdata-jdbc4/2.13.0-5000715/stratio-crossdata-jdbc4-2.13.0-5000715.jar
#
RUN mvn dependency:get -DgroupId=com.stratio.jdbc -DartifactId=stratio-crossdata-jdbc4 -Dversion=2.12.0 -DremoteRepositories=http://sodio.stratio.com/repository/public/ -Dtransitive=false
RUN mv /root/.m2/repository/com/stratio/jdbc/stratio-crossdata-jdbc4/2.12.0/stratio-crossdata-jdbc4-2.12.0.jar /app/source/bin/lib/stratio-crossdata-jdbc4-2.12.0.jar
RUN mvn install:install-file -Dfile=/app/source/bin/lib/stratio-crossdata-jdbc4-2.12.0.jar -DgroupId=com.stratio.jdbc -DartifactId=stratio-crossdata-jdbc4 -Dversion=2.12.0 -Dpackaging=jar
RUN mvn dependency:get -DgroupId=com.stratio.jdbc -DartifactId=stratio-crossdata-jdbc4 -Dversion=2.13.0-5000715 -DremoteRepositories=http://sodio.stratio.com/repository/public/ -Dtransitive=false
RUN mv /root/.m2/repository/com/stratio/jdbc/stratio-crossdata-jdbc4/2.13.0-5000715/stratio-crossdata-jdbc4-2.13.0-5000715.jar /app/source/bin/lib/stratio-crossdata-jdbc4-2.13.0-5000715.jar
RUN mvn install:install-file -Dfile=/app/source/bin/lib/stratio-crossdata-jdbc4-2.13.0-5000715.jar -DgroupId=com.stratio.jdbc -DartifactId=stratio-crossdata-jdbc4 -Dversion=2.13.0-5000715 -Dpackaging=jar

# build the app
WORKDIR /app/source
Expand Down
4 changes: 2 additions & 2 deletions bin/install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ mvn package -f ./local-query-execution-factory/pom.xml
cp ./local-query-execution-factory/target/local-query-execution-factory-0.2.jar ./bin/lib/local-query-execution-factory-0.2.jar
mvn install:install-file -Dfile=./bin/lib/local-query-execution-factory-0.2.jar -DgroupId=com.stratio.metabase -DartifactId=local-query-execution-factory -Dversion=0.2 -Dpackaging=jar

mvn dependency:copy -Dartifact=com.stratio.jdbc:stratio-crossdata-jdbc4:2.12.0 -DoutputDirectory=./bin/lib/
mvn install:install-file -Dfile=./bin/lib/stratio-crossdata-jdbc4-2.12.0.jar -DgroupId=com.stratio.jdbc -DartifactId=stratio-crossdata-jdbc4 -Dversion=2.12.0 -Dpackaging=jar
mvn dependency:copy -Dartifact=com.stratio.jdbc:stratio-crossdata-jdbc4:2.13.0-5000715 -DoutputDirectory=./bin/lib/
mvn install:install-file -Dfile=./bin/lib/stratio-crossdata-jdbc4-2.13.0-5000715.jar -DgroupId=com.stratio.jdbc -DartifactId=stratio-crossdata-jdbc4 -Dversion=2.13.0-5000715 -Dpackaging=jar
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
[org.xerial/sqlite-jdbc "3.21.0.1"] ; SQLite driver
[org.yaml/snakeyaml "1.18"] ; YAML parser (required by liquibase)
[org.xerial/sqlite-jdbc "3.16.1"] ; SQLite driver
[com.stratio.jdbc/stratio-crossdata-jdbc4 "2.12.0"
[com.stratio.jdbc/stratio-crossdata-jdbc4 "2.13.0-5000715"
:exclusions [org.clojure/clojure
org.bouncycastle/bcpkix-jdk15on
org.bouncycastle/bcprov-jdk15on]] ; Crossdata driver
Expand Down

0 comments on commit 280d79f

Please sign in to comment.