You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Martin West (JIRA)" <ji...@codehaus.org> on 2009/01/02 12:28:19 UTC

[jira] Created: (MNG-3950) With multiple modules using the same plugin later invocations of the plugin are not initialized

With multiple modules using the same plugin later invocations of the plugin are not initialized
-----------------------------------------------------------------------------------------------

                 Key: MNG-3950
                 URL: http://jira.codehaus.org/browse/MNG-3950
             Project: Maven 2
          Issue Type: Bug
         Environment: All
            Reporter: Martin West


In Module A I have an invocation of the antrun plugin. In module B I have another invocation of antrun but this plugin has an additional dependency on ant-contrib. If I run mvn in the root of the project I get a taskdef not found error from ant because the additional dependency is not on the classpath for the invocation in module B.

Embedded error: The following error occurred while executing this line:
/data/workspaces/workspace/MoleTracker/uberjar/build.xml:20: Could not create task or type of type: foreach.

If I run mvn -f moduleB/pom.xml it runs fine.

workaround is to configure all plugin configurations the same but this seems a tad ham fisted.

I assume this is a general fault for all plugins.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MNG-3950) With multiple modules using the same plugin later invocations of the plugin are not initialized

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MNG-3950.
----------------------------------

      Assignee: Benjamin Bentmann
    Resolution: Duplicate

> With multiple modules using the same plugin later invocations of the plugin are not initialized
> -----------------------------------------------------------------------------------------------
>
>                 Key: MNG-3950
>                 URL: http://jira.codehaus.org/browse/MNG-3950
>             Project: Maven 2
>          Issue Type: Bug
>         Environment: All
>            Reporter: Martin West
>            Assignee: Benjamin Bentmann
>
> In Module A I have an invocation of the antrun plugin. In module B I have another invocation of antrun but this plugin has an additional dependency on ant-contrib. If I run mvn in the root of the project I get a taskdef not found error from ant because the additional dependency is not on the classpath for the invocation in module B.
> Embedded error: The following error occurred while executing this line:
> /data/workspaces/workspace/MoleTracker/uberjar/build.xml:20: Could not create task or type of type: foreach.
> If I run mvn -f moduleB/pom.xml it runs fine.
> workaround is to configure all plugin configurations the same but this seems a tad ham fisted.
> I assume this is a general fault for all plugins.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira