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

maven-git-versioning-extension causes warnings due to temporary pom.xml file name '.git-versioned.pom.xml'

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: pipeline-maven-plugin
    • Labels:
      None
    • Environment:
      Pipeline Maven Integration 3.6.7
    • Similar Issues:

      Description

      We use the Maven git versioning extension from here
      https://github.com/qoomon/maven-git-versioning-extension

      Very usefull when working with feature branches.

      This produces the following warning:

      [2019-03-21T16:32:15.753Z] [WARNING] [jenkins-event-spy] Unexpected Maven project file name '.git-versioned-pom.xml', problems may occur
      [2019-03-21T16:32:15.753Z] [WARNING] [jenkins-event-spy] Unexpected Maven project file name '.git-versioned-pom.xml', problems may occur
      

      Would be great to get rid of the warning because I get this warning 100 times per build

        Attachments

          Activity

          Hide
          reitzmichnicht Michael Düsterhus added a comment -

          Sorry hat no time before to test.
          I tried version 3.6.11 and the error is still the same.
          Did you consider that this plugin modifies the pom.xml to target/.git-versioned.pom.xml
          So its not in the same directory.

          Show
          reitzmichnicht Michael Düsterhus added a comment - Sorry hat no time before to test. I tried version 3.6.11 and the error is still the same. Did you consider that this plugin modifies the pom.xml to target/.git-versioned.pom.xml So its not in the same directory.
          Hide
          cleclerc Cyrille Le Clerc added a comment - - edited

          Michael Düsterhus can you please share the exact message you get?
          Can you give us details on the type of build agent that you are using? Can you confirm that you don't ue Windows build agents with cygwin (or equivalent)?

          Show
          cleclerc Cyrille Le Clerc added a comment - - edited Michael Düsterhus can you please share the exact message you get? Can you give us details on the type of build agent that you are using? Can you confirm that you don't ue Windows build agents with cygwin (or equivalent)?
          Hide
          reitzmichnicht Michael Düsterhus added a comment -

          We use maven inside linux docker container with sh step.
          Exact message is:

          00:04:18.285  [WARNING] [jenkins-event-spy] Unexpected Maven project file name '.git-versioned-pom.xml', problems may occur
          00:04:18.285  [WARNING] [jenkins-event-spy] Unexpected Maven project file name '.git-versioned-pom.xml', problems may occur
          
          Show
          reitzmichnicht Michael Düsterhus added a comment - We use maven inside linux docker container with sh step. Exact message is: 00:04:18.285 [WARNING] [jenkins-event-spy] Unexpected Maven project file name '.git-versioned-pom.xml', problems may occur 00:04:18.285 [WARNING] [jenkins-event-spy] Unexpected Maven project file name '.git-versioned-pom.xml', problems may occur
          Hide
          reitzmichnicht Michael Düsterhus added a comment -

          Is working now with 3.6.14. Seems like the file name changed between the versions of the extensions plugin.
          Thank you very much

          Show
          reitzmichnicht Michael Düsterhus added a comment - Is working now with 3.6.14. Seems like the file name changed between the versions of the extensions plugin. Thank you very much
          Hide
          cleclerc Cyrille Le Clerc added a comment - - edited

          Thanks Michael Düsterhus

          Fixed in 3.6.14

          Show
          cleclerc Cyrille Le Clerc added a comment - - edited Thanks Michael Düsterhus Fixed in 3.6.14

            People

            • Assignee:
              cleclerc Cyrille Le Clerc
              Reporter:
              reitzmichnicht Michael Düsterhus
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: