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

maven cucumber reporting 5.8.2 - "you have to use classifier to attach supplemental artifacts to the project instead of replacing them" #275

Open
SeleniumNinja opened this issue Sep 6, 2024 · 3 comments

Comments

@SeleniumNinja
Copy link

SeleniumNinja commented Sep 6, 2024

After updating from 5.8.1 version to 5.8.2 I get the following error after test run (5.8.1 works fine):

"jar:3.3.0:jar (default-jar)"
"[WARNING] JAR will be empty - no content was marked for inclusion!"
"you have to use classifier to attach supplemental artifacts to the project instead of replacing them"

Test report is not generated.

I am using Selenium 4.24.0

@damianszczepanik
Copy link
Owner

Might be a result of #250 but this one has been already reverted #271 but not released yet. Or #254

Can you test against HEAD version? Clone repo, build and confirm if the problem persists in recent version.

@mj0bst
Copy link

mj0bst commented Nov 18, 2024

I can confirm that it works in the recent HEAD version.

However, I needed to fix another issue there. With the revert #271 you removed the class level annotations, but the parameter level annotations stayed. Therefore the HEAD version does not recognize the parameters anymore. I could fix that by just adding:

@Mojo(name = "generate")
public class CucumberReportGeneratorMojo extends AbstractMojo {

Then the above error does not occur anymore.

@SeleniumNinja
Copy link
Author

error is still present

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

3 participants