Skip to content

Commit 3c4e049

Browse files
committed
improve Reproducible Builds details
1 parent 28e5bb4 commit 3c4e049

File tree

2 files changed

+11
-19
lines changed

2 files changed

+11
-19
lines changed

RELEASE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ git checkout -b release-$RELEASE_VERSION
4141
- [ ] Set the release version and commit the changes:
4242

4343
```bash
44-
./mvnw versions:set -DnewVersion=$RELEASE_VERSION
44+
./mvnw versions:set -DnewVersion=$RELEASE_VERSION -DgenerateBackupPoms=false
4545
git commit -a -m "Release Baremaps $RELEASE_VERSION"
4646
git push --set-upstream origin release-$RELEASE_VERSION
4747
```
@@ -90,7 +90,7 @@ svn cp https://dist.apache.org/repos/dist/dev/incubator/baremaps/$RELEASE_VERSIO
9090
- [ ] Set the version of the next iteration and commit the changes:
9191

9292
```bash
93-
./mvnw versions:set -DnewVersion=$NEXT_VERSION-SNAPSHOT
93+
./mvnw versions:set -DnewVersion=$NEXT_VERSION-SNAPSHOT -DgenerateBackupPoms=false
9494
git commit -a -m "Prepare for next development iteration"
9595
git push origin
9696
```
@@ -116,7 +116,7 @@ docker run \
116116
-v $(pwd):/baremaps \
117117
-w /baremaps \
118118
eclipse-temurin:17-jdk \
119-
./mvnw clean install -DskipTests
119+
./mvnw clean verify -DskipTests artifact:compare -Dreference.repo=https://repository.apache.org/content/repositories/staging/
120120
```
121121

122122
## Verifying the release artifacts

pom.xml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ limitations under the License.
7575

7676
<properties>
7777
<maven.compiler.release>17</maven.compiler.release>
78-
<maven.compiler.source>17</maven.compiler.source>
79-
<maven.compiler.target>17</maven.compiler.target>
8078
<project.build.outputTimestamp>2024-12-20T08:19:21Z</project.build.outputTimestamp>
8179
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
8280
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
@@ -116,15 +114,15 @@ limitations under the License.
116114
<version.lib.testcontainers>1.20.1</version.lib.testcontainers>
117115
<version.plugin.jacoco-maven-plugin>0.8.11</version.plugin.jacoco-maven-plugin>
118116
<version.plugin.jib-maven-plugin>3.0.0</version.plugin.jib-maven-plugin>
119-
<version.plugin.maven-compiler-plugin>3.10.1</version.plugin.maven-compiler-plugin>
117+
<version.plugin.maven-compiler-plugin>3.14.0</version.plugin.maven-compiler-plugin>
120118
<version.plugin.maven-exec-plugin>3.0.0</version.plugin.maven-exec-plugin>
121119
<version.plugin.maven-gpg-plugin>1.6</version.plugin.maven-gpg-plugin>
122-
<version.plugin.maven-jar-plugin>3.3.0</version.plugin.maven-jar-plugin>
123-
<version.plugin.maven-javadoc-plugin>3.2.0</version.plugin.maven-javadoc-plugin>
120+
<version.plugin.maven-jar-plugin>3.4.2</version.plugin.maven-jar-plugin>
121+
<version.plugin.maven-javadoc-plugin>3.11.2</version.plugin.maven-javadoc-plugin>
124122
<version.plugin.maven-jxr-plugin>3.3.1</version.plugin.maven-jxr-plugin>
125-
<version.plugin.maven-release-plugin>2.5.3</version.plugin.maven-release-plugin>
123+
<version.plugin.maven-release-plugin>3.1.1</version.plugin.maven-release-plugin>
126124
<version.plugin.maven-scm-plugin>1.11.2</version.plugin.maven-scm-plugin>
127-
<version.plugin.maven-source-plugin>3.2.1</version.plugin.maven-source-plugin>
125+
<version.plugin.maven-source-plugin>3.3.1</version.plugin.maven-source-plugin>
128126
<version.plugin.maven-surefire-plugin>3.2.1</version.plugin.maven-surefire-plugin>
129127
<version.plugin.maven-surefire-plugin.provider.junit>1.3.2</version.plugin.maven-surefire-plugin.provider.junit>
130128
<version.plugin.nexus-staging-maven-plugin>1.6.13</version.plugin.nexus-staging-maven-plugin>
@@ -700,7 +698,6 @@ limitations under the License.
700698
<artifactId>maven-compiler-plugin</artifactId>
701699
<version>${version.plugin.maven-compiler-plugin}</version>
702700
<configuration>
703-
<release>17</release>
704701
<compilerArgs>
705702
<arg>-Aproject=${project.groupId}/${project.artifactId}</arg>
706703
</compilerArgs>
@@ -717,14 +714,9 @@ limitations under the License.
717714
<version>${version.plugin.maven-jar-plugin}</version>
718715
<configuration>
719716
<archive>
720-
<manifestEntries>
721-
<Build-Date>${project.build.outputTimestamp}</Build-Date>
722-
<Build-Version>${project.version}</Build-Version>
723-
<Build-Jdk>${java.version}</Build-Jdk>
724-
<Specification-Title>${project.name}</Specification-Title>
725-
<Specification-Vendor>Apache Software Foundation</Specification-Vendor>
726-
<Implementation-Vendor>Apache Software Foundation</Implementation-Vendor>
727-
</manifestEntries>
717+
<manifest>
718+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
719+
</manifest>
728720
</archive>
729721
</configuration>
730722
</plugin>

0 commit comments

Comments
 (0)