Skip to content

Commit cb43b04

Browse files
authored
Merge branch 'develop' into feature/minor_doc_udpates
2 parents 907bfd5 + f018c62 commit cb43b04

File tree

3 files changed

+24
-17
lines changed

3 files changed

+24
-17
lines changed

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,24 @@ script:
3838

3939
before_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

4243
deploy:
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

5660
notifications:
5761
slack: $SLACK_API_TOKEN

.travis/maven_cfg.sh

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,5 @@ else
1313
sudo cp $CACHE_DIR/wagon-http-2.8-shaded.jar $MAVEN_HOME/lib/ext/
1414
fi
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

pom.xml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
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>
@@ -59,4 +59,19 @@
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>

0 commit comments

Comments
 (0)