You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Dennis Kieselhorst (JIRA)" <ji...@apache.org> on 2018/08/28 09:41:00 UTC

[jira] [Updated] (CXF-7829) Use Spring Boot autoconfigure-processor to optimize auto-configurations

     [ https://issues.apache.org/jira/browse/CXF-7829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Kieselhorst updated CXF-7829:
------------------------------------
    Fix Version/s: 3.2.7

> Use Spring Boot autoconfigure-processor to optimize auto-configurations
> -----------------------------------------------------------------------
>
>                 Key: CXF-7829
>                 URL: https://issues.apache.org/jira/browse/CXF-7829
>             Project: CXF
>          Issue Type: Improvement
>            Reporter: Stephane Nicoll
>            Assignee: Dennis Kieselhorst
>            Priority: Major
>             Fix For: 3.2.7
>
>
> As explained in [the its reference documentation|https://github.com/spring-projects/spring-boot/blob/master/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc#autoconfigure-module], Spring Boot provides a {{spring-boot-autoconfigure-processor}}.
> This should be added as an optional dependency to each module that contains AutoConfiguration classes (and the `spring.factories` file declaring them).
> Once configured, this annotation processor will generate metadata at compile time and will help Spring Boot process those auto-configurations without loading the actual classes in some cases.
> In this project, {{cxf-spring-boot-autoconfigure}} looks the only candidate. Could you add it to the pom?
> {code:xml}
> <dependency>
>  <groupId>org.springframework.boot</groupId>
>  <artifactId>spring-boot-autoconfigure-processor</artifactId>
>  <optional>true</optional>
> </dependency>
> {code}
> Once added, this should generate a {{spring-autoconfigure-metadata.properties}} file in the {{target/classes/META-INF}} folder of earch module.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)