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

When building the dependency graph, maven modules which are not buildable should be ignored

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • maven-plugin
    • None

      Currently only modules which are disabled themselves - i.e. are no longer part of the moduleset - are excluded.
      We should also exclude modules which are not buildable - i.e. whose MavenModuleSets are disabled.

      See MavenModule#buildDependencyGraph()
      for (MavenModule m : Hudson.getInstance().getAllItems(MavenModule.class)) {
      if(m.isDisabled()) continue;

      should be replaced with
      for (MavenModule m : Hudson.getInstance().getAllItems(MavenModule.class)) {
      if(!m.isBuildable()) continue;

          [JENKINS-10367] When building the dependency graph, maven modules which are not buildable should be ignored

          kutzi created issue -
          kutzi made changes -
          Assignee New: kutzi [ kutzi ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Jenkins IRC Bot made changes -
          Component/s New: maven-plugin [ 16033 ]
          Component/s Original: maven2 [ 15487 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 140559 ] New: JNJira + In-Review [ 189121 ]

            kutzi kutzi
            kutzi kutzi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: