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 ? git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@290949 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
82921f19be
commit
46e01e1f0b
@ -126,6 +126,9 @@
|
|||||||
</j:otherwise>
|
</j:otherwise>
|
||||||
</j:choose>
|
</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" />
|
<maven:get plugin="${pluginToTest}" property="plugin" var="installedPlugin" />
|
||||||
<!-- Check if the plugin is installed -->
|
<!-- Check if the plugin is installed -->
|
||||||
<j:choose>
|
<j:choose>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user