svn1.7 appears to be part of a Subversion 1.7 or greater working copy. Please upgrade your Subversio
2017-06-19 09:35
751 查看
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了。
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了。
相关文章推荐
- 在myeclipse利用ant构建时遇到The path xxx appears to be part of Subversion 1.7 (SVNKit 1.4) or greater解决办法
- eclipse svn -- - --- appears to be part of a subversion 1.7 or greater....解决方法
- Idea 或eclipse报错: appears to be part of Subversion 1.7 (SVNKit 1.4) or greater
- your working copy appears to be locked Run Cleanup to amend the situation
- SVN appears to be part of a Subversion解决方法
- SVN appears to be part of a Subversion 问题心得
- The working copy xxxx needs to be upgraded to Subversion 1.7.
- 布置Git环境Your working copy is out of date. Try pulling from the remote to get the latest change
- The Behavior version of the Forest is 0 it must be 2 or greater to perform a domain rename: 该服务器不愿意处理该请求。 :8245
- Xcode4 布置Git环境Your working copy is out of date. Try pulling from the remote to get the latest change
- Row index must be greater than or equal to zero and less than the number of rows.
- System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list
- Git出现error: Your local changes to the following files would be overwritten by merge: ... Please, commit your changes or stash them before you can merge.的问题解决(Git代码冲突)
- Git出现error: Your local changes to the following files would be overwritten by merge: ... Please, commit your changes or stash them before you can merge.的问题解决(Git代码冲突)
- 关于Your dtc is too old, please upgrade to dtc 1.4 or newer的解决方法
- Hudson/Jenkins -- 消除svn警告: "clock of the subversion server appears to be out of sync"
- eclipse svn 插件 版本升级 解决 downgrading your Subversion client to use this working copy 的错误
- 奇葩问题:This file could not be checked in because the original version of the file on the server was moved or deleted. A new version of this file has been saved to the server, but your check-in comments were not saved
- Xcode4 布置Git环境Your working copy is out of date. Try pulling from the remote to get the latest change
- "Your computer could not be joined to the domain. You have exceeded the maximum number of computer accounts you are allowed to create in this domain. Contact your system administrator to have this limit reset or increased."