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

Release 4.5.0 has no plugin descriptor for Maven Provider plugin #1672

Closed
Harmelodic opened this issue Feb 27, 2023 · 5 comments
Closed

Release 4.5.0 has no plugin descriptor for Maven Provider plugin #1672

Harmelodic opened this issue Feb 27, 2023 · 5 comments
Labels
bug Indicates an unexpected problem or unintended behavior

Comments

@Harmelodic
Copy link

When attempting to run Pact tests with the new 4.5.0 release, I get the following error:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  4.601 s
[INFO] Finished at: 2023-02-24T07:58:44Z
[INFO] ------------------------------------------------------------------------
Error:  Failed to parse plugin descriptor for au.com.dius.pact.provider:maven:4.5.0 (/home/runner/.m2/repository/au/com/dius/pact/provider/maven/4.5.0/maven-4.5.0.jar): No plugin descriptor found at META-INF/maven/plugin.xml -> [Help 1]

Link to example build job.

I'm guessing something wasn't packaged inside of the released JAR that was supposed to be?

@robert-zimmermann
Copy link

I also observed the same thing

@gertjanschouten
Copy link

gertjanschouten commented Feb 28, 2023

Yep, here too. Our CI fails because of this, so we have to stick with 4.4.7 for now.

I investigated the issue and found that the "maven" directory, with the plugin.xml in it, is missing from the META-INF directory inside the maven plugin jar file.

@rholshausen rholshausen added bug Indicates an unexpected problem or unintended behavior smartbear-supported labels Mar 2, 2023
@github-actions
Copy link

github-actions bot commented Mar 2, 2023

👋 Hi! The 'smartbear-supported' label has just been added to this issue, which will create an internal tracking ticket in PactFlow's Jira (PACT-777). We will use this to prioritise and assign a team member to this task. All activity will be public on this ticket. For now, sit tight and we'll update this ticket once we have more information on the next steps.

See our documentaiton for more information.

@rholshausen
Copy link
Contributor

4.5.1 has been released with the fix

@Harmelodic
Copy link
Author

Build succeeds with 4.5.1.
https://github.com/Harmelodic/init-microservice/actions/runs/4311749636/jobs/7521471550

Closing issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

4 participants