Hi Tika team,
I am trying to compile tika branch_2x and I am getting below error, kindly suggest a solution for this.
Java version:
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 8.0.5.0 - pwi3280sr5-20170905_01(SR5))
IBM J9 VM (build 2.9, JRE 1.8.0 Windows 10 x86-32 20170901_363591 (JIT enabled, AOT enabled)
J9VM - d56eb84
JIT - tr.open_20170901_140853_d56eb84
OMR - b033a01)
JCL - 20170823_01 based on Oracle jdk8u144-b01
Java(TM) SE Runtime Environment (build 8.0.5.0 - pwi3280sr5-20170905_01(SR5))
IBM J9 VM (build 2.9, JRE 1.8.0 Windows 10 x86-32 20170901_363591 (JIT enabled, AOT enabled)
J9VM - d56eb84
JIT - tr.open_20170901_140853_d56eb84
OMR - b033a01)
JCL - 20170823_01 based on Oracle jdk8u144-b01
Maven version:
Apache Maven 3.8.9 (e26b057cc3a17459358ef53e4d0e2e381bf08a1c)
Maven home: D:\Maven\apache-maven-3.8.9
Java version: 1.8.0_101, vendor: Oracle Corporation, runtime: C:\jdk1.8\jdk1.8.0_101\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
Maven home: D:\Maven\apache-maven-3.8.9
Java version: 1.8.0_101, vendor: Oracle Corporation, runtime: C:\jdk1.8\jdk1.8.0_101\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
1 [C:\Users\saravananba\Documents\GitHub\tika] mvn clean install
[INFO] Scanning for projects...
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-bom/2.25.2/log4j-bom-2.25.2.pom
Downloading from central: https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-bom/9.4.58.v20250814/jetty-bom-9.4.58.v20250814.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not transfer artifact org.apache.logging.log4j:log4j-bom:pom:2.25.2 from/to central (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-bom/2.25.2/log4j-bom-2.25.2.pom @ org.apache.tika:tika-parent:2.9.5-SNAPSHOT, C:\Users\saravananba\Documents\GitHub\tika\tika-parent\pom.xml, line 462, column 19
[ERROR] Non-resolvable import POM: Could not transfer artifact org.eclipse.jetty:jetty-bom:pom:9.4.58.v20250814 from/to central (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-bom/9.4.58.v20250814/jetty-bom-9.4.58.v20250814.pom @ org.apache.tika:tika-parent:2.9.5-SNAPSHOT, C:\Users\saravananba\Documents\GitHub\tika\tika-parent\pom.xml, line 469, column 19
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.apache.tika:tika:2.9.5-SNAPSHOT (C:\Users\saravananba\Documents\GitHub\tika\pom.xml) has 2 errors
[ERROR] Non-resolvable import POM: Could not transfer artifact org.apache.logging.log4j:log4j-bom:pom:2.25.2 from/to central (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-bom/2.25.2/log4j-bom-2.25.2.pom @ org.apache.tika:tika-parent:2.9.5-SNAPSHOT, C:\Users\saravananba\Documents\GitHub\tika\tika-parent\pom.xml, line 462, column 19: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 2]
[ERROR] Non-resolvable import POM: Could not transfer artifact org.eclipse.jetty:jetty-bom:pom:9.4.58.v20250814 from/to central (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-bom/9.4.58.v20250814/jetty-bom-9.4.58.v20250814.pom @ org.apache.tika:tika-parent:2.9.5-SNAPSHOT, C:\Users\saravananba\Documents\GitHub\tika\tika-parent\pom.xml, line 469, column 19: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
[INFO] Scanning for projects...
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-bom/2.25.2/log4j-bom-2.25.2.pom
Downloading from central: https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-bom/9.4.58.v20250814/jetty-bom-9.4.58.v20250814.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not transfer artifact org.apache.logging.log4j:log4j-bom:pom:2.25.2 from/to central (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-bom/2.25.2/log4j-bom-2.25.2.pom @ org.apache.tika:tika-parent:2.9.5-SNAPSHOT, C:\Users\saravananba\Documents\GitHub\tika\tika-parent\pom.xml, line 462, column 19
[ERROR] Non-resolvable import POM: Could not transfer artifact org.eclipse.jetty:jetty-bom:pom:9.4.58.v20250814 from/to central (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-bom/9.4.58.v20250814/jetty-bom-9.4.58.v20250814.pom @ org.apache.tika:tika-parent:2.9.5-SNAPSHOT, C:\Users\saravananba\Documents\GitHub\tika\tika-parent\pom.xml, line 469, column 19
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.apache.tika:tika:2.9.5-SNAPSHOT (C:\Users\saravananba\Documents\GitHub\tika\pom.xml) has 2 errors
[ERROR] Non-resolvable import POM: Could not transfer artifact org.apache.logging.log4j:log4j-bom:pom:2.25.2 from/to central (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-bom/2.25.2/log4j-bom-2.25.2.pom @ org.apache.tika:tika-parent:2.9.5-SNAPSHOT, C:\Users\saravananba\Documents\GitHub\tika\tika-parent\pom.xml, line 462, column 19: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 2]
[ERROR] Non-resolvable import POM: Could not transfer artifact org.eclipse.jetty:jetty-bom:pom:9.4.58.v20250814 from/to central (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-bom/9.4.58.v20250814/jetty-bom-9.4.58.v20250814.pom @ org.apache.tika:tika-parent:2.9.5-SNAPSHOT, C:\Users\saravananba\Documents\GitHub\tika\tika-parent\pom.xml, line 469, column 19: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
Regards,
Saravanan B
