This is an automated email from the ASF dual-hosted git repository.
DomGarguilo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-testing.git
The following commit(s) were added to refs/heads/main by this push:
new e143476 Update pom and fix build (#309)
e143476 is described below
commit e1434760c35382b70bc9a66990d6e91c79039862
Author: Dom G. <[email protected]>
AuthorDate: Tue Jun 9 10:53:42 2026 -0400
Update pom and fix build (#309)
* Align the parent pom version with main accumulo repo (37)
* Align java build version min with main accumulo repo (21)
* Remove min maven version since its updated in the parent pom as of parent
pom v36
* bump deps to match main accumulo repo
* replace deprecated prop
* Add block to pull snapshots to pom
* Update GitHub Actions to align with main accumulo repo
---
.github/workflows/maven.yaml | 14 +++++------
pom.xml | 28 +++++++++++++++-------
.../testing/randomwalk/concurrent/Config.java | 2 +-
3 files changed, 28 insertions(+), 16 deletions(-)
diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml
index abe01cc..32f0cb3 100644
--- a/.github/workflows/maven.yaml
+++ b/.github/workflows/maven.yaml
@@ -38,12 +38,12 @@ jobs:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v4
- - name: Set up JDK 17
- uses: actions/setup-java@v4
+ - uses: actions/checkout@v6
+ - name: Set up JDK 21
+ uses: actions/setup-java@v5
with:
distribution: adopt
- java-version: 17
+ java-version: 21
cache: 'maven'
- name: Build with Maven (${{ matrix.profile.name }})
run: mvn -B -V -e -ntp "-Dstyle.color=always" ${{ matrix.profile.args }}
@@ -51,21 +51,21 @@ jobs:
MAVEN_OPTS: -Djansi.force=true
- name: Upload unit test results
if: ${{ failure() }}
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: surefire-reports-${{ matrix.profile.name }}
path: ./**/target/surefire-reports/
if-no-files-found: ignore
- name: Upload integration test results
if: ${{ failure() }}
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: failsafe-reports-${{ matrix.profile.name }}
path: ./**/target/failsafe-reports/
if-no-files-found: ignore
- name: Upload mini test logs
if: ${{ failure() }}
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: mini-tests-logs-${{ matrix.profile.name }}
path: ./**/target/**/mini-tests/**/logs/
diff --git a/pom.xml b/pom.xml
index ad6d973..39d857f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
- <version>31</version>
+ <version>37</version>
</parent>
<groupId>org.apache.accumulo</groupId>
<artifactId>accumulo-testing</artifactId>
@@ -43,8 +43,7 @@
<maven.site.skip>true</maven.site.skip>
<!-- versions-maven-plugin ignore patterns for snapshots, alpha, beta,
milestones, and release candidates -->
<maven.version.ignore>.+-SNAPSHOT,(?i).*(alpha|beta)[0-9.-]*,(?i).*[.-](m|rc)[0-9]+</maven.version.ignore>
- <minimalJavaBuildVersion>17</minimalJavaBuildVersion>
- <minimalMavenBuildVersion>3.9</minimalMavenBuildVersion>
+ <minimalJavaBuildVersion>21</minimalJavaBuildVersion>
<!-- timestamp for reproducible outputs, updated on release by the release
plugin -->
<project.build.outputTimestamp>2021-12-15T00:00:00Z</project.build.outputTimestamp>
</properties>
@@ -121,6 +120,19 @@
<scope>test</scope>
</dependency>
</dependencies>
+ <repositories>
+ <repository>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <id>apache.snapshots</id>
+ <name>Apache Snapshot Repository</name>
+ <url>https://repository.apache.org/content/repositories/snapshots</url>
+ </repository>
+ </repositories>
<build>
<pluginManagement>
<plugins>
@@ -128,12 +140,12 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
- <version>2.16.1</version>
+ <version>2.21.0</version>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
- <version>4.3</version>
+ <version>5.0.0</version>
<configuration>
<licenseSets>
<licenseSet>
@@ -196,7 +208,7 @@
<plugin>
<groupId>com.github.ekryd.sortpom</groupId>
<artifactId>sortpom-maven-plugin</artifactId>
- <version>3.3.0</version>
+ <version>4.0.0</version>
<configuration>
<createBackupFile>false</createBackupFile>
<expandEmptyElements>false</expandEmptyElements>
@@ -213,7 +225,7 @@
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
- <version>2.23.0</version>
+ <version>2.29.0</version>
<configuration>
<configFile>src/build/eclipse-codestyle.xml</configFile>
<lineEnding>LF</lineEnding>
@@ -227,7 +239,7 @@
<plugin>
<groupId>net.revelc.code</groupId>
<artifactId>impsort-maven-plugin</artifactId>
- <version>1.9.0</version>
+ <version>1.13.0</version>
<configuration>
<removeUnused>true</removeUnused>
<groups>java.,javax.,jakarta.,org.,com.</groups>
diff --git
a/src/main/java/org/apache/accumulo/testing/randomwalk/concurrent/Config.java
b/src/main/java/org/apache/accumulo/testing/randomwalk/concurrent/Config.java
index c697851..901e8e9 100644
---
a/src/main/java/org/apache/accumulo/testing/randomwalk/concurrent/Config.java
+++
b/src/main/java/org/apache/accumulo/testing/randomwalk/concurrent/Config.java
@@ -75,7 +75,7 @@ public class Config extends Test {
s(Property.TSERV_THREADCHECK, 100, 10000),
s(Property.TSERV_MINTHREADS, 1, 100),
s(Property.TSERV_SESSION_MAXIDLE, 100, 5 * 60 * 1000),
- s(Property.TSERV_WAL_SORT_BUFFER_SIZE, 1024 * 1024,
1024 * 1024 * 1024L),
+ s(Property.GENERAL_SERVER_WAL_SORT_BUFFER_SIZE, 1024 *
1024, 1024 * 1024 * 1024L),
s(Property.TSERV_WAL_BLOCKSIZE, 1024 * 1024,1024 * 1024
* 1024 * 10L),
s(Property.MANAGER_BULK_TIMEOUT, 10, 600),
s(Property.MANAGER_RECOVERY_DELAY, 0, 100),