Skip to content

Commit 4e2faee

Browse files
authored
Add profile for GCP CloudSql Postgres driver (#676)
* Add profile for GCP CloudSql Postgres driver * Update pom.xml: comment on cloudsql-postgres profile needs boot profile * Add link to GCP docs
1 parent 13c1fde commit 4e2faee

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,5 +676,18 @@
676676
</plugins>
677677
</build>
678678
</profile>
679+
<!-- For connecting to GCP CloudSQL Postgres instances:
680+
https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/blob/main/docs/jdbc.md#postgres-1
681+
Needs 'boot' profile as well. -->
682+
<profile>
683+
<id>cloudsql-postgres</id>
684+
<dependencies>
685+
<dependency>
686+
<groupId>com.google.cloud.sql</groupId>
687+
<artifactId>postgres-socket-factory</artifactId>
688+
<version>1.17.0</version>
689+
</dependency>
690+
</dependencies>
691+
</profile>
679692
</profiles>
680693
</project>

0 commit comments

Comments
 (0)