[ 
http://jira.codehaus.org/browse/MNG-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237636#action_237636
 ] 

Brett Porter commented on MNG-1911:
-----------------------------------

I didn't investigate enough originally, and the attached IT isn't complete to 
test this. This wasn't fixed in 2.2.1 - it doesn't actually load the extension, 
as it never ended up in the effective POM. Maven 3 now does that, and attempts 
to load the extension, which is not built.

The workaround to this, if suitable, is to use an older version of the plugin 
to use throughout the build.


> Building plugins with extensions in a reactor fails
> ---------------------------------------------------
>
>                 Key: MNG-1911
>                 URL: http://jira.codehaus.org/browse/MNG-1911
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Plugins and Lifecycle
>    Affects Versions: 2.0.1
>            Reporter: Guillaume Nodet
>            Priority: Critical
>             Fix For: 3.1
>
>         Attachments: MNG-1911.zip
>
>
> I have the following in my main pom
> <build>
> <pluginManagement>
> <plugins>
> <plugin>
> <groupId>org.apache.servicemix.plugins</groupId>
> <artifactId>maven2-jbi-plugin</artifactId>
> <version>1.0-SNAPSHOT</version>
> <extensions>true</extensions>
> </plugin>
> </plugins>
> </pluginManagement>
> </build>
> If i try to add it to the modules, the first time, maven complains that it 
> can not download the plugin.
> If i remove the <extensions> tag, all works, but i need it :)

-- 
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

        

Reply via email to