diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dbaf6598..65102e1e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,22 +67,12 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - name: Verify reproducible build - # Build fails on Windows with error "Failed to execute goal org.apache.maven.plugins:maven-artifact-plugin:3.5.0:compare (default-cli) on project openfasttrace-reporter-plaintext: Could not copy D:\a\openfasttrace\openfasttrace\reporter\plaintext\target\openfasttrace-reporter-plaintext-3.8.0.buildcompareto D:\a\openfasttrace\openfasttrace\target\openfasttrace-root-0.0.0.buildcompare" + # Build fails on Windows with error: "Failed to execute goal org.apache.maven.plugins:maven-artifact-plugin:3.5.0:compare (default-cli) on project openfasttrace-reporter-plaintext: Could not copy D:\a\openfasttrace\openfasttrace\reporter\plaintext\target\openfasttrace-reporter-plaintext-3.8.0.buildcompareto D:\a\openfasttrace\openfasttrace\target\openfasttrace-root-0.0.0.buildcompare" if: ${{ matrix.os != 'windows-latest' }} run: | mvn --batch-mode -T 1C clean verify artifact:compare -DskipTests \ -Djava.version=${{ matrix.java }} - - name: Archive aggregated reproducible build report - uses: actions/upload-artifact@v4 - if: ${{ matrix.os != 'windows-latest' }} - with: - name: reproducible-build-report-${{ matrix.os }}-java-${{ matrix.java }} - path: | - target/openfasttrace-root-0.0.0.buildcompare - target/openfasttrace-root-0.0.0.buildinfo - if-no-files-found: error - - name: Archive oft binary uses: actions/upload-artifact@v4 if: ${{ env.DEFAULT_OS == matrix.os && env.DEFAULT_JAVA == matrix.java }} diff --git a/api/pom.xml b/api/pom.xml index ea13794f..8bf308a8 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -13,4 +13,12 @@ ${reproducible.build.timestamp} - \ No newline at end of file + + + + org.sonatype.central + central-publishing-maven-plugin + + + + diff --git a/core/pom.xml b/core/pom.xml index 99f051b7..50b48b83 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -24,4 +24,12 @@ test - \ No newline at end of file + + + + org.sonatype.central + central-publishing-maven-plugin + + + + diff --git a/exporter/common/pom.xml b/exporter/common/pom.xml index d6ba0c97..53a32ad6 100644 --- a/exporter/common/pom.xml +++ b/exporter/common/pom.xml @@ -24,4 +24,12 @@ test + + + + org.sonatype.central + central-publishing-maven-plugin + + + diff --git a/exporter/specobject/pom.xml b/exporter/specobject/pom.xml index e7f7ed9e..c55c0c7b 100644 --- a/exporter/specobject/pom.xml +++ b/exporter/specobject/pom.xml @@ -28,4 +28,12 @@ test - \ No newline at end of file + + + + org.sonatype.central + central-publishing-maven-plugin + + + + diff --git a/importer/lightweightmarkup/pom.xml b/importer/lightweightmarkup/pom.xml index 58872307..fc34d080 100644 --- a/importer/lightweightmarkup/pom.xml +++ b/importer/lightweightmarkup/pom.xml @@ -29,4 +29,12 @@ test + + + + org.sonatype.central + central-publishing-maven-plugin + + + diff --git a/importer/markdown/pom.xml b/importer/markdown/pom.xml index afc2f622..355886f1 100644 --- a/importer/markdown/pom.xml +++ b/importer/markdown/pom.xml @@ -28,4 +28,12 @@ test + + + + org.sonatype.central + central-publishing-maven-plugin + + + diff --git a/importer/restructuredtext/pom.xml b/importer/restructuredtext/pom.xml index f3fd4cfe..8866dba1 100644 --- a/importer/restructuredtext/pom.xml +++ b/importer/restructuredtext/pom.xml @@ -28,4 +28,12 @@ test + + + + org.sonatype.central + central-publishing-maven-plugin + + + diff --git a/importer/specobject/pom.xml b/importer/specobject/pom.xml index 1cb017c9..32469bf5 100644 --- a/importer/specobject/pom.xml +++ b/importer/specobject/pom.xml @@ -28,4 +28,12 @@ test - \ No newline at end of file + + + + org.sonatype.central + central-publishing-maven-plugin + + + + diff --git a/importer/tag/pom.xml b/importer/tag/pom.xml index 4f370246..37ce102f 100644 --- a/importer/tag/pom.xml +++ b/importer/tag/pom.xml @@ -24,4 +24,12 @@ test - \ No newline at end of file + + + + org.sonatype.central + central-publishing-maven-plugin + + + + diff --git a/importer/xmlparser/pom.xml b/importer/xmlparser/pom.xml index 78370182..e1290e6c 100644 --- a/importer/xmlparser/pom.xml +++ b/importer/xmlparser/pom.xml @@ -24,4 +24,12 @@ test + + + + org.sonatype.central + central-publishing-maven-plugin + + + diff --git a/importer/zip/pom.xml b/importer/zip/pom.xml index 6f8d3766..d5b452db 100644 --- a/importer/zip/pom.xml +++ b/importer/zip/pom.xml @@ -24,4 +24,12 @@ test - \ No newline at end of file + + + + org.sonatype.central + central-publishing-maven-plugin + + + + diff --git a/parent/pom.xml b/parent/pom.xml index c9b8017e..71a59f42 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -608,9 +608,14 @@ + org.apache.maven.plugins maven-deploy-plugin 3.1.4 + + true +