Uploaded image for project: 'Maven Antrun Plugin'
  1. Maven Antrun Plugin
  2. MANTRUN-95

Plugin classpath problem in multi module maven project

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • WindowsXP Pro
      jdk1.5.0_11
      MAVEN 2.0.9

    Description

      We have a pom.xml with <modules> :
      <modules>
      <module>./Module1</module>
      <module>./Module2</module>
      </modules>

      In Module1 we use the define <dependencies>.
      In Module2 we also define <dependencies> for maven-antrun-plugin with other <dependency>.

      Problem when we display <echo message="plugin classpath: ${plugin_classpath}" />, in Module2 we have the classpath of the Module1.

      The only workaround is to add specific <dependency> of Module2, in Module1 (for the maven-antrun-plugin plugin).

      It looks like the plugin classpath is not updated for each Module.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              isterm Alexandre GIGLEUX
              Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: