Skip to content

Commit 897024a

Browse files
committed
Fixed packagecloud configuration for tokens
1 parent 1b1e19f commit 897024a

File tree

3 files changed

+26
-12
lines changed

3 files changed

+26
-12
lines changed

.travis/settings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ under the License.
4848
</server>
4949
<server>
5050
<id>packagecloud-utPLSQL</id>
51-
<password>${env.PACKAGECLOUD_TOKEN}</password>
51+
<username>${env.PACKAGECLOUD_TOKEN}</username>
5252
</server>
5353
</servers>
5454

README.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,34 @@ This is a collection of classes, that makes easy to access the [utPLSQL v3](http
1010
## Downloading
1111
This is a Maven Library project, you can add on your Java project as a dependency.
1212

13-
At the moment, it's not available in any public Maven repository, but you can clone it and install as a local dependency (follow the Contributing session).
13+
The library is hosted on ![[packagecloud](https://packagecloud.io/utPLSQL/utPLSQL-java-api)](https://packagecloud.io/images/packagecloud-badge.png)
1414

15-
![[packagecloud](https://packagecloud.io/utPLSQL/utPLSQL-java-aip)](https://packagecloud.io/images/packagecloud-badge.png)
1615

16+
You install this Maven repository by adding it to the <repositories> section of your pom.xml. No special plugins or extensions are required.
17+
18+
```xml
19+
<repositories>
20+
<repository>
21+
<id>utplsql-java-api</id>
22+
<url>
23+
https://packagecloud.io/utplsql/utplsql-java-api/maven2
24+
</url>
25+
<releases>
26+
<enabled>true</enabled>
27+
</releases>
28+
<snapshots>
29+
<enabled>true</enabled>
30+
</snapshots>
31+
</repository>
32+
</repositories>
33+
```
34+
35+
To use the java-api library, add this to the `<dependencies>` section of your `pom.xml`.
1736
```xml
1837
<dependency>
1938
<groupId>org.utplsql</groupId>
2039
<artifactId>java-api</artifactId>
21-
<version>3.0.4-SNAPSHOT</version>
40+
<version>3.0.4</version>
2241
<scope>compile</scope>
2342
</dependency>
2443
```

pom.xml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,25 +63,20 @@
6363
<extension>
6464
<groupId>io.packagecloud.maven.wagon</groupId>
6565
<artifactId>maven-packagecloud-wagon</artifactId>
66-
<version>0.0.4</version>
66+
<version>0.0.6</version>
6767
</extension>
6868
</extensions>
6969
</build>
7070

7171
<distributionManagement>
7272
<repository>
7373
<id>packagecloud-utPLSQL</id>
74-
<url>
75-
packagecloud+https://packagecloud.io/utPLSQL/utPLSQL-java-api
76-
</url>
74+
<url>packagecloud+https://packagecloud.io/utPLSQL/utPLSQL-java-api</url>
7775
</repository>
7876
<snapshotRepository>
7977
<id>packagecloud-utPLSQL</id>
80-
<url>
81-
packagecloud+https://packagecloud.io/utPLSQL/utPLSQL-java-api
82-
</url>
78+
<url>packagecloud+https://packagecloud.io/utPLSQL/utPLSQL-java-api</url>
8379
</snapshotRepository>
8480
</distributionManagement>
8581

86-
8782
</project>

0 commit comments

Comments
 (0)