Skip to content

Commit fb2b46a

Browse files
authored
Merge pull request #119 from data-integrations/mig_oss_cdf_610
CDAP OSS Migration for 6.10
2 parents 14e0eec + 1fb93eb commit fb2b46a

File tree

2 files changed

+8
-31
lines changed

2 files changed

+8
-31
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
with:
4242
ref: ${{ github.event.workflow_run.head_sha }}
4343
- name: Cache
44-
uses: actions/cache@v2.1.3
44+
uses: actions/cache@v4
4545
with:
4646
path: ~/.m2/repository
4747
key: ${{ runner.os }}-maven-${{ github.workflow }}-${{ hashFiles('**/pom.xml') }}

pom.xml

Lines changed: 7 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,6 @@
5757
<tag>HEAD</tag>
5858
</scm>
5959

60-
<distributionManagement>
61-
<repository>
62-
<id>sonatype.release</id>
63-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
64-
</repository>
65-
<snapshotRepository>
66-
<id>sonatype.snapshots</id>
67-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
68-
</snapshotRepository>
69-
</distributionManagement>
7060

7161
<issueManagement>
7262
<url>https://issues.cask.co/browse/CDAP</url>
@@ -86,19 +76,9 @@
8676
</properties>
8777

8878
<repositories>
89-
<repository>
90-
<id>sonatype</id>
91-
<url>https://oss.sonatype.org/content/groups/public</url>
92-
<releases>
93-
<enabled>true</enabled>
94-
</releases>
95-
<snapshots>
96-
<enabled>false</enabled>
97-
</snapshots>
98-
</repository>
9979
<repository>
10080
<id>sonatype-snapshots</id>
101-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
81+
<url>https://central.sonatype.com/repository/maven-snapshots</url>
10282
<releases>
10383
<enabled>false</enabled>
10484
</releases>
@@ -367,13 +347,14 @@
367347
</plugin>
368348

369349
<plugin>
370-
<groupId>org.sonatype.plugins</groupId>
371-
<artifactId>nexus-staging-maven-plugin</artifactId>
372-
<version>1.6.2</version>
350+
<groupId>org.sonatype.central</groupId>
351+
<artifactId>central-publishing-maven-plugin</artifactId>
352+
<version>0.8.0</version>
373353
<extensions>true</extensions>
374354
<configuration>
375-
<nexusUrl>https://oss.sonatype.org</nexusUrl>
376-
<serverId>sonatype.release</serverId>
355+
<publishingServerId>sonatype.release</publishingServerId>
356+
<autoPublish>false</autoPublish>
357+
<ignorePublishedComponents>true</ignorePublishedComponents>
377358
</configuration>
378359
</plugin>
379360

@@ -408,10 +389,6 @@
408389
<groupId>org.apache.maven.plugins</groupId>
409390
<artifactId>maven-gpg-plugin</artifactId>
410391
</plugin>
411-
<plugin>
412-
<groupId>org.sonatype.plugins</groupId>
413-
<artifactId>nexus-staging-maven-plugin</artifactId>
414-
</plugin>
415392
</plugins>
416393
</build>
417394
</profile>

0 commit comments

Comments
 (0)