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

Allow to automatically trigger jobs when a project import the dependencyManagement of another

    Details

    • Type: New Feature
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: maven-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Let's take 2 maven projects A and B deploying their SNAPSHOTs with 2 jenkins jobs.
      If B imports the dependencyManagement of a pom from A (using the scope import), when A succeed we should be able to have an automatic triggering of B build (like for a classical dependency)

        Attachments

          Activity

          aheritier Arnaud Héritier created issue -
          Hide
          ygirard Yvan Girard added a comment -

          We are in process to modify all our maven projects to use DependencyManagement and imported BOM.
          We are also using Jenkins and we have issue the same issue as described in JENKINS-15883 (ref https://issues.jenkins-ci.org/browse/JENKINS-15883).

          There is any development on this or a workaround?

          Show
          ygirard Yvan Girard added a comment - We are in process to modify all our maven projects to use DependencyManagement and imported BOM. We are also using Jenkins and we have issue the same issue as described in JENKINS-15883 (ref https://issues.jenkins-ci.org/browse/JENKINS-15883 ). There is any development on this or a workaround?
          rtyler R. Tyler Croy made changes -
          Field Original Value New Value
          Workflow JNJira [ 146685 ] JNJira + In-Review [ 176678 ]
          Hide
          papercrane Justin Patrin added a comment -

          I've submitted a pull request to fix this.
          https://github.com/jenkinsci/maven-plugin/pull/103

          I'm honestly surprised that nobody has fixed it yet as the change is actually fairly minimal. Once I found smartics NoSnapshotsInDependencyManagementRule I had the fix made fairly quickly.

          Show
          papercrane Justin Patrin added a comment - I've submitted a pull request to fix this. https://github.com/jenkinsci/maven-plugin/pull/103 I'm honestly surprised that nobody has fixed it yet as the change is actually fairly minimal. Once I found smartics NoSnapshotsInDependencyManagementRule I had the fix made fairly quickly.
          Hide
          aheritier Arnaud Héritier added a comment -
          Show
          aheritier Arnaud Héritier added a comment - Fixed in 3.0 by  https://github.com/jenkinsci/maven-plugin/pull/103
          aheritier Arnaud Héritier made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              olamy Olivier Lamy
              Reporter:
              aheritier Arnaud Héritier
            • Votes:
              8 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: