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

Plugin extensions (dependencies) not resolved in reactor build

    XMLWordPrintableJSON

Details

    Description

      I've added a dependency on an Ant Task in project/build/plugins/plugin[artifactId='maven-antrun-plugin']/dependencies/ and run that anttask using the antrun plugin.

      When run from the project dir itself it runs fine.
      When running from the root of the project tree (reactor build, project one level below root),
      antrun bails out because the taskdef can't be found (not on classpath).

      It looks like the dependency isn't resolved, or not added to the plugins' classrealm.

      Attachments

        1. two-antruns.zip
          6 kB
          John Dennis Casey
        2. MNG-1323-core-integration-tests-3.diff
          34 kB
          Piotr Tabor
        3. MNG1323-maven-core-2.1.diff
          29 kB
          Piotr Tabor
        4. MNG-1323-core-integration-testing-2.diff
          14 kB
          Piotr Tabor
        5. MNG-1323-core-integration-testing.diff
          13 kB
          Piotr Tabor
        6. MNG-1323-components-2.0.x.diff
          55 kB
          Piotr Tabor
        7. MNG-1323-core-integration-tests.diff
          13 kB
          Piotr Tabor

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kenney Kenney Westerhof
              Votes:
              60 Vote for this issue
              Watchers:
              35 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: