Sprint Boot 学习Q&A

[ERROR] Failed to execute goal pl.project13.maven:git-commit-id-plugin:2.1.11:revision (default) on project initializr-service: Could not complete Mojo execution...: Error: NullPointerException -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :initializr-service
View Code
添加插件的version号,和parent pom中的保持一致
 <build>
                <finalName>initializr-service</finalName>
                <plugins>
                        <plugin>
                                <groupId>pl.project13.maven</groupId>
                                <artifactId>git-commit-id-plugin</artifactId>
                                <version>2.1.11</version>

 

posted @ 2017-10-25 17:50  小雨不打伞  阅读(638)  评论(0编辑  收藏  举报