Hi,
from a recent post I found out how to load a pom into a variable, what I'm trying to do now is to load the pom of an installed plugin. unfortunately I only know the artifactId of the plugin and not the installed version number.
I have found a workaround to locate the project's descriptor.
<ant:path id="plugin_path">
<ant:fileset dir="${maven.plugin.unpacked.dir}">
<ant:include name="${pluginName}*/project.xml"/>
</ant:fileset>
</ant:path>
<ant:property name="plugin_desc_path" refid="plugin_path"/>
<echo message="loading plugin pom from ${plugin_desc_path}"/>
<maven:pom var="plugin_pom" projectDescriptor="${plugin_desc_path}"/>is this the only way or is there some other way of loading a plugin's pom without knowing the installed version? My solution feels like a hack.
cheers Nathan
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
