Hi,
I'm developping a new plugin using ant, guided by
http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html.
In this tutorial you can see how to map parameter for your plugin,
declaring in your pom.xml :
<plugin>
<groupId>org.myproject.plugins</groupId>
<artifactId>hello-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<configuration>
<name>John</name>
</configuration>
</plugin>
and in your xml mojo :
<parameter>
<name>name</name>
<property>name</property>
<required>true</required>
<type>java.lang.String</type>
...
</parameter>
but what i actually want to do is using complex objects, as described here
:
http://maven.apache.org/guides/mini/guide-configuring-plugins.html#Mapping_Complex_Objects
<configuration>
<person>
<firstName>Jason</firstName>
<lastName>van Zyl</lastName>
</person>
</configuration>
I've tried several possible configurations but no success...any idea
on how to do it ?
Thanxs,
Max