apache / apache/maven-help-plugin
help:evaluate return warnings with -DforceStdout
- Dominant language
- Java
- Stars
- 29
- Forks
- 42
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 6
Description
### Affected version
3.5.1
### Bug description
```
mvn help:evaluate -q -Dexpression=project.properties -DforceStdout
```
on jdk 25 return warnings on top before print properties
```
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/home/user/.m2/repository/com/thoughtworks/xstream/xstream/1.4.20/xstream-1.4.20.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the `mvn help:evaluate -q -Dexpression=project.properties -DforceStdout` command with JDK 25 and inspect the warning source, especially XStream 1.4.20 and `SunUnsafeReflectionProvider`. Confirm the fix by ensuring the command outputs the properties without the `sun.misc.Unsafe` warnings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100