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'

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • pipeline-maven-plugin
    • None
    • Pipeline Maven Integration 3.6.7

      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

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

          Michael Düsterhus created issue -

          With update of this extension to version 4.0.3 the problem is solved, because the pom is moved to the target folder.

          Michael Düsterhus added a comment - With update of this extension to version 4.0.3 the problem is solved, because the pom is moved to the target folder.
          Cyrille Le Clerc made changes -
          Assignee Original: Alvaro Lobato [ alobato ] New: Cyrille Le Clerc [ cleclerc ]

          reitzmichnicht can we mark this issue as fixed by the bump of https://github.com/qoomon/maven-git-versioning-extension to version 4.0.3+ ?

          Cyrille Le Clerc added a comment - reitzmichnicht can we mark this issue as fixed by the bump of https://github.com/qoomon/maven-git-versioning-extension to version 4.0.3+ ?

          Hi Cyrille,

          sadly the extensions changed its behavior again with release 4.1.0, now there is a .git-versioned.pom.xml generated in the target folder.
          Would be great to have a fix for it because this is one of the best maven things I found in the last year.

          Kind regards,
          Michael

          Michael Düsterhus added a comment - Hi Cyrille, sadly the extensions changed its behavior again with release 4.1.0, now there is a .git-versioned.pom.xml generated in the target folder. Would be great to have a fix for it because this is one of the best maven things I found in the last year. Kind regards, Michael
          Cyrille Le Clerc made changes -
          Summary Original: Maven versioning extension produces warnings New: Maven versioning extension produces warnings due to temporary pom.xml file name '.git-versioned.pom.xml'
          Cyrille Le Clerc made changes -
          Summary Original: Maven versioning extension produces warnings due to temporary pom.xml file name '.git-versioned.pom.xml' New: maven-git-versioning-extension causes warnings due to temporary pom.xml file name '.git-versioned.pom.xml'

          Cyrille Le Clerc added a comment - reitzmichnicht could you build and test  https://github.com/jenkinsci/pipeline-maven-plugin/tree/JENKINS-56666  ? Cyrille

          Will try in the next days

          Michael Düsterhus added a comment - Will try in the next days
          Cyrille Le Clerc made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

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

              Created:
              Updated:
              Resolved: