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

fix(jans-auth-server): disable surefire for jans-auth-static which leads to build marked as failed #1644

Closed
yuriyz opened this issue Jun 30, 2022 · 1 comment
Assignees
Labels
comp-jans-auth-server Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality
Milestone

Comments

@yuriyz
Copy link
Contributor

yuriyz commented Jun 30, 2022

Describe the bug

There was added parent section to jans-auth-static which inherits all parent pom properties including surefire.

As result we got build failure.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project jans-auth-static: suiteXmlFiles is configured, but there is no TestNG dependency -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :jans-auth-static

Surefire should be disabled for jans-auth-static.

image

@yuriyz yuriyz added kind-bug Issue or PR is a bug in existing functionality comp-jans-auth-server Component affected by issue or PR labels Jun 30, 2022
@yuriyz yuriyz assigned yuriyz and unassigned moabu Jun 30, 2022
@yuriyz yuriyz added this to the 1.0.1 milestone Jun 30, 2022
@yuriyz
Copy link
Contributor Author

yuriyz commented Jun 30, 2022

Fixed

@yuriyz yuriyz closed this as completed Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-jans-auth-server Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants