Skip to content

Commit 5a32d76

Browse files
committed
Polishing
Update badges and versions in readme [#263]
1 parent fceb495 commit 5a32d76

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

README.md

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Reactive Relational Database Connectivity PostgreSQL Implementation
1+
# Reactive Relational Database Connectivity PostgreSQL Implementation [![Build Status](https://travis-ci.org/r2dbc/r2dbc-postgresql.svg?branch=0.8.x)](https://travis-ci.org/r2dbc/r2dbc-postgresql) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.r2dbc/r2dbc-postgresql/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.r2dbc/r2dbc-postgresql)
22

33
This project contains the [PostgreSQL][p] implementation of the [R2DBC SPI][r]. This implementation is not intended to be used directly, but rather to be used as the backing implementation for a humane client library to delegate to.
44

@@ -94,7 +94,7 @@ Mono<Connection> connectionMono = Mono.from(connectionFactory.create());
9494
Map<String, String> options = new HashMap<>();
9595
options.put("lock_timeout", "10s");
9696

97-
ConnectionFactory connectionFactory = new PostgresqlConnectionFactory(PostgresqlConnectionConfiguration.builder()
97+
PostgresqlConnectionFactory connectionFactory = new PostgresqlConnectionFactory(PostgresqlConnectionConfiguration.builder()
9898
.host("...")
9999
.port(5432) // optional, defaults to 5432
100100
.username("...")
@@ -127,20 +127,14 @@ Binding also allowed positional index (zero-based) references. The parameter in
127127

128128
### Maven configuration
129129

130-
Add the Maven dependency and use our Maven milestone repository:
130+
Artifacts can be found on [Maven Central](https://search.maven.org/search?q=r2dbc-postgresql).
131131

132132
```xml
133133
<dependency>
134134
<groupId>io.r2dbc</groupId>
135135
<artifactId>r2dbc-postgresql</artifactId>
136-
<version>0.8.0.RC1</version>
136+
<version>${version}</version>
137137
</dependency>
138-
139-
<repository>
140-
<id>spring-milestones</id>
141-
<name>Spring Milestones</name>
142-
<url>https://repo.spring.io/milestone</url>
143-
</repository>
144138
```
145139

146140
If you'd rather like the latest snapshots of the upcoming major version, use our Maven snapshot repository and declare the appropriate dependency version.

0 commit comments

Comments
 (0)