Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
10 changes: 9 additions & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,12 @@
<properties>
<project.build.outputTimestamp>${reproducible.build.timestamp}</project.build.outputTimestamp>
</properties>
</project>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
10 changes: 9 additions & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,12 @@
<scope>test</scope>
</dependency>
</dependencies>
</project>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
8 changes: 8 additions & 0 deletions exporter/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,12 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
10 changes: 9 additions & 1 deletion exporter/specobject/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,12 @@
<scope>test</scope>
</dependency>
</dependencies>
</project>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
8 changes: 8 additions & 0 deletions importer/lightweightmarkup/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,12 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
8 changes: 8 additions & 0 deletions importer/markdown/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,12 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
8 changes: 8 additions & 0 deletions importer/restructuredtext/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,12 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
10 changes: 9 additions & 1 deletion importer/specobject/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,12 @@
<scope>test</scope>
</dependency>
</dependencies>
</project>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
10 changes: 9 additions & 1 deletion importer/tag/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,12 @@
<scope>test</scope>
</dependency>
</dependencies>
</project>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
8 changes: 8 additions & 0 deletions importer/xmlparser/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,12 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
10 changes: 9 additions & 1 deletion importer/zip/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,12 @@
<scope>test</scope>
</dependency>
</dependencies>
</project>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
8 changes: 7 additions & 1 deletion parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -608,9 +608,14 @@
</executions>
</plugin>
<plugin>
<!-- This plugin needs to be skipped when using the central-publishing-maven-plugin
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.4</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<!--This
plugin's configuration is used to store Eclipse
Expand Down Expand Up @@ -668,8 +673,9 @@
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
<autoPublish>false</autoPublish>
<waitUntil>validated</waitUntil>
<deploymentName>Manual deployment of OpenFastTrace</deploymentName>
</configuration>
</plugin>
<plugin>
Expand Down
6 changes: 5 additions & 1 deletion product/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
</project>
10 changes: 9 additions & 1 deletion reporter/aspec/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,12 @@
<scope>test</scope>
</dependency>
</dependencies>
</project>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
10 changes: 9 additions & 1 deletion reporter/html/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,12 @@
<scope>test</scope>
</dependency>
</dependencies>
</project>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
10 changes: 9 additions & 1 deletion reporter/plaintext/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,12 @@
<scope>test</scope>
</dependency>
</dependencies>
</project>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
7 changes: 0 additions & 7 deletions testutil/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,6 @@
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<configuration>
<skipPublishing>true</skipPublishing>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
Expand Down