Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-2151

classpath used to build a module affects compile classpath for building another module

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.3
    • None
    • General
    • None

    Description

      Here's my project layout:

      daytrader/
      ejb/
      streamer/

      where streamer depends on the ejb-client produced by the ejb/ build.

      If I do a "mvn install" in daytrader/ the build works. If I do it in streamer/ it fails.

      After investigation the problem was that the ejb-client produced by the ejb module was excluding by default a class required to compile streamer/.

      The build when run at the top level should have failed when building the streamer/ module.

      Attachments

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: