Open gounthar opened 3 weeks ago
Yea it's some particular case we need to manage before trying anything.
In case of the vagrant plugin is because of the java.version 7
It's probably even Maven not supporting build of such project
error: Source option 5 is no longer supported. Use 7 or later.
https://maven.apache.org/docs/3.9.0/release-notes.html#overview-about-the-changes
Minimum Java version to use with Maven 3.9.0 is raised to Java 8.
For the job-poll-action is because of the HTTP URL
maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [repo.jenkins-ci.org (http://repo.jenkins-ci.org/public/,
So 2 things blocked by some recent maven version.
We need to think how to manage those use cases
Jenkins and plugins versions report
Environment
```text Paste the output here ```What Operating System are you using (both controller, and any agents involved in the problem)?
WSL2
Reproduction steps
I have a
plugins.txt
file which lists tons of plugins.job-poll-action-plugin
is part of that list.java -jar plugin-modernizer-cli/target/jenkins-plugin-modernizer-999999-SNAPSHOT.jar --plugin-file plugins.txt --recipes FetchMetadata
I don't have any log available in the
logs
directory. If I launch directly for this plugin, not using a list, I get an error in the logs.The logs are:
Could the error be linked to the fact the plugin is super old, declaring Java source file compatibility with Java 5?
Expected Results
No error.
Actual Results
Anything else?
No response
Are you interested in contributing a fix?
No response