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

CLOUD-3647 - add -Dcom.redhat.xpaas.repo.jbossorg by default to MAVEN_ARGS by default #114

Merged
merged 1 commit into from Sep 21, 2020

Conversation

luck3y
Copy link
Contributor

@luck3y luck3y commented Jun 30, 2020

@luck3y luck3y requested review from jfdenise and jmesnil June 30, 2020 21:44
@luck3y luck3y added the Hold label Jul 1, 2020
@luck3y
Copy link
Contributor Author

luck3y commented Jul 1, 2020

Looks like we have a few places looking for exact output from the tests, I'll update this.

export MAVEN_ARGS="${MAVEN_ARGS} -Dcom.redhat.xpaas.repo.jbossorg"
Copy link
Contributor

Choose a reason for hiding this comment

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

@luck3y , MAVEN_ARGS is not set in the image, we are relying on the cct_module default. If we are setting it here, cct_module default value will not get applied. I think that we need to append the property to MAVEN_ARGS_APPEND that the user can set and for which we don't have default values in cct_module.

Copy link
Contributor

Choose a reason for hiding this comment

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

Just to add my two cents, notice MAVEN_ARGS_APPEND is by default set on the templates, so, in case of adding -Dcom.redhat.xpaas.repo.jbossorg in the scripts, it would be nice to take into account possible duplicates of the same property, bash property expansion facilities can help here. It would be harmless having the same property duplicated, but, well, just in case we want to avoid it.

@luck3y
Copy link
Contributor Author

luck3y commented Jul 6, 2020

FYI, if this is good enough for now, we can get it into CD20

@jfdenise jfdenise merged commit 6918054 into wildfly:master Sep 21, 2020
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

3 participants