Skip to content

Commit 3042af0

Browse files
committed
Use github maven repository wildcard url
1 parent 0058b75 commit 3042af0

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/pr-test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ jobs:
3434
docker rmi $(docker images -q) -f
3535
df -h
3636
37+
- name: Configure Maven Settings
38+
39+
with:
40+
servers: '[{"id": "github", "username": "streamnativebot", "password": "${{ secrets.SNBOT_GITHUB_TOKEN }}"}]'
41+
3742
- name: License check
3843
run: mvn license:check
3944

pom.xml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -381,13 +381,11 @@
381381
<url>https://repo1.maven.org/maven2</url>
382382
</repository>
383383
<repository>
384-
<id>nexus-snapshot-repo</id>
385-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
386-
</repository>
387-
388-
<repository>
389-
<id>ossrh</id>
390-
<url>https://s01.oss.sonatype.org/service/local/repositories/iostreamnative-3277/content</url>
384+
<id>github</id>
385+
<url>https://maven.pkg.github.com/streamnative/*</url>
386+
<snapshots>
387+
<enabled>true</enabled>
388+
</snapshots>
391389
</repository>
392390
</repositories>
393391

0 commit comments

Comments
 (0)