test repositories
This commit is contained in:
11
.github/workflows/build-and-publish-develop.yml
vendored
11
.github/workflows/build-and-publish-develop.yml
vendored
@@ -26,16 +26,10 @@ jobs:
|
||||
distribution: zulu
|
||||
java-version: 17
|
||||
- name: Maven Publish
|
||||
env:
|
||||
NEXUS_USERNAME: 'edward'
|
||||
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
|
||||
SNAPSHOT_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.SNAPSHOT_DEPLOYMENT_REPOSITORY_URL }}
|
||||
RELEASE_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.RELEASE_DEPLOYMENT_REPOSITORY_URL }}
|
||||
run: |
|
||||
mvn -B deploy \
|
||||
-P homelab \
|
||||
--settings=${{ github.workspace }}/.mvn/settings.xml
|
||||
mvn -B deploy
|
||||
build-docker:
|
||||
if: false
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@@ -100,6 +94,7 @@ jobs:
|
||||
if-no-files-found: error
|
||||
retention-days: 1
|
||||
merge-docker:
|
||||
if: false
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build-docker
|
||||
|
||||
23
pom.xml
23
pom.xml
@@ -37,6 +37,29 @@
|
||||
<url>https://github.com/3dwardch3ng/ec-config-server/issues</url>
|
||||
</issueManagement>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>nexus-public</id>
|
||||
<url>https://nexus.cluster.edward.sydney/repository/maven-public/</url>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>maven-release</id>
|
||||
<name>Nexus Release Repository</name>
|
||||
<url>https://nexus.cluster.edward.sydney/repository/maven-releases/</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>maven-snapshots</id>
|
||||
<name>Nexus Snapshots Repository</name>
|
||||
<url>https://nexus.cluster.edward.sydney/repository/maven-snapshots/</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>17</maven.compiler.source>
|
||||
<maven.compiler.target>17</maven.compiler.target>
|
||||
|
||||
Reference in New Issue
Block a user