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

Maven 2/3 Projekt bauen JOB type ignores the libraries in MAVEN_HOME/lib/ext folder

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • None

      If I have a Maven 2/3 project, and in my maven I have external libraries in lib/ext folder, they are not put on to the classpath of maven when it comes to run Maven.

          [JENKINS-20092] Maven 2/3 Projekt bauen JOB type ignores the libraries in MAVEN_HOME/lib/ext folder

          If I copy the libs into the MAVEN_HOME/lib folder, then they are loaded. This is a known workaround.

          Gábor Lipták added a comment - If I copy the libs into the MAVEN_HOME/lib folder, then they are loaded. This is a known workaround.

          Hope the fix is really that easy, I sent a pull request: https://github.com/jenkinsci/maven-interceptors/pull/3
          In the meantime, the fix can be integrated as described here: https://groups.google.com/forum/#!topic/jenkinsci-users/InTM6LN43aU

          Roger Brechbühl added a comment - Hope the fix is really that easy, I sent a pull request: https://github.com/jenkinsci/maven-interceptors/pull/3 In the meantime, the fix can be integrated as described here: https://groups.google.com/forum/#!topic/jenkinsci-users/InTM6LN43aU

          Code changed in jenkins
          User: rotscher
          Path:
          maven3-agent/src/main/resources/org/jvnet/hudson/maven3/agent/classworlds.conf
          maven31-agent/src/main/resources/jenkins/maven3/agent/classworlds.conf
          http://jenkins-ci.org/commit/maven-interceptors/d8b14b6d2daf6a109240cbf46f6b5fd6a96a3458
          Log:
          JENKINS-20092 optionally add M2_HOME/lib/ext for Maven3

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: rotscher Path: maven3-agent/src/main/resources/org/jvnet/hudson/maven3/agent/classworlds.conf maven31-agent/src/main/resources/jenkins/maven3/agent/classworlds.conf http://jenkins-ci.org/commit/maven-interceptors/d8b14b6d2daf6a109240cbf46f6b5fd6a96a3458 Log: JENKINS-20092 optionally add M2_HOME/lib/ext for Maven3

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          maven3-agent/src/main/resources/org/jvnet/hudson/maven3/agent/classworlds.conf
          maven31-agent/src/main/resources/jenkins/maven3/agent/classworlds.conf
          http://jenkins-ci.org/commit/maven-interceptors/142041fa53ce0a31be0f9551609217bdfe15bdd3
          Log:
          Merge pull request #3 from rotscher/JENKINS-20092_M2-lib-ext-folder

          JENKINS-20092 optionally add M2_HOME/lib/ext for Maven3

          Compare: https://github.com/jenkinsci/maven-interceptors/compare/460b4d955a03...142041fa53ce

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: maven3-agent/src/main/resources/org/jvnet/hudson/maven3/agent/classworlds.conf maven31-agent/src/main/resources/jenkins/maven3/agent/classworlds.conf http://jenkins-ci.org/commit/maven-interceptors/142041fa53ce0a31be0f9551609217bdfe15bdd3 Log: Merge pull request #3 from rotscher/ JENKINS-20092 _M2-lib-ext-folder JENKINS-20092 optionally add M2_HOME/lib/ext for Maven3 Compare: https://github.com/jenkinsci/maven-interceptors/compare/460b4d955a03...142041fa53ce

          dogfood added a comment -

          Integrated in maven-interceptors #1369
          JENKINS-20092 optionally add M2_HOME/lib/ext for Maven3 (Revision d8b14b6d2daf6a109240cbf46f6b5fd6a96a3458)

          Result = SUCCESS
          info :
          Files :

          • maven31-agent/src/main/resources/jenkins/maven3/agent/classworlds.conf
          • maven3-agent/src/main/resources/org/jvnet/hudson/maven3/agent/classworlds.conf

          dogfood added a comment - Integrated in maven-interceptors #1369 JENKINS-20092 optionally add M2_HOME/lib/ext for Maven3 (Revision d8b14b6d2daf6a109240cbf46f6b5fd6a96a3458) Result = SUCCESS info : Files : maven31-agent/src/main/resources/jenkins/maven3/agent/classworlds.conf maven3-agent/src/main/resources/org/jvnet/hudson/maven3/agent/classworlds.conf

            rotscher Roger Brechbühl
            gabor_liptak Gábor Lipták
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: