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

Doesn't make use of the local repository in global settings.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.0-alpha-2, 1.0-alpha-3, 1.0-alpha-4, 1.0-alpha-5, 1.0-alpha-6, 1.0-alpha-7, 1.0-beta-1
    • None
    • wagon-scm
    • None
    • windows xp, maven 2.0.4

    Description

      when trying to deploy a jar to a svn repository , wagon-scm continues to use the standard local repository location instead of the one located in M2_HOME/conf/setting.xml.

      ...
      <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

          People

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

            Dates

              Created:
              Updated:
              Resolved: