<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    posts - 110, comments - 101, trackbacks - 0, articles - 7
      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

    The current (8.0-SNAPSHOT) build uses version 1.5 of the maven-svn-revision-number-plugin plugin, when source code has been checked out using a subversion client version 1.7 the build fails with a subversion error because the repository metadata in the working copy is not upward compatible, 
    com.google.code.maven-svn-revision-number-plugin:1.5:maven-svn-revision-number-plugin uses SVNkit 1.3.x which is compatible with subversion 1.6=<

    When the maven-svn-revision-number-plugin is updated to version 1.7 (currently latest release of this plugin) you can specify a commandline option (-Dsvn-revision-number.failOnError=false) to ignore the subversion error and the build completes normally. Note that com.google.code.maven-svn-revision-number-plugin:1.7:maven-svn-revision-number-plugin still relies on svnkit:1.3.5 so the error is still there, the updated plugin just gives an option to ignore it either from the commandline or as a config option.

    出現了這樣的錯誤的時候 是svn版本問題
    由于我的電腦上安裝了客戶端是1.7的版本
    但是pom.xml中使用的是1.6
       <plugin>
        <groupId>com.google.code.maven-svn-revision-number-plugin</groupId>
        <artifactId>maven-svn-revision-number-plugin</artifactId>
        <version>1.6</version>
        <executions>
         <execution>
          <goals>
           <goal>revision</goal>
          </goals>
         </execution>
        </executions>
        <configuration>
         <entries>
          <entry>
           <prefix>SVN</prefix>
          </entry>
         </entries>
        </configuration>
       </plugin>
    在編繹時  出現了上述異常 ,我想可能是版本問題 于是乎我就把pom.xml中maven-svn-revision-number-plugin的<version>1.6</version>改成了<version>1.7</version>
    心想可能問題解決了 沒想到編繹時還是報以上錯誤
    于是在網上狂搜 終于發現了 有人也出現了這樣的問題
    經過實驗發現這個方案靠譜 就記錄下來了 路過的人看到了也可以方便解決問題

    方案:
         當然上面的<version>1.7</version>還是要保留的 因為我的客戶端也是1.7
    然后呢  在編繹的時候  要加入 -Dsvn-revision-number.failOnError=false
    來個完整的 命令:eclipse:eclipse -Dsvn-revision-number.failOnError=false

    就這樣ok了。




    評論

    # re: svn1.7 appears to be part of a Subversion 1.7 or greater working copy. Please upgrade your Subversion client to use this 編繹失敗解決方案[未登錄]  回復  更多評論   

    2013-11-29 13:15 by whl
    在哪里設置這個啊

    # re: svn1.7 appears to be part of a Subversion 1.7 or greater working copy. Please upgrade your Subversion client to use this 編繹失敗解決方案[未登錄]  回復  更多評論   

    2013-11-29 13:18 by whl
    -Dsvn-revision-number.failOnError=false
    來個完整的 命令:eclipse:eclipse -Dsvn-revision-number.failOnError=false

    # re: svn1.7 appears to be part of a Subversion 1.7 or greater working copy. Please upgrade your Subversion client to use this 編繹失敗解決方案  回復  更多評論   

    2013-12-07 00:37 by hello-yun
    使用maven命令打包的時候在命令中加入這段命令 @whl

    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 亚洲国产精品lv| 亚洲综合视频在线观看| 久久久亚洲精华液精华液精华液| 69免费视频大片| 67pao强力打造67194在线午夜亚洲| 久久免费99精品国产自在现线| 亚洲性日韩精品一区二区三区| 欧美亚洲国产SUV| 亚洲av高清在线观看一区二区 | 天天摸天天操免费播放小视频| 亚洲成人黄色在线| 4虎永免费最新永久免费地址| 亚洲最大的视频网站| 曰批视频免费30分钟成人| 亚洲精品国产精品国自产网站 | 日本高清免费不卡在线| 精品亚洲成A人在线观看青青| 免费h黄肉动漫在线观看| 五月天婷婷精品免费视频| 亚洲中文字幕在线观看| 久久精品中文字幕免费| 亚洲天堂一区二区三区四区| 国产一卡二卡3卡四卡免费 | 无套内射无矿码免费看黄| 久久亚洲2019中文字幕| 久久免费观看国产精品88av| 亚洲一区二区三区四区视频| 韩国二级毛片免费播放| 成年大片免费高清在线看黄| 亚洲成AV人片在线观看无| av无码久久久久不卡免费网站| 亚洲成在人线在线播放无码| 亚洲AV无码乱码在线观看性色扶 | 亚洲精品视频在线播放| 免费毛片在线播放| 国产福利在线观看永久免费| 亚洲精品免费在线| 亚洲AV蜜桃永久无码精品| 一级成人a毛片免费播放| 亚洲私人无码综合久久网| 国产成人精品日本亚洲专区61 |