yml配置 app-config: isDev: 1 version: ${ prefix.revision} maven 配置 <!--svn版本号--> <plugin> <groupId>com.google.code.maven-svn-revision-number-plugin