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

please add spring-boot-configuration-processor dependcy to generate spring-configuration-metadata.json #32

Closed
techzealot opened this issue Jan 16, 2019 · 3 comments
Labels
question Further information is requested

Comments

@techzealot
Copy link

The issue tracker is ONLY used for bug report and feature request.

Any question or RocketMQ proposal please use our mailing lists.

FEATURE REQUEST

  1. Please describe the feature you are requesting.

please add spring-boot-configuration-processor dependcy to generate spring-configuration-metadata.json so that IDE can autocomplete the properties
2. Provide any additional detail on your proposed use case for this feature.
in rocketmq-spring-boot's pom.xml ,just add
<dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-configuration-processor</artifactId>
            <version>${spring.boot.version}</version>
            <optional>true</optional>
 </dependency>

that's all.


3. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?


for better user experience

@ShannonDing ShannonDing added the discuss Discuss whether to support label Jan 21, 2019
@ShannonDing
Copy link
Member

Could you please help to check this question? @walking98

@vongosling
Copy link
Member

@vongosling vongosling added help wanted Extra attention is needed question Further information is requested and removed discuss Discuss whether to support help wanted Extra attention is needed labels Jan 22, 2019
@techzealot
Copy link
Author

techzealot commented Jan 22, 2019

@techzealot please see https://github.com/apache/rocketmq-spring/blob/master/rocketmq-spring-boot-parent/pom.xml

@vongosling
this is

<dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-autoconfigure-processor</artifactId>
                <version>${spring.boot.version}</version>
</dependency>

not

<dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-configuration-processor</artifactId>
            <version>${spring.boot.version}</version>
            <optional>true</optional>
 </dependency>

they have different effect on the project.The first one is order control metadata about autoconfig beans,the other is configuration properties metadata which ide use to autocomplete properties in application.yml and application.properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants