-
Notifications
You must be signed in to change notification settings - Fork 301
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
Add archunit-junit5 pom aggregator #275
Conversation
DeepCode's analysis on #8a7e45 found:
💬 This comment has been generated by the DeepCode bot, installed by the owner of the repository. The DeepCode bot protects your repository by detecting and commenting on security vulnerabilities or other critical issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Thanks, @eddumelendez!
Thanks a lot for looking into this 😃 It seems to work, but I have two things to consider a) I did get some exception during |
@codecholeric the exception is displayed building against java 11 at least in my machine. You can see my findings below: a) The new commit resolves the issue building against java 11. I couldn't upgrade to b) That would be something that gradle understand and can resolve the dependencies but maven users will need to specify an additional line |
@eddumelendez ah, cool, thanks a lot for looking into this 😄 a) Yes, we need to upgrade Gradle |
Issue: TNG#272 Signed-off-by: Eddú Meléndez <eddu.melendez@gmail.com>
Signed-off-by: Eddú Meléndez <eddu.melendez@gmail.com>
Signed-off-by: Eddú Meléndez <eddu.melendez@gmail.com>
Now that the Shadow Plugin is working after the upgrade, it started to repackage dependencies into a fat JAR, making archunit-junit5.jar quite big with clutter. We can exclude all files, then the Manifest Plugin will generate the correct manifest and the rest will be empty. Signed-off-by: Peter Gafert <peter.gafert@tngtech.com>
Now that we have the new aggregator POM, we should also let the Maven integration test run against this dependency for extra test coverage. Also adjusted the Surefire configuration to current best practices from the JUnit 5 user guide (the approach to add the engine as dependency to the Surefire plugin was given up a while ago. In particular since the Surefire plugin took over the provider from the JUnit team, that part does not work anymore. I.e. while Maven now natively supports JUnit 5, it only does so, if the test engine is in the project classpath, not if it is in the Surefire plugin classpath.) Signed-off-by: Peter Gafert <peter.gafert@tngtech.com>
I have looked over it, looks good now 😄 |
Add archunit-junit5 pom aggregator
Resolves #272