`
wenjinglian
  • 浏览: 822279 次
  • 性别: Icon_minigender_1
  • 来自: 株洲->深圳
社区版块
存档分类
最新评论

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>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics