mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
updating to utilize qqq maven repo
This commit is contained in:
9
.github/workflows/maven.yml
vendored
9
.github/workflows/maven.yml
vendored
@ -22,5 +22,14 @@ jobs:
|
|||||||
java-version: '17'
|
java-version: '17'
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
cache: maven
|
cache: maven
|
||||||
|
- name: maven-settings-xml-action
|
||||||
|
uses: whelk-io/maven-settings-xml-action@v20
|
||||||
|
with:
|
||||||
|
repositories: '[{ "id": "github", "url": "https://maven.pkg.github.com/Kingsrook/qqq-maven-registry", "snapshots": { "enabled": "true" }}]'
|
||||||
|
servers: '[{ "id": "github", "username": "${{ secrets.QQQ_MAVEN_REGISTRY_USERNAME }}", "password": "${{ secrets.QQQ_MAVEN_REGISTRY_PASSWORD }}" }]'
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn -B package --file pom.xml
|
run: mvn -B package --file pom.xml
|
||||||
|
- name: Publish to GitHub Packages Apache Maven
|
||||||
|
run: mvn deploy
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
21
pom.xml
21
pom.xml
@ -130,20 +130,19 @@
|
|||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<!--
|
<repositories>
|
||||||
<distributionManagement>
|
<repository>
|
||||||
<snapshotRepository>
|
<id>github</id>
|
||||||
<id>nexus-snapshots</id>
|
<name>GitHub QQQ Maven Registry</name>
|
||||||
<url>http://localhost:8088/repository/maven-snapshots</url>
|
<url>https://maven.pkg.github.com/Kingsrook/qqq-maven-registry</url>
|
||||||
</snapshotRepository>
|
</repository>
|
||||||
</distributionManagement>
|
</repositories>
|
||||||
-->
|
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
<id>github</id>
|
<id>github-qqq-maven-registry</id>
|
||||||
<name>GitHub kingsrook Maven Packages</name>
|
<name>GitHub QQQ Maven Registry</name>
|
||||||
<url>https://maven.pkg.github.com/Kingsrook/qqq-maven-registry</url>
|
<url>https://maven.pkg.github.com/Kingsrook/qqq-maven-registry</url>
|
||||||
</repository>
|
</repository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user