From f3ff6ac50a292272bc58ff5867852cd82ce160fd Mon Sep 17 00:00:00 2001 From: Manfred Riem Date: Fri, 13 Sep 2024 17:35:08 -0500 Subject: [PATCH] Fixes #3964 - Cleanup obsolete docs generation (#3965) --- .github/workflows/build-docs.yml | 3 +- .github/workflows/build.yml | 33 --------------- docs/pom.xml | 9 ++-- pom.xml | 72 ++++++++++++++++++-------------- 4 files changed, 47 insertions(+), 70 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index a715ea6401..e62699a4f9 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -30,7 +30,7 @@ jobs: - name: Build with Maven run: | cd docs - mvn -B -DskipTests -DskipITs -ntp site + mvn -B -DskipTests -DskipITs -ntp -P docs site cd ../ rm -rf piranha-website/snapshot || true mkdir -p piranha-website/snapshot || true @@ -65,7 +65,6 @@ jobs: cd maven/plugin mvn -B -DskipTests -DskipITs -ntp site cd ../.. - rm -rf piranha-website/snapshot/maven-plugin || true rm -rf piranha-website/snapshot/maven/plugin || true mkdir -p piranha-website/snapshot/maven/plugin || true cp -R maven/plugin/target/site/* piranha-website/snapshot/maven/plugin/ diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6d7efbee9d..51f3abc543 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -142,36 +142,3 @@ jobs: env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} - maven-plugin-documentation: - if: github.repository == 'piranhacloud/piranha' && github.event_name != 'pull_request' - runs-on: ubuntu-latest - steps: - - name: Checkout Piranha - uses: actions/checkout@v4 - - name: Checkout Piranha Website - uses: actions/checkout@v4 - with: - repository: piranhacloud/piranha-website - token: ${{ secrets.GIT_PASSWORD }} - path: piranha-website - ref: 'gh-pages' - - name: Setup Java - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: 21 - - name: Build with Maven - run: | - mvn -B -DskipTests -DskipITs -ntp install - cd maven/plugin - mvn -B -DskipTests -DskipITs -ntp site - cd ../.. - rm -rf piranha-website/maven/piranha-maven-plugin || true - mkdir -p piranha-website/maven/piranha-maven-plugin || true - cp -R maven/plugin/target/site/* piranha-website/maven/piranha-maven-plugin/ - cd piranha-website - git config --global user.email "noreply@piranha.cloud" - git config --global user.name "Automated publish" - git add . - git commit -a -m "Publishing Maven plugin documentation" || true - git push diff --git a/docs/pom.xml b/docs/pom.xml index 862adef5a5..1862ca6334 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -2,8 +2,12 @@ 4.0.0 + + cloud.piranha + project + 24.10.0-SNAPSHOT + cloud.piranha.docs - 24.10.0-SNAPSHOT project pom Piranha @@ -17,12 +21,10 @@ org.apache.maven.plugins maven-site-plugin - 3.20.0 org.apache.maven.plugins maven-deploy-plugin - 3.1.3 true @@ -34,7 +36,6 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.6.2 diff --git a/pom.xml b/pom.xml index e9ec6f2b2a..3c1b7b6384 100644 --- a/pom.xml +++ b/pom.xml @@ -47,7 +47,6 @@ cli core dist - docs embedded extension feature @@ -171,8 +170,8 @@ 1.5.3 3.3.1 3.6.0 - - 4.0.0-M3 + + 3.20.0 3.3.1 3.5.0 3.4.0 @@ -848,36 +847,16 @@ - - release - - - - org.apache.maven.plugins - maven-gpg-plugin - - - sign-artifacts - verify - - sign - - - - --pinentry-mode - loopback - - - - - - - + docs + + docs + + + release + + + + org.apache.maven.plugins + maven-gpg-plugin + + + sign-artifacts + verify + + sign + + + + --pinentry-mode + loopback + + + + + + + +