
Previously, Maven's default behaviour was relied up which resulted in the artifact ID being appended to each URL as it was inherited. This behaviour can only be disabled in Maven 3.6 and later, a version that we cannot use due to an incompatibility with the Flatten Plugin. This commit works around Maven's default behaviour by defining properties for the SCM URL, connection, and developer connection and then explicitly defining the settings in each pom using these properties. The explicit definition of the properties in each pom prevents them being inherited from the parent, thereby disabling the unwanted appending of the artifact ID to the URL. Fixes gh-18328
55 lines
1.8 KiB
XML
55 lines
1.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starters</artifactId>
|
|
<version>${revision}</version>
|
|
</parent>
|
|
<artifactId>spring-boot-starter-data-couchbase-reactive</artifactId>
|
|
<name>Spring Boot Data Couchbase Reactive Starter</name>
|
|
<description>Starter for using Couchbase document-oriented database and Spring Data
|
|
Couchbase Reactive</description>
|
|
<properties>
|
|
<main.basedir>${basedir}/../../..</main.basedir>
|
|
</properties>
|
|
<scm>
|
|
<url>${git.url}</url>
|
|
<connection>${git.connection}</connection>
|
|
<developerConnection>${git.developerConnection}</developerConnection>
|
|
</scm>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.data</groupId>
|
|
<artifactId>spring-data-couchbase</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.couchbase.mock</groupId>
|
|
<artifactId>CouchbaseMock</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.couchbase.client</groupId>
|
|
<artifactId>encryption</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.projectreactor</groupId>
|
|
<artifactId>reactor-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.reactivex</groupId>
|
|
<artifactId>rxjava-reactive-streams</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|