astefanutti commented on a change in pull request #720: Allow to provide
custom settings.xml
URL: https://github.com/apache/camel-k/pull/720#discussion_r290170747
##########
File path: pkg/cmd/install.go
##########
@@ -302,6 +356,11 @@ func (o *installCmdOptions) validate(_ *cobra.Command, _
[]string) error {
err := errorIfContextIsNotAvailable(schema, context,
len(o.contexts))
result = multierr.Append(result, err)
}
+
+ if len(o.mavenRpositories) > 0 && o.mavenSettings != "" {
+ result = fmt.Errorf("incompatible options combinations: you
canno set both mavenRpository and mavenSettings")
Review comment:
`canno` -> `cannot`, `mavenRpository` -> `mavenRepository`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services