Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
5.0-milestone-2
-
None
-
Unknown
-
Description
Right now several extensions wrongly say that they are created/maintained by the XWiki Development team; for example: http://extensions.xwiki.org/xwiki/bin/view/Extension/CRaSH+Console
One solution is to perform some checks before allowing the import of a contrib extension (see http://contrib.xwiki.org/xwiki/bin/view/Main/WebHome#HImplementingyourMavenbuild ):
- Check that the groupid starts with org.xwiki.contrib
- Check that there's a <developer> section which isn't the one coming from some org.xwiki.<name> artifact where <name> != "contrib"
- Check that the parent pom is org.xwiki.commons:xwiki-commons-pom
The only hard part is differentiating xwiki dev team extensions from contrib extensions. A solution is to only allow admins to perform an import on xwiki.org and let the admin specify what he is importing (either a xwiki dev team extension or a contrib extension).