Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-1088

settings.xml not read by m2 project

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: maven-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      As per comments in Issue 347,
      There should be an option to specify a custom settings.xml.
      But I have found that the maven started for a m2 project neither reads
      $M2_HOME/conf/settings.xml nor does it read $HOME/.m2/settings.xml nor does
      it provide any option to specify a settings.xml.

        Attachments

          Issue Links

            Activity

            bhaskarvk bhaskarvk created issue -
            Hide
            kohsuke Kohsuke Kawaguchi added a comment -
                • Issue 1661 has been marked as a duplicate of this issue. ***
            Show
            kohsuke Kohsuke Kawaguchi added a comment - Issue 1661 has been marked as a duplicate of this issue. ***
            kohsuke Kohsuke Kawaguchi made changes -
            Field Original Value New Value
            Link This issue is duplicated by JENKINS-1661 [ JENKINS-1661 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in hudson
            User: : kohsuke
            Path:
            trunk/hudson/main/core/src/main/java/hudson/maven/AbstractMavenProject.java
            trunk/hudson/main/core/src/main/java/hudson/maven/MavenEmbedder.java
            trunk/hudson/main/core/src/main/java/hudson/maven/MavenModule.java
            trunk/hudson/main/core/src/main/java/hudson/maven/MavenModuleSet.java
            trunk/hudson/main/core/src/main/java/hudson/maven/MavenModuleSetBuild.java
            trunk/hudson/main/core/src/main/java/hudson/maven/MavenUtil.java
            trunk/hudson/main/core/src/main/java/hudson/maven/RedeployPublisher.java
            trunk/hudson/main/core/src/main/java/hudson/maven/reporters/MavenAbstractArtifactRecord.java
            trunk/hudson/main/core/src/main/java/hudson/maven/reporters/MavenArtifactRecord.java
            trunk/hudson/main/core/src/main/java/hudson/model/Project.java
            trunk/hudson/main/core/src/main/java/hudson/tasks/Maven.java
            trunk/www/changelog.html
            http://fisheye4.cenqua.com/changelog/hudson/?cs=10773
            Log:
            [FIXED JENKINS-1088] Reader $M2_HOME/conf/settings.xml. In 1.235.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/maven/AbstractMavenProject.java trunk/hudson/main/core/src/main/java/hudson/maven/MavenEmbedder.java trunk/hudson/main/core/src/main/java/hudson/maven/MavenModule.java trunk/hudson/main/core/src/main/java/hudson/maven/MavenModuleSet.java trunk/hudson/main/core/src/main/java/hudson/maven/MavenModuleSetBuild.java trunk/hudson/main/core/src/main/java/hudson/maven/MavenUtil.java trunk/hudson/main/core/src/main/java/hudson/maven/RedeployPublisher.java trunk/hudson/main/core/src/main/java/hudson/maven/reporters/MavenAbstractArtifactRecord.java trunk/hudson/main/core/src/main/java/hudson/maven/reporters/MavenArtifactRecord.java trunk/hudson/main/core/src/main/java/hudson/model/Project.java trunk/hudson/main/core/src/main/java/hudson/tasks/Maven.java trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=10773 Log: [FIXED JENKINS-1088] Reader $M2_HOME/conf/settings.xml. In 1.235.
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            abayer Andrew Bayer made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            ircbot Jenkins IRC Bot made changes -
            Component/s maven-plugin [ 16033 ]
            Component/s maven2 [ 15487 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 131161 ] JNJira + In-Review [ 200431 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              bhaskarvk bhaskarvk
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: