(From: http://stackoverflow.com/questions/10188534/)

I need to use custom type, e.g., `LunarDate`, in my Mojo object:

    class MyMojo extends AbstractMojo {

        /** @parameter */
        LunarDate lunarDate;

    }

And I want to configure the parameter in `<configuration>` section in
pom.xml.

    <configuration>
         <lunarDate>丁丑年二月初四</lunarDate>
    </configuration>

(The type `LunarDate` is just an example to illustrate the question)

I've already had the type converters, but how to enable them?

Reply via email to