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 multi-module build won't detect war during report aggregation #991

Closed
kid1412621 opened this issue Jan 9, 2020 · 0 comments
Closed

Comments

@kid1412621
Copy link

I follow here to create a dedicate module to aggregate report. My project is made of multi-module. And one of them is meant to package WAR according to maven profile setting.
When I change the profile to package WAR, the aggregation module turns out this error: Failure to find com.xxx.xxx:jar:3.1.1 in http://repo2.maven.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of central-p has elapsed or updates are forced. But this module should package to WAR, instead of JAR.
And I specify the type of dependency to WAR in aggregation module. The error is gone.

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

No branches or pull requests

2 participants