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

m2 build - no dependencies found means nothing built

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • maven-plugin
    • None
    • Platform: All, OS: All

      I've found why my project doesn't build as expected.

      Our project layout has a root-level pom file (describing a particular module
      configuration), that declares modules underneath it to be built.

      Each of the modules are included in the directory structure by an svn:external
      definition in the directory.

      Each of the modules has a parent that is NOT the root-level pom, but that of a
      corporate pom (this is a common m2 build structure).

      When the project is examined by hudson, it reports that the root-level pom has
      no downstream projects (and therefore when the build is started from a detected
      change, very little happens).

      I can't add a dependency between a module and the root-pom because there are
      many root-level poms with different build configurations (and there is no such
      dependency). I think hudson needs to add these child modules as build dependencies.

          [JENKINS-485] m2 build - no dependencies found means nothing built

          magnayn created issue -

          Fixed in 1.104.

          Kohsuke Kawaguchi added a comment - Fixed in 1.104.
          Kohsuke Kawaguchi made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Jenkins IRC Bot made changes -
          Component/s New: maven-plugin [ 16033 ]
          Component/s Original: maven2 [ 15487 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 130558 ] New: JNJira + In-Review [ 199921 ]

            Unassigned Unassigned
            magnayn magnayn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: