This is an automated email from the ASF dual-hosted git repository.
tallison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/main by this push:
new a8e7f9fb2 Minimal changes to make build work with Maven 4 (#2391)
a8e7f9fb2 is described below
commit a8e7f9fb2df54a4c83892b51a42139f1a6a1000a
Author: Tamas Cservenak <[email protected]>
AuthorDate: Mon Nov 10 17:58:07 2025 +0100
Minimal changes to make build work with Maven 4 (#2391)
This is the set of minimal changes to make the build work with Maven 4
Changes:
* drop unmaintained extension, replace with Nisse
* move ossindex plugin to verify (was at validate) -- makes dep resolution
mandatory
* fix using user properties the P2 repo without repo.id (makes Maven 4 fail)
---
.mvn/extensions.xml | 8 ++++++++
.mvn/maven.config | 5 +++++
tika-grpc/pom.xml | 7 -------
tika-parent/pom.xml | 2 +-
4 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml
new file mode 100644
index 000000000..a23fc00d8
--- /dev/null
+++ b/.mvn/extensions.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<extensions>
+ <extension>
+ <groupId>eu.maveniverse.maven.nisse</groupId>
+ <artifactId>extension</artifactId>
+ <version>0.6.2</version>
+ </extension>
+</extensions>
diff --git a/.mvn/maven.config b/.mvn/maven.config
new file mode 100644
index 000000000..5bb07bba0
--- /dev/null
+++ b/.mvn/maven.config
@@ -0,0 +1,5 @@
+-D
+nisse.compat.osDetector
+# fix for nlp module
+-D
+eclipseP2RepoId=invalid
diff --git a/tika-grpc/pom.xml b/tika-grpc/pom.xml
index 0bbeae0c7..02323c12f 100644
--- a/tika-grpc/pom.xml
+++ b/tika-grpc/pom.xml
@@ -246,13 +246,6 @@
</dependency>
</dependencies>
<build>
- <extensions>
- <extension>
- <groupId>kr.motd.maven</groupId>
- <artifactId>os-maven-plugin</artifactId>
- <version>1.7.1</version>
- </extension>
- </extensions>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/tika-parent/pom.xml b/tika-parent/pom.xml
index 5f6428996..154d1c7d7 100644
--- a/tika-parent/pom.xml
+++ b/tika-parent/pom.xml
@@ -1297,7 +1297,7 @@
<executions>
<execution>
<id>audit-dependencies</id>
- <phase>validate</phase>
+ <phase>verify</phase>
<goals>
<goal>audit</goal>
</goals>