[ http://jira.codehaus.org/browse/MNG-1911?page=comments#action_68878 ] 

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

The current Geronimo build has the same problem. Order of build doesn't matter 
- it just needs to be used somewhere as the extensions are pre-loaded.

Workaround is to deploy a snapshot of the plugin so that Maven downloads the 
snapshot, uses that to load the extensions, builds the plugin, then reloads the 
new plugin when it is used.

> Building plugins with extensions in a reactor fails
> ---------------------------------------------------
>
>          Key: MNG-1911
>          URL: http://jira.codehaus.org/browse/MNG-1911
>      Project: Maven 2
>         Type: Bug

>     Versions: 2.0.1
>     Reporter: Guillaume Nodet
>     Priority: Critical
>      Fix For: 2.0.5

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