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

In Maven2 jobs, alternative settings path is resolved against root pom path instead of workspace root

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

      It seems that alternative settings relative path that I provide to maven2 jobs is not resolved relatively to the workspace root (as described in help panel) but rather relatively to the root pom location.

          [JENKINS-5886] In Maven2 jobs, alternative settings path is resolved against root pom path instead of workspace root

          Andrew Bayer added a comment -

          I believe this is actually fixed in 1.350.

          Andrew Bayer added a comment - I believe this is actually fixed in 1.350.

          Vincent Latombe added a comment - - edited
          • When parsing POM, the path is resolved relatively to the module root
          • Then, when mvn is called, the path is resolved relatively to the workspace root (which is correct)

          In any case, currently I cannot find a setting where the value is correct.

          Vincent Latombe added a comment - - edited When parsing POM, the path is resolved relatively to the module root Then, when mvn is called, the path is resolved relatively to the workspace root (which is correct) In any case, currently I cannot find a setting where the value is correct.

          I upgraded to 1.352 and the problem persists.

          Vincent Latombe added a comment - I upgraded to 1.352 and the problem persists.

            Unassigned Unassigned
            vlatombe Vincent Latombe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: