Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7829

Use Spring Boot autoconfigure-processor to optimize auto-configurations

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.2.7, 3.3.0
    • None
    • None
    • Unknown

    Description

      As explained in the its reference documentation, 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?

      <dependency>
       <groupId>org.springframework.boot</groupId>
       <artifactId>spring-boot-autoconfigure-processor</artifactId>
       <optional>true</optional>
      </dependency>
      

      Once added, this should generate a spring-autoconfigure-metadata.properties file in the target/classes/META-INF folder of earch module.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            deki Dennis Kieselhorst
            snicoll Stephane Nicoll
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment