Vincent Massol wrote:
> 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?
> 

-0

Although I prefer annotations, in this case it's a dependency on Plexus.
If we do this, then it will be harder to say that our components are
framework-independent.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to