Hi Jeremie,
On Feb 22, 2013, at 12:01 PM, Jeremie BOUSQUET <jeremie.bousquet(a)gmail.com> wrote:
Hi Vincent,
Very nice and welcome add :)
Just a small remark, maybe it's written somewhere else (or obvious enough),
but if you have an extension that depends on another extension that is not
in a maven, but only in an xwiki repository, then of course you can't
define this dependency in your pom.xml, and there is an additional step
after "import" from repository application, it is to manually add those
kind of dependencies.
Indeed.
Actually the only good solution for this is to never depend on an extension that is not
published in a maven repository.
If you do then you don't have a proper working build. I don't see how you're
able to write automated functional tests for your extension either this way. So it means
you have an incomplete build.
Thus the solution is to first publish the extension in a maven repository, by creating a
repo for it in xwiki-contrib and releasing it.
Thanks
-Vincent
BR,
Jeremie
2013/2/22 Vincent Massol <vincent(a)massol.net>
> Hi guys,
>
> I've just added explanations on how to publish a contrib extension on
>
extensions.xwiki.org here:
>
>
http://contrib.xwiki.org/xwiki/bin/view/Main/WebHome#HPublishingonextension…
>
> Hope it helps,
> -Vincent