-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin uses Maven 2 API, requires still outdated Maven 3.0.0-API and will break in Maven 4 (soon to be released) #1651
Comments
… 3+ API; init to constructors
@bmarwell Do all |
|
Here's some more information about the compatibility matrix: https://gist.github.com/cstamas/b0605a9fad09de4adcbd4444888baa4c This plugin will already not work with the Maven 4 pre-releaes. |
Related commit in another plugin for reference: policeman-tools/forbidden-apis#230 |
Haven't seen you previous commits. Will look into them later! Thanks for working on it! |
I could also produce a snapshot for you to try if that would be helpful. Let me know. |
Yes, I'd love to test that! |
@bmarwell There is a |
Hey! So, I tested 3.8-SNAPSHOT (not 3.8.0-SNAPSHOT btw?) with maven 3.9.1 and 4.0.0-alpha5. Both work fine now. The error is gone: Btw: The nice thing about maven 4 is that you can just run So, yes, looks good from here from the first two tests. 👍🏻 |
I can confirm mvn4 + You can close this issue and #1660 as "delivered". Great work! I have been there, replacing all the ant tasks and other stuff was quite a lot of work. Although I did push too many commits into a single PR, I hope some of them were useful to you. Thanks! 🙏🏻 |
@bmarwell Thank you Ben! I absolutely used your PR to guide my changes. It was very helpful. |
Warning when building with Maven 3.9.1:
${repositorySystemSession}
is available with Maven 3.2.5, which is the minimum needed version for the other maven plugins anyway.ArtifactRepository
runtimeVersion
, so build doesn't just break without parameters.provided
@Component(role = AntHelper.class) AntHelper ant
inAbstractLibertySupport
...Support
classes abstract. The will inherit from AbstractMojo but will not have an executable goal on their own.The text was updated successfully, but these errors were encountered: