Maven Mojo Mapping Complex Objects
问题 I'm trying to write a maven plugin, including a mapping of a custom class in mvn configuration parameters. Does anybody know how the equivalent class "Person" would look like: http://maven.apache.org/guides/mini/guide-configuring-plugins.html#Mapping_Complex_Objects <configuration> <person> <firstName>Jason</firstName> <lastName>van Zyl</lastName> </person> </configuration> My custom mojo looks like that: /** * @parameter property="person" */ protected Person person; public class Person {