Skip to content

Commit 4611865

Browse files
committed
Merge branch 'master' into feat/slsa
2 parents d92845a + 546dfbf commit 4611865

5 files changed

Lines changed: 14 additions & 19 deletions

File tree

fb-excludes.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1919
xsi:schemaLocation="https://github.com/spotbugs/filter/3.0.0 https://raw.githubusercontent.com/spotbugs/spotbugs/3.1.0/spotbugs/etc/findbugsfilter.xsd">
2020

21-
<!-- Mutable objects are not passed to untrusted methods, so we exclude these checks -->
21+
<!-- SLSA provenance data models and mojos are intentionally mutable; defensive copying adds no safety. -->
2222
<Match>
23+
<Package name="~org[.]apache[.]commons[.]release[.]plugin[.](mojos|slsa[.]v1_2)" />
2324
<Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2" />
2425
</Match>
2526

pom.xml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.apache.commons</groupId>
2424
<artifactId>commons-parent</artifactId>
25-
<version>98</version>
25+
<version>99</version>
2626
</parent>
2727
<artifactId>commons-release-plugin</artifactId>
2828
<packaging>maven-plugin</packaging>
@@ -53,24 +53,13 @@
5353
<url>scm:svn:https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-release-plugin</url>
5454
</site>
5555
</distributionManagement>
56-
<!-- Temporarily add Apache Snapshots repository -->
57-
<repositories>
58-
<repository>
59-
<id>apache.snapshots</id>
60-
<name>Apache Snapshot Repository</name>
61-
<url>https://repository.apache.org/snapshots</url>
62-
<releases>
63-
<enabled>false</enabled>
64-
</releases>
65-
</repository>
66-
</repositories>
6756
<properties>
6857
<failOnError>false</failOnError>
6958
<maven.compiler.source>1.8</maven.compiler.source>
7059
<maven.compiler.target>1.8</maven.compiler.target>
7160
<!-- 3.8.2 fails with some class not found error -->
7261
<!-- 3.8.3 fails because MavenProject.getAttachedArtifacts() returns an IMMUTABLE collection and we want to change it! -->
73-
<maven.dependency.version>3.9.14</maven.dependency.version>
62+
<maven.dependency.version>3.9.15</maven.dependency.version>
7463
<commons.componentid>release-plugin</commons.componentid>
7564
<commons.dist.subdir>release-plugin</commons.dist.subdir>
7665
<commons.jira.id>COMMONSSITE</commons.jira.id>
@@ -146,7 +135,7 @@
146135
<dependency>
147136
<groupId>commons-io</groupId>
148137
<artifactId>commons-io</artifactId>
149-
<version>2.21.0</version>
138+
<version>2.22.0</version>
150139
</dependency>
151140
<dependency>
152141
<groupId>org.apache.maven</groupId>
@@ -187,7 +176,7 @@
187176
<dependency>
188177
<groupId>commons-codec</groupId>
189178
<artifactId>commons-codec</artifactId>
190-
<version>1.22.0-SNAPSHOT</version>
179+
<version>1.22.0</version>
191180
</dependency>
192181
<dependency>
193182
<groupId>org.apache.commons</groupId>

src/changes/changes.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@
2828
<!-- FIX -->
2929
<!-- ADD -->
3030
<!-- UPDATE -->
31-
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump org.apache.commons:commons-parent from 96 to 98.</action>
32-
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump commons-codec:commons-codec from 1.20.0 to 1.21.0.</action>
31+
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump org.apache.commons:commons-parent from 96 to 99.</action>
32+
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump commons-codec:commons-codec from 1.20.0 to 1.22.0.</action>
3333
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.apache.maven.plugin-testing:maven-plugin-testing-harness from 3.4.0 to 3.5.1 #426.</action>
34-
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump maven.dependency.version from 3.9.12 to 3.9.14 #424.</action>
34+
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump maven.dependency.version from 3.9.12 to 3.9.15 #424.</action>
3535
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.codehaus.mojo:jdepend-maven-plugin from 2.1 to 2.2.0 #425.</action>
36+
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump commons-io:commons-io from 2.21.0 to 2.22.0.</action>
3637
</release>
3738
<release version="1.9.2" date="2026-01-25" description="This is a feature and maintenance release. Java 8 or later is required.">
3839
<!-- FIX -->

src/main/resources/commons-xdoc-templates/vote-txt-template.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ Linux: uname -a
138138

139139
To check that a build is reproducible, run:
140140

141+
# Verify using a JDK major version matching: @JAVA_VERSION@
142+
export TZ="@TIMEZONE@"
141143
mvn clean verify artifact:compare -DskipTests -Dreference.repo=https://repository.apache.org/content/repositories/staging/ '-Dbuildinfo.ignore=*/*.spdx.json'
142144

143145
Note that this excludes SPDX files from the check.

src/main/scripts/generate-xdocs.build.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@
126126
<filter token="TAGCOMMIT" value="${git.tag.commit}"/>
127127
<filter token="SITEURL" value="${svn.site.url}"/>
128128
<filter token="NEXUS_REPO_ID" value="${commons.nexus.repo.id}"/>
129+
<filter token="JAVA_VERSION" value="${java.version}"/>
130+
<filter token="TIMEZONE" value="${user.timezone}"/>
129131
</filterset>
130132
</copy>
131133

0 commit comments

Comments
 (0)