Modernizer Maven Plugin detects uses of legacy APIs which modern Java versions supersede. These modern APIs are often more performant, safer, and idiomatic than the legacy equivalents.
Questions tagged [modernizer-maven-plugin]
2 questions
1
vote
1 answer
modernizer-maven-plugin Joda Instant
I am trying to construct an org.joda.time.Instant from a LocalDate. Ordinarily it is as simple as;
new org.joda.time.Instant(myDate.atStartOfDay(ZoneId.systemDefault()).toInstant().toEpochMilli());
But the project I am working on uses the…

cbm64
- 1,059
- 2
- 12
- 24
0
votes
1 answer
Maven build failed because of modernizer plugin
I have created a jhipster project. after making some changes in the java code i am not able to run "mvn clean install" command. I had created a Mapstruct mapper class for an API. That is the only change i have done. the log is given…

Sanal M
- 187
- 4
- 17