You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure each configuration in pom.xml. And you can get the IDE completion that META-INF/maven/plugin.xml should contain a description of these configurations.
If configFile is specified, get the configuration from configFile, otherwise get the configuration from pom.xml.
能够在 pom.xml 中完成所有配置。META-INF/maven/plugin.xml 应包含这些配置的描述,这样 IDE 能够进行补全。
Configuration in pom.xml can be inherited , so you do not need to copy a json file for each service , you want to modify a configuration item , you do not need to modify all the json configuration file .
You can get IDE completion.
You can use Maven properties in your configuration.
pom.xml 的配置可以继承,这样就不需要给每一个 service 都拷贝一个 json 文件,想要修改某个配置项时,也不需要修改所有的 json 配置文件了。
可以获得IDE补全。
可以在配置中使用 Maven property。
The text was updated successfully, but these errors were encountered:
@xezzon We initially considered the issue of XML configuration being verbose, especially with the extensive configuration required for smart-doc and some complex structural configurations. Additionally, many community users have multiple environment configurations. Therefore, our future direction is to support YAML format for configuration.
For YAML writing assistance, the community can draw inspiration from the design of plugins like Spring Assistant and develop an IDEA plugin specifically for this purpose. This will provide better support and a more streamlined experience for users working with YAML configurations.
For YAML writing assistance, JSON Schema does the trick nicely.
However YAML is not helpful for the other two requirements - configuring inheritance and using Maven properties. Configuration duplication is worse than verbose XML.
multiple environment configurations I don't understand what is being referred to, and whether Maven profiles would help with the problem.
Summary(关于这个pr的描述,社区已开启国际化推广,请文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
Basic example(pr的用例,社区已开启国际化推广,请文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
Motivation(提出这个pr目的,社区已开启国际化推广,请文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
The text was updated successfully, but these errors were encountered: