You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "gsmet (via GitHub)" <gi...@apache.org> on 2024/08/08 17:59:00 UTC

[PR] Mark modules using legacy @ConfigRoot as such [camel-quarkus]

gsmet opened a new pull request, #6331:
URL: https://github.com/apache/camel-quarkus/pull/6331

   The new extension annotation processor coming with 3.14 requires that you mark the modules using the legacy @ConfigRoot approach (i.e. without @ConfigMapping) with a specific annotation processor parameter.
   
   This is important for the generation of the config documentation (which is enabled by default).
   
   This can be merged pre-3.14 update but will result in a warning when building. With the advantage of having the build with main passing.
   
   I think I have marked all of them but in any case, if you have an error, you now know what to do.
   
   Fixes https://github.com/quarkusio/quarkus/issues/42417


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Mark modules using legacy @ConfigRoot as such [camel-quarkus]

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on PR #6331:
URL: https://github.com/apache/camel-quarkus/pull/6331#issuecomment-2277291714

   Thanks @gsmet!
   
   I can follow up with any additional tweaks. 


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Mark modules using legacy @ConfigRoot as such [camel-quarkus]

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton merged PR #6331:
URL: https://github.com/apache/camel-quarkus/pull/6331


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Mark modules using legacy @ConfigRoot as such [camel-quarkus]

Posted by "gsmet (via GitHub)" <gi...@apache.org>.
gsmet commented on PR #6331:
URL: https://github.com/apache/camel-quarkus/pull/6331#issuecomment-2276402031

   I added more details here: https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.14#extension-developers
   
   Note that by applying just this patch, you will get a warning when compiling the test classes (as given you don't have a config annotation, the annotation processor will not be triggered and you will get a warning telling you the parameter is unused).
   Ideally, you would adjust to only run the annotation processor for the main classes as described in the doc but I didn't want to be too aggressive on your codebase :).
   Feel free to do it if you think it makes sense.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Mark modules using legacy @ConfigRoot as such [camel-quarkus]

Posted by "gsmet (via GitHub)" <gi...@apache.org>.
gsmet commented on PR #6331:
URL: https://github.com/apache/camel-quarkus/pull/6331#issuecomment-2276373479

   At your disposal if you have any questions about this change!


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org