Hi,

So far we've used the strategy of using a "xwiki" classifier when we  
mad changes to artifacts or their poms (we actually forgot to do that  
for some but that's another story...). The problem is that classifier  
don't work since:
* there's a single pom file for all classifiers
* the pom is retrieved before the artifact
* if there's another remote repo before the xwiki repo and that pom  
file exists in this other remote repo it'll be used instead of ours

For the record we had 2 problems with jfreechart and jackrabbit which  
caused this issue to appear.

Solution:

I propose to publish modified artifacts (the artifact itself of its  
pom) into our own groupId (best practice) and I propose to prefix them  
with "xwiki.".

For example for "org.apache.jackrabbit" that would become  
"xwiki.org.apache.jackrabbit".

I've done that for jfreechart and jackrabbit here:
http://maven.xwiki.org/externals/xwiki/

WDYT?

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

Reply via email to