Skip to content

Commit 75d2f0a

Browse files
committed
Consume vavr-match SNAPSHOT from Maven Central
1 parent 3c4596a commit 75d2f0a

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ jobs:
2727
cache: 'maven'
2828

2929
# this is a temporary workaround until new Maven Central snapshot publishing is sorted out
30-
- name: Build vavr-match snapshot
31-
run: git clone https://github.com/vavr-io/vavr-match.git && mvn -f vavr-match/pom.xml install -DskipTests
32-
3330
- name: Build vavr-match-processor snapshot
3431
run: git clone https://github.com/vavr-io/vavr-match-processor.git && mvn -f vavr-match-processor/pom.xml install -DskipTests
3532

.github/workflows/doclint-version.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ jobs:
2222
cache: 'maven'
2323

2424
# this is a temporary workaround until new Maven Central snapshot publishing is sorted out
25-
- name: Build vavr-match snapshot
26-
run: git clone https://github.com/vavr-io/vavr-match.git && mvn -f vavr-match/pom.xml install -DskipTests
27-
2825
- name: Build vavr-match-processor snapshot
2926
run: git clone https://github.com/vavr-io/vavr-match-processor.git && mvn -f vavr-match-processor/pom.xml install -DskipTests
3027

pom.xml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -543,15 +543,18 @@
543543
</profile>
544544
</profiles>
545545

546-
<distributionManagement>
546+
<repositories>
547547
<repository>
548-
<id>sonatype-nexus-staging</id>
549-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
548+
<name>Central Portal Snapshots</name>
549+
<id>central-portal-snapshots</id>
550+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
551+
<releases>
552+
<enabled>false</enabled>
553+
</releases>
554+
<snapshots>
555+
<enabled>true</enabled>
556+
</snapshots>
550557
</repository>
551-
<snapshotRepository>
552-
<id>sonatype-nexus-snapshots</id>
553-
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
554-
</snapshotRepository>
555-
</distributionManagement>
558+
</repositories>
556559

557560
</project>

0 commit comments

Comments
 (0)