Skip to content
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 validation issues #52

Open
vatbub opened this issue Aug 23, 2023 · 0 comments
Open

Plugin validation issues #52

vatbub opened this issue Aug 23, 2023 · 0 comments

Comments

@vatbub
Copy link

vatbub commented Aug 23, 2023

Hi there,
thank you again for creating this great plugin :)

I recently ran Maven Plugin Validation on my projects, and it warned me about multiple validation issues. This is the message that I got:

[WARNING]  * com.rudikershaw.gitbuildhook:git-build-hook-maven-plugin:3.4.1
[WARNING]   Plugin EXTERNAL issue(s):
[WARNING]    * Plugin is a Maven 2.x plugin, which will be not supported in Maven 4.x
[WARNING]    * Plugin mixes multiple Maven versions: [3.9.0, 2.2.1]

Maven setup:

Apache Maven 3.9.3 (21122926829f1ead511c958d89bd2f672198ae9f)
Maven home: C:\apache-maven-3.8.6-bin\apache-maven-3.8.6
Java version: 19.0.2, vendor: Eclipse Adoptium, runtime: C:\Program Files\Eclipse Adoptium\jdk-19.0.2.7-hotspot
Default locale: de_DE, platform encoding: UTF-8
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

To run the plugin validation yourself, you need a project that uses your plugin and then run mvn -Dmaven.plugin.validation=verbose package which will run a build and show all plugin validation errors at the end.

This is more of a warning rather than an actual error, so fixing it has a rather low priority, but I wanted to let you know nevertheless.

Cheers :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant