Hi,

Here's an idea: use annotations to remove the need for components.xml  
files.
Example: 
http://svn.apache.org/repos/asf/maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

Pros:
* always correct
* simpler maintenance

Cons:
* small tie with plexus. However the annotations are in small jar file  
by themselves and are only required at build time and not runtime.

I'm not sure yet. WDYT?

Thanks
-Vincent
http://xwiki.com
http://xwiki.org
http://massol.net






_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to