cjgunzel commented on issue #9165:
URL: https://github.com/apache/netbeans/issues/9165#issuecomment-3862356061
Following is log output on my install:
Note NB is set to use bundled Maven and NB runs on and is set to compile to
JDK 25. I do have Maven 4 on my machine but since NB is set to "bundled" it
should not be showing up...I think ??
If I run with second arrow as illustrated the same log is issued.
I don't know how to get "as of 'now'". I only have RC2. Maybe something is
already fixed? Hopefully!
NOTE: I deleted Maven 4 from my machine and the log will be posted
subsequently.
cd /home/chuck/NetBeansProjects/OSGITest;
JAVA_HOME=/usr/lib64/jvm/jre-25-openjdk
/micro/Downloads/netbeans_29/netbeans/java/maven/bin/mvn --no-transfer-progress
clean install
Scanning for projects...
-----------------< com.yrs.contractor.common:OSGITest >-----------------
Building OSGITest OSGi Bundle 1.0.0
from pom.xml
-------------------------------[ bundle ]-------------------------------
Ignoring incompatible plugin version 4.0.0-beta-1:
The plugin org.apache.maven.plugins:maven-resources-plugin:4.0.0-beta-1 has
unmet prerequisites:
Required Maven version 4.0.0-beta-3 is not met by current version 3.9.12
Latest version of plugin org.apache.maven.plugins:maven-resources-plugin
failed compatibility check
Looking for compatible RELEASE version of plugin
org.apache.maven.plugins:maven-resources-plugin
Selected plugin org.apache.maven.plugins:maven-resources-plugin:3.4.0
Ignoring incompatible plugin version 4.0.0-beta-4:
The plugin org.apache.maven.plugins:maven-compiler-plugin:4.0.0-beta-4 has
unmet prerequisites:
Required Maven version 4.0.0-rc-4 is not met by current version 3.9.12
Latest version of plugin org.apache.maven.plugins:maven-compiler-plugin
failed compatibility check
Looking for compatible RELEASE version of plugin
org.apache.maven.plugins:maven-compiler-plugin
Ignoring incompatible plugin version 4.0.0-beta-3:
The plugin org.apache.maven.plugins:maven-compiler-plugin:4.0.0-beta-3 has
unmet prerequisites:
Required Maven version 4.0.0-rc-4 is not met by current version 3.9.12
Ignoring incompatible plugin version 4.0.0-beta-2:
The plugin org.apache.maven.plugins:maven-compiler-plugin:4.0.0-beta-2 has
unmet prerequisites:
Required Maven version 4.0.0-rc-2 is not met by current version 3.9.12
Ignoring incompatible plugin version 4.0.0-beta-1:
The plugin org.apache.maven.plugins:maven-compiler-plugin:4.0.0-beta-1 has
unmet prerequisites:
Required Maven version 4.0.0-beta-3 is not met by current version 3.9.12
Selected plugin org.apache.maven.plugins:maven-compiler-plugin:3.15.0
Ignoring incompatible plugin version 4.0.0-beta-2:
The plugin org.apache.maven.plugins:maven-install-plugin:4.0.0-beta-2 has
unmet prerequisites:
Required Maven version 4.0.0-rc-2 is not met by current version 3.9.12
Latest version of plugin org.apache.maven.plugins:maven-install-plugin
failed compatibility check
Looking for compatible RELEASE version of plugin
org.apache.maven.plugins:maven-install-plugin
Ignoring incompatible plugin version 4.0.0-beta-1:
The plugin org.apache.maven.plugins:maven-install-plugin:4.0.0-beta-1 has
unmet prerequisites:
Required Maven version 4.0.0-beta-3 is not met by current version 3.9.12
Selected plugin org.apache.maven.plugins:maven-install-plugin:3.1.4
Ignoring incompatible plugin version 4.0.0-beta-2:
The plugin org.apache.maven.plugins:maven-deploy-plugin:4.0.0-beta-2 has
unmet prerequisites:
Required Maven version 4.0.0-rc-2 is not met by current version 3.9.12
Latest version of plugin org.apache.maven.plugins:maven-deploy-plugin failed
compatibility check
Looking for compatible RELEASE version of plugin
org.apache.maven.plugins:maven-deploy-plugin
Ignoring incompatible plugin version 4.0.0-beta-1:
The plugin org.apache.maven.plugins:maven-deploy-plugin:4.0.0-beta-1 has
unmet prerequisites:
Required Maven version 4.0.0-beta-3 is not met by current version 3.9.12
Selected plugin org.apache.maven.plugins:maven-deploy-plugin:3.1.4
--- clean:3.2.0:clean (default-clean) @ OSGITest ---
Deleting /home/chuck/NetBeansProjects/OSGITest/target
--- resources:3.4.0:resources (default-resources) @ OSGITest ---
Copying 0 resource from src/main/resources to target/classes
--- compiler:3.15.0:compile (default-compile) @ OSGITest ---
Recompiling the module because of changed source code.
Compiling 1 source file with javac [debug release 25] to target/classes
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 0.552 s
Finished at: 2026-02-06T11:54:34-08:00
------------------------------------------------------------------------
Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.15.0:compile (default-compile)
on project OSGITest: Fatal error compiling: error: release version 25 not
supported -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read
the following articles:
[Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists