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

WINDUP-1824: Windup Maven Plugin does not include nexus indexes to ignore known jars #16

Merged
merged 2 commits into from
May 4, 2018

Conversation

jsight
Copy link
Member

@jsight jsight commented May 3, 2018

https://issues.jboss.org/browse/WINDUP-1824

This adds the option to specify windupHome. Specifying windupHome will cause it to use the rules from there as well as the nexus indexes from there instead of the ones that are downloaded.

There are other ways of accomplishing this, so feel free to disagree if you would prefer an alternative approach.

@jsight jsight requested a review from mrizzi May 3, 2018 20:17
Copy link
Member

@mrizzi mrizzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it worked well locally and i think this PR only needs a little change.
Thanks @jsight

if (!windupHomeSpecified)
{
downloadAndUnzipRules();
windupConfiguration.addDefaultUserRulesDirectory(PathUtil.getWindupRulesDir());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this line should be out of the the if block because if there's the windupHome property, then the rules folder from the Windup home is not added to the set of rules folders.

@jsight
Copy link
Member Author

jsight commented May 4, 2018

Fixed. Thanks for the review @mrizzi!

@jsight jsight merged commit 917930a into windup:master May 4, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants