Java Maven Mojo : Complex Map Attribute
问题 The example of map attribute for a mojo mentioned in maven.apache.org is quite simple as it defines a Map with a String as a key and as a value as specified below : /** * My Map. */ @Parameter private Map myMap; and it's assigned configuration would look like this : <myMap> <key1>value1</key1> <key2>value2</key2> </myMap> What I am trying to achieve is a more advanced map which takes a String as a key and my own defined class Person as value: /** * My Advanced Map. */ @Parameter private Map