Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-54

Scm Wagon not expanding ${user.home}

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-alpha-5
    • 1.0-beta-3
    • wagon-scm
    • None
    • windows xp, maven 2.0.4

    Description

      when trying to deploy a jar to a svn repository , wagon-scm doesn't translate ${user.home} (because of space in the user home's windows path?) and create this directory in the current directory....

      ...
      <distributionManagement>
      <repository>
      <id>svn-repository</id>
      <url>scm:svn:https://deruelle_jean@maven2-repository.dev.java.net/svn/maven2-repository/trunk/repository</url>
      </repository>
      </distributionManagement>
      <extensions>
      <extension>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-scm</artifactId>
      <version>1.0-alpha-5</version>
      </extension>
      </extensions>

      Here is the log :
      [INFO] [deploy:deploy]
      Uploading: scm:svn:https://maven2-repository.dev.java.net/svn/maven2-repository/trunk/repository/org/apache/maven/plugins/maven-slee-du-plugin/1.0/maven-slee-du-plugin-1.0.jar
      [INFO] Working directory: C:\java\java.net\slee-sip-ra\maven-slee-du-plugin\${user.home}\.m2\repository
      [INFO] Command line: svn add --non-recursive ${user.home}/.m2/repository/org
      [INFO] Working directory: C:\java\java.net\slee-sip-ra\maven-slee-du-plugin\${user.home}\.m2\repository\org
      [INFO] Command line: svn add --non-recursive ${user.home}/.m2/repository/org/apache
      [INFO] Working directory: C:\java\java.net\slee-sip-ra\maven-slee-du-plugin\${user.home}\.m2\repository\org\apache
      [INFO] Command line: svn add --non-recursive ${user.home}/.m2/repository/org/apache/maven
      [INFO] Working directory: C:\java\java.net\slee-sip-ra\maven-slee-du-plugin\${user.home}\.m2\repository\org\apache\maven
      [INFO] Command line: svn add --non-recursive ${user.home}/.m2/repository/org/apache/maven/plugins
      [INFO] Working directory: C:\java\java.net\slee-sip-ra\maven-slee-du-plugin\${user.home}\.m2\repository\org\apache\maven\plugins
      [INFO] Command line: svn add --non-recursive ${user.home}/.m2/repository/org/apache/maven/plugins/maven-slee-du-plugin
      [INFO] Working directory: C:\java\java.net\slee-sip-ra\maven-slee-du-plugin\${user.home}\.m2\repository\org\apache\maven\plugins\maven-slee-du-plugin
      [INFO] Command line: svn add --non-recursive ${user.home}/.m2/repository/org/apache/maven/plugins/maven-slee-du-plugin/1.0
      [INFO] Working directory: C:\java\java.net\slee-sip-ra\maven-slee-du-plugin\${user.home}\.m2\repository\org\apache\maven\plugins\maven-slee-du-plugin\1.0
      [INFO] Command line: svn --username deruelle_jean --password L0veSt1nks --non-interactive checkout https://maven2-repository.dev.java.net/svn/maven2-repository/
      trunk/repository/org/apache/maven/plugins/maven-slee-du-plugin/1.0 1.0
      [INFO] Working directory: C:\java\java.net\slee-sip-ra\maven-slee-du-plugin\${user.home}\.m2\repository\org\apache\maven\plugins\maven-slee-du-plugin
      [INFO] Command line: svn --username deruelle_jean --password L0veSt1nks --non-interactive commit --file C:\DOCUME~1\T405732\LOCALS~1\Temp\maven-scm-465347372.commit ${user.home}/.m2/repository/org/apache/maven/plugins/maven-slee-du-plugin/1.0
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Error deploying artifact: Unable to commit file svn: 'C:\java\java.net\slee-sip-ra\maven-slee-du-plugin\${user.home}\.m2\repository\org\apache\maven\plugins\maven-slee-du-plugin\${user.home}\.m2\repository\org\apache\maven\plugins\ma
      ven-slee-du-plugin' is not a working copy

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            brett Brett Porter
            jean.deruelle Jean Deruelle
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment