File tree Expand file tree Collapse file tree 3 files changed +24
-17
lines changed Expand file tree Collapse file tree 3 files changed +24
-17
lines changed Original file line number Diff line number Diff line change @@ -38,20 +38,24 @@ script:
3838
3939before_deploy :
4040 - bash .travis/create_release.sh
41+ - if [ ! -z "$TRAVIS_TAG" ]; then VERSION=$(tr -d "/v/" <<<$TRAVIS_TAG); mvn org.codehaus.mojo:versions-maven-plugin:2.1:set -DnewVersion=${VERSION}; fi
4142
4243deploy :
4344 - provider : releases
4445 api_key : $GITHUB_API_TOKEN
4546 file : utPLSQL-cli.zip
4647 skip_cleanup : true
4748 on :
49+ repository : utPLSQL/utPLSQL-cli
4850 tags : true
4951 - provider : bintray
5052 file : bintray.json
51- user : $BINTRAY_USER
52- key : $BINTRAY_API_KEY
53+ user : ${ BINTRAY_USER}
54+ key : ${ BINTRAY_API_KEY}
5355 dry-run : false
54- on : develop
56+ on :
57+ repository : utPLSQL/utPLSQL-cli
58+ branch : develop
5559
5660notifications :
5761 slack : $SLACK_API_TOKEN
Original file line number Diff line number Diff line change 1313 sudo cp $CACHE_DIR /wagon-http-2.8-shaded.jar $MAVEN_HOME /lib/ext/
1414fi
1515
16- # Create the settings file with oracle server config.
17- # If file already exists, Oracle dependencies were cached on previous build.
18- if [ ! -f $MAVEN_CFG /.cached ]; then
19- cp settings.xml $MAVEN_CFG /settings.xml
20- touch $MAVEN_CFG /.cached
21- else
22- echo " Using cached maven settings..."
23- fi
16+ cp settings.xml $MAVEN_CFG /settings.xml
2417
25- # The Java API is not available on a public repository yet, we need to download and install it locally.
26- # Always downloading the latest development version.
27- git clone https://github.com/utPLSQL/utPLSQL-java-api.git
28- cd utPLSQL-java-api
29- mvn package install -DskipTests
Original file line number Diff line number Diff line change 2020 <dependency >
2121 <groupId >org.utplsql</groupId >
2222 <artifactId >java-api</artifactId >
23- <version >3.0.4-SNAPSHOT </version >
23+ <version >3.0.4</version >
2424 <scope >compile</scope >
2525 </dependency >
2626 <dependency >
5959 </plugins >
6060 </build >
6161
62+ <repositories >
63+ <repository >
64+ <id >utplsql-java-api</id >
65+ <url >
66+ https://packagecloud.io/utplsql/utplsql-java-api/maven2
67+ </url >
68+ <releases >
69+ <enabled >true</enabled >
70+ </releases >
71+ <snapshots >
72+ <enabled >true</enabled >
73+ </snapshots >
74+ </repository >
75+ </repositories >
76+
6277</project >
You can’t perform that action at this time.
0 commit comments