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:
38
38
39
39
before_deploy :
40
40
- 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
41
42
42
43
deploy :
43
44
- provider : releases
44
45
api_key : $GITHUB_API_TOKEN
45
46
file : utPLSQL-cli.zip
46
47
skip_cleanup : true
47
48
on :
49
+ repository : utPLSQL/utPLSQL-cli
48
50
tags : true
49
51
- provider : bintray
50
52
file : bintray.json
51
- user : $BINTRAY_USER
52
- key : $BINTRAY_API_KEY
53
+ user : ${ BINTRAY_USER}
54
+ key : ${ BINTRAY_API_KEY}
53
55
dry-run : false
54
- on : develop
56
+ on :
57
+ repository : utPLSQL/utPLSQL-cli
58
+ branch : develop
55
59
56
60
notifications :
57
61
slack : $SLACK_API_TOKEN
Original file line number Diff line number Diff line change 13
13
sudo cp $CACHE_DIR /wagon-http-2.8-shaded.jar $MAVEN_HOME /lib/ext/
14
14
fi
15
15
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
24
17
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 20
20
<dependency >
21
21
<groupId >org.utplsql</groupId >
22
22
<artifactId >java-api</artifactId >
23
- <version >3.0.4-SNAPSHOT </version >
23
+ <version >3.0.4</version >
24
24
<scope >compile</scope >
25
25
</dependency >
26
26
<dependency >
59
59
</plugins >
60
60
</build >
61
61
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
+
62
77
</project >
You can’t perform that action at this time.
0 commit comments