maven nexus release版本老报错

[INFO] Downloaded: http://192.168.21.199:8081/nexus/content/groups/public/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar (422 KB at 2340.5 KB/sec)
[INFO]

[INFO] Downloaded: http://192.168.21.199:8081/nexus/content/groups/public/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar (25 KB at 308.5 KB/sec)
[INFO] [INFO] Packaging webapp
[INFO] [INFO] Assembling webapp [resolveexcel] in [/home/zhuyong/workspace/resolveexcel/target/resolveexcel]
[INFO] [INFO] Processing war project
[INFO] [INFO] Copying webapp webResources [/home/zhuyong/workspace/resolveexcel/WebContent] to [/home/zhuyong/workspace/resolveexcel/target/resolveexcel]
[INFO] [INFO] Webapp assembled in [109 msecs]
[INFO] [INFO] Building war: /home/zhuyong/workspace/resolveexcel/target/resolveexcel.war
[INFO] [INFO] WEB-INF/web.xml already added, skipping
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD SUCCESS
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 9.625s
[INFO] [INFO] Finished at: Sun Jan 26 16:48:10 CST 2014
[INFO] [INFO] Final Memory: 12M/30M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] Checking in modified POMs...
[INFO] Executing: /bin/sh -c cd /home/zhuyong/workspace/resolveexcel && svn --non-interactive commit --file /tmp/maven-scm-679551824.commit --targets /tmp/maven-scm-3437704661245412224-targets
[INFO] Working directory: /home/zhuyong/workspace/resolveexcel
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.575s
[INFO] Finished at: Sun Jan 26 16:48:10 CST 2014
[INFO] Final Memory: 7M/18M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.4.2:prepare (default-cli) on project resolveexcel: Unable to commit files
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] svn: E155007: '/home/zhuyong/workspace/resolveexcel/pom.xml' is not a working copy
[ERROR] -> [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:

大神求解决方法。svn版本都一致。我在同一服务器的不同用户下 Release的。但老报上面的错误。。。啊啊啊啊啊

1个回答

这個看上去和 Nexus 貌似没有什么关联关系,纯粹是你的 SVN 本地客户端上出现了版本混乱,目前/home/zhuyong/workspace/resolveexcel/pom.xml是你本地的吧,建议把和这個目录有关的文件或者文件夹仔细查下,或者在各层目录上做下clean up后再重新update,确保 SVN 的各项操作没有问题之后,最后再试试编译能不能通过。

zy19880406
zy19880406 感谢你的回答。我突然发现 我用的svn export 命令。所有没有.svn这个目录。release后提交 错误。
接近 6 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!