我是靠谱客的博主 俊秀洋葱,这篇文章主要介绍Maven解决: Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin,现在分享给大家,希望可以做个参考。

[ERROR] Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.0-beta-4:create (default) on project shiro-root: Cannot get the revision information from the scm repository :

 

解决:搜索插件:buildnumber-maven-plugin 注释掉类似下面的代码

 

 

<plugin>
                <!-- Add SVN Revision To A JAR Manifest
                     - http://maven.apache.org/plugin-developers/cookbook/add-svn-revision-to-manifest.html
                -->
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>buildnumber-maven-plugin</artifactId>
                <version>1.0-beta-4</version>
                <executions>
                    <execution>
                        <phase>validate</phase>
                        <goals>
                            <goal>create</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <doCheck>false</doCheck>
                    <doUpdate>false</doUpdate>
                </configuration>
            </plugin>

最后

以上就是俊秀洋葱最近收集整理的关于Maven解决: Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin的全部内容,更多相关Maven解决:内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(46)

评论列表共有 0 条评论

立即
投稿
返回
顶部