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

Warning during automated GH builds #231

Closed
shumonsharif opened this issue May 21, 2021 · 4 comments
Closed

Warning during automated GH builds #231

shumonsharif opened this issue May 21, 2021 · 4 comments

Comments

@shumonsharif
Copy link
Contributor

The automated GitHub builds show the following warning:
https://github.com/quarkiverse/quarkus-cxf/pull/226/checks?check_run_id=2640326484#step:5:176

[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running io.quarkiverse.cxf.deployment.test.CxfClientTest
2021-05-21 14:48:37,098 WARN  [io.qua.boo.res.mav.BootstrapMavenContext] (main) Settings problem encountered at /usr/share/apache-maven-3.8.1/conf/settings.xml, line 164, column 16: org.apache.maven.settings.io.SettingsParseException: Unrecognised tag: 'blocked' (position: START_TAG seen ...</url>\r\n      <blocked>... @164:16) 
	at org.apache.maven.settings.io.DefaultSettingsReader.read(DefaultSettingsReader.java:87)
	at org.apache.maven.settings.building.DefaultSettingsBuilder.readSettings(DefaultSettingsBuilder.java:182)
	at org.apache.maven.settings.building.DefaultSettingsBuilder.build(DefaultSettingsBuilder.java:104)
	at io.quarkus.bootstrap.resolver.maven.BootstrapMavenContext.getEffectiveSettings(BootstrapMavenContext.java:252)
	at io.quarkus.bootstrap.resolver.maven.BootstrapMavenContext.isOffline(BootstrapMavenContext.java:218)
@shumonsharif
Copy link
Contributor Author

@gastaldi Is this an issue with the quarkiverse setup, and is there a need for concern?

@gastaldi
Copy link
Member

@shumonsharif this is because Quarkus 1.13.4.Final is not compatible with Maven 3.8.1. This is fixed in quarkusio/quarkus#16249 which is available only in the 2.0.0.Alpha builds.

I marked to backport it.

@gastaldi
Copy link
Member

gastaldi commented May 21, 2021

There are two solutions:

  1. Use mvnw and fix on the 3.6.3 version (upgrading to 3.8.1 when updating to Quarkus 2.0.0.Final - when released)
  2. Change the Github action workflow to use Maven 3.6.3

I think 1 is better, since you can use it to build locally too

UPDATE: I think 2 is not possible, so there is only one solution atm :)

@shumonsharif
Copy link
Contributor Author

That works, thanks @gastaldi ... combing through the build logs, I see all the tests getting executed successfully. I just wanted to verify that there weren't some unintended consequences due to the warning. Closing this issue for now!

@ppalaga ppalaga added this to the no fix/won't fix milestone Nov 30, 2022
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

No branches or pull requests

3 participants