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

Module-by-Profile seems to break plugin dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.6
    • None
    • Dependencies
    • None
    • jdk1.4

    Description

      Using Module-by-Profile i ran into a problem with dependencies. My pom looks like this:

      <profiles>
      <profile>
      <id>default</id>
      <activation>
      <activeByDefault>true</activeByDefault>
      </activation>
      <modules>
      <module>module1</module>
      <module>module2</module>
      <module>module3</module>
      </modules>
      </profile>
      <profile>
      <id>integration</id>
      <modules>
      <module>module1</module>
      <module>module2</module>
      <module>module3</module>
      <module>integration</module>
      </modules>
      </profile>
      </profiles>

      The integration module runs the integration tests.

      The integration module contain an antrun plugin.

      Running the build on the integration module only works fine.

      Running it from the parent project using the integration profile breaks the build. The problem is that the plugin dependencies are not accessible to the ant build files (and therefore, i suppose, to the plugin).

      Attachments

        Issue Links

          Activity

            People

              brett Brett Porter
              daniel.takai Daniel Takai
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: