Hello,

I have a problem.

I am building a new maven plugin to interface with a local build tool.
To control the plugin I supply some configuration data. For simple elements 
this works using annotations.
Because we want to configure maven to get the correct target artifacts from 
nexus for the current platform, we need more complex type of configuration 
data. Example:

                <configuration>
                    <platform_mapping>
                        <platform>
                            <host>linux64</host>
                            <targets>
                                <target>targetX</target>
                                <target>targetY</target>
                            </targets>
                        </platform>

                        <platform>
                            <host>linux</host>
                            <targets>
                                <target>targetZ</target>
                            </targets>
                        </platform>
                    </platform_mapping>
etc

How do I annotate this list in my plugin.
There is no example on the maven website for a list of complex data types.

Does anybody knows how to implement this, have an alternative or maybe have an 
example of how to do it.
I am very unfamiliar in programming plugins and in using java.

Thanks in advance.







[cid:image001.jpg@01CC3709.022A6D30]
Tony de Goede

Software Engineer

Sensors



Phone:


+31 (0)74 248 4599

Mobile:

+31 (0)6 4405 7890


E-mail:

tony.dego...@nl.thalesgroup.com<mailto:tony.dego...@nl.thalesgroup.com>



THALES NEDERLAND

Haaksbergerstraat 49

7554 PA Hengelo


PO Box 42

7550 GD Hengelo

The Netherlands

www.thalesgroup.com/nl<http://www.thalesgroup.com/nl>





------------------------------------------------------------------------------------------------------------
Disclaimer:

If you are not the intended recipient of this email, please notify the sender 
and delete it. 
Any unauthorized copying, disclosure or distribution of this email or its 
attachment(s) is forbidden. 
Thales Nederland BV will not accept liability for any damage caused by this 
email or its attachment(s). 
Thales Nederland BV is seated in Hengelo and is registered at the Chamber of 
Commerce under number 06061578.
------------------------------------------------------------------------------------------------------------


Reply via email to