Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/98.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Svn 发布到远程存储maven发布:准备错误-pom.xml不是工作文件夹_Svn_Maven Release Plugin - Fatal编程技术网

Svn 发布到远程存储maven发布:准备错误-pom.xml不是工作文件夹

Svn 发布到远程存储maven发布:准备错误-pom.xml不是工作文件夹,svn,maven-release-plugin,Svn,Maven Release Plugin,嘿,伙计们,我正在尝试执行一个简单的mvn版本。我创建了一个简单的maven项目。我只有一个默认的hello世界级。当我尝试表演的时候 mvn发布:prepare-Dresume=false-Dusername=abc-Dpassword=xxx-DtagBase= 我得到以下错误 [INFO] [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ test --- [INFO] [INFO] Building jar: D:\ESM-Eve

嘿,伙计们,我正在尝试执行一个简单的mvn版本。我创建了一个简单的maven项目。我只有一个默认的hello世界级。当我尝试表演的时候 mvn发布:prepare-Dresume=false-Dusername=abc-Dpassword=xxx-DtagBase=

我得到以下错误

[INFO] [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ test ---
[INFO] [INFO] Building jar: D:\ESM-Everything\test\target\test-1.0.jar
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD SUCCESS
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 1.909s
[INFO] [INFO] Finished at: Fri Sep 27 17:53:08 IST 2013
[INFO] [INFO] Final Memory: 17M/153M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] Checking in modified POMs...
[INFO] Executing: cmd.exe /X /C "svn --username abhishekamte --password ***** --
no-auth-cache --non-interactive commit --file C:\Users\Abhishek\AppData\Local\Te
mp\maven-scm-508381318.commit --targets C:\Users\Abhishek\AppData\Local\Temp\mav
en-scm-8110447143629106448-targets"
[INFO] Working directory: D:\ESM-Everything\test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.355s
[INFO] Finished at: Fri Sep 27 17:53:09 IST 2013
[INFO] Final Memory: 11M/121M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.4
.1:prepare (default-cli) on project test: Unable to commit files
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] svn: E155007: 'D:\ESM-Everything\test\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 swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
这是pom文件

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>com.testrelease</groupId>
  <artifactId>test</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>jar</packaging>

  <name>test</name>
  <url>http://maven.apache.org</url>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>

  <build>
  <plugins>
  <plugin>
   <groupId>org.apache.maven.plugins</groupId>
   <artifactId>maven-release-plugin</artifactId>
   <version>2.4.1</version>
   <configuration>
      <tagNameFormat>v1.0</tagNameFormat>
      <autoVersionSubmodules>true</autoVersionSubmodules>
      <releaseProfiles>releases</releaseProfiles>
   </configuration>
</plugin>
  </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <distributionManagement>

        <repository>
            <id>deployment</id>
            <name>Internal Releases</name>
            <url>http://nexus-mvnrepo.rhcloud.com/nexus/content/repositories/releases/</url>
        </repository>
        <snapshotRepository>
            <id>deployment</id>
            <name>Internal Releases</name>
            <url>http://nexus-mvnrepo.rhcloud.com/nexus/content/repositories/snapshots/</url>
        </snapshotRepository>
    </distributionManagement>

    <scm>
        <connection>scm:svn:svn://subversion.assembla.com/svn/e-m-s/trunks/</connection>
        <developerConnection>scm:svn:svn://subversion.assembla.com/svn/e-m-s/trunks/</developerConnection>
        <url>svn://subversion.assembla.com/svn/e-m-s/trunks/</url>
    </scm> 


</project>

4.0.0
com.testrelease
测试
1.0-快照
罐子
测试
http://maven.apache.org
UTF-8
org.apache.maven.plugins
maven发布插件
2.4.1
v1.0
真的
释放
朱尼特
朱尼特
3.8.1
测试
部署
内部释放
http://nexus-mvnrepo.rhcloud.com/nexus/content/repositories/releases/
部署
内部释放
http://nexus-mvnrepo.rhcloud.com/nexus/content/repositories/snapshots/
scm:svn:svn://subversion.assembla.com/svn/e-m-s/trunks/
scm:svn:svn://subversion.assembla.com/svn/e-m-s/trunks/
svn://subversion.assembla.com/svn/e-m-s/trunks/
我在谷歌上搜索了所有的解决方案,但没有办法解决这个问题。 谢谢