Bug that can't be fixed without breaking backwards compatibility. Check
out Andy Glick's post to the dev list recently - I haven't reviewed it
yet, but it was meant to document this.

- Brett

[EMAIL PROTECTED] wrote:

>Author: aheritier
>Date: Thu Sep 22 07:24:54 2005
>New Revision: 290949
>
>URL: http://svn.apache.org/viewcvs?rev=290949&view=rev
>Log:
>We force maven to load the plugin with maven:set if it's not already done.
>I don't know why maven:get don't do it. Bug ? Feature ?
>
>Modified:
>    maven/maven-1/plugins/trunk/plugin/plugin.jelly
>
>Modified: maven/maven-1/plugins/trunk/plugin/plugin.jelly
>URL: 
>http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/plugin/plugin.jelly?rev=290949&r1=290948&r2=290949&view=diff
>==============================================================================
>--- maven/maven-1/plugins/trunk/plugin/plugin.jelly (original)
>+++ maven/maven-1/plugins/trunk/plugin/plugin.jelly Thu Sep 22 07:24:54 2005
>@@ -126,6 +126,9 @@
>       </j:otherwise>
>     </j:choose>
> 
>+    <!-- A workaround to force maven to load the plugin if it's not already 
>done -->
>+    <maven:set plugin="${pluginToTest}" 
>property="myFakePropertyUsedToLoadThePlugin" value="XXXX" />
>+    <!-- maven:get don't want to do it -->
>     <maven:get plugin="${pluginToTest}" property="plugin" 
> var="installedPlugin" />
>     <!-- Check if the plugin is installed -->
>     <j:choose>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to