Maven 1.x Multi-Project Plugin
  1. Maven 1.x Multi-Project Plugin
  2. MPMULTIPROJECT-70

Multiproject plugin not using dependencies when maven.jar.override = on

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 2000 Professional. Maven 1.1. Beta 3.
    • Number of attachments :
      1

      Description

      When using the multiproject plugin with a project with multiple projects, dependencies defined in projectbase.xml, and all projects that have a project.xml file extend from projectbase.xml. If maven.jar.override = on is specified and the correct overridden jar artifactId is present then when running the test goal for a project from within multiproject, dependencies are given to unit tests that are run.

      Please see attached zip file for more detailed information. When using attached file, please place the contents of "local_repo" into your local repository for a successful test run/workaround to provide proof of working vs. nonworking.

      The only workaround I've found is to take the jars that are depended upon and place them into the local repository and depend on them as regular dependencies and take out maven.jar.override. However, this doesn't necessarily solve the problem that if you have a vendor jar that you can't place in ibiblio or a remote repository without setting up a maven repository server such as proximity or continuum.

      I will try to provide a test in the future.

        Activity

        Hide
        Michael Osipov added a comment -

        Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

        Show
        Michael Osipov added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

          People

          • Assignee:
            Unassigned
            Reporter:
            Matthew Purland
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: