Loading .github/workflows/ci.yml +7 −4 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ env: MAVEN_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} MAVEN_CENTRAL_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }} MAVEN_CENTRAL_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }} MAVEN_CLI_OPTS: "-B -q -e -fae -V -DinstallAtEnd=true -U" jobs: pre_commit: Loading Loading @@ -50,6 +49,9 @@ jobs: runs-on: ubuntu-latest needs: [pre_commit] if: "!contains(github.event.head_commit.message, '[skip tests]')" env: MAVEN_CLI_OPTS: > -B -q -e -fae -V -DinstallAtEnd=true -U steps: - uses: actions/checkout@v3 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.0 Loading Loading @@ -156,12 +158,13 @@ jobs: runs-on: ubuntu-latest needs: [tests] if: > !(failure() || cancelled()) && github.event_name != 'pull_request' contains(github.event.head_commit.message, '[publish]') steps: - uses: actions/checkout@v3 - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.0 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.0 - name: "Build" run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V - name: "Publish" run: mvn $MAVEN_CLI_OPTS deploy -DskipTests No newline at end of file timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: mvn deploy $MAVEN_CLI_OPTS -DskipTests No newline at end of file pom.xml +2 −2 Original line number Diff line number Diff line Loading @@ -522,8 +522,8 @@ <distributionManagement> <repository> <id>central-releases-staging</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> <id>alfresco-public</id> <url>https://artifacts.alfresco.com/nexus/content/groups/public</url> </repository> <snapshotRepository> <id>alfresco-public-snapshots</id> Loading Loading
.github/workflows/ci.yml +7 −4 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ env: MAVEN_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} MAVEN_CENTRAL_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }} MAVEN_CENTRAL_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }} MAVEN_CLI_OPTS: "-B -q -e -fae -V -DinstallAtEnd=true -U" jobs: pre_commit: Loading Loading @@ -50,6 +49,9 @@ jobs: runs-on: ubuntu-latest needs: [pre_commit] if: "!contains(github.event.head_commit.message, '[skip tests]')" env: MAVEN_CLI_OPTS: > -B -q -e -fae -V -DinstallAtEnd=true -U steps: - uses: actions/checkout@v3 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.0 Loading Loading @@ -156,12 +158,13 @@ jobs: runs-on: ubuntu-latest needs: [tests] if: > !(failure() || cancelled()) && github.event_name != 'pull_request' contains(github.event.head_commit.message, '[publish]') steps: - uses: actions/checkout@v3 - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.0 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.0 - name: "Build" run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V - name: "Publish" run: mvn $MAVEN_CLI_OPTS deploy -DskipTests No newline at end of file timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: mvn deploy $MAVEN_CLI_OPTS -DskipTests No newline at end of file
pom.xml +2 −2 Original line number Diff line number Diff line Loading @@ -522,8 +522,8 @@ <distributionManagement> <repository> <id>central-releases-staging</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> <id>alfresco-public</id> <url>https://artifacts.alfresco.com/nexus/content/groups/public</url> </repository> <snapshotRepository> <id>alfresco-public-snapshots</id> Loading