On Tue, Mar 16, 2010 at 16:43, Jerome Velociter <[email protected]> wrote:
On Tue, Mar 16, 2010 at 15:16, Jean-Vincent Drean <[email protected]> wrote:
Hi,
I've discussed about it a bit more with Jerome and I'd like to come with a simpler proposal. Contrib releases would be published in http://maven.xwiki.org/releases/org/xwiki/contrib/, the only difference with official xwiki.org releases is that the distributionManagement configuration in contrib project would point to nexus staging repo.
So that mean that a contributed project does not have right to have anything else than org.xwiki.contrib.* as maven grouId. Looks like a bit restrictive to me but why not. Lets say +0.
That is if the projects wants to benefit from xwiki.org build and release infrastructure. One can always have a different groupId and get the CI and distribution part from its own infrastructure. I think that's fair, no ?
I'm fine with letting user have the groupId they want (they would certainly use the default one anyway). I just wanted to make it clear because it's not just an infrastructure choice it becomes part of the contribution project rules.
Jerome.
About contrib snapshots they'd use the same configuration as official xwiki.org projects, contributors would ask on the list for their project to be added on http://hudson.xwiki.org.
+1
Here's my +1
Thanks, JV.
On Wed, Mar 10, 2010 at 3:17 PM, Jean-Vincent Drean <[email protected]> wrote:
Hi XWikiers,
The goal of this proposal is to be able to deploy contrib projects on the xwiki maven repository, allowing distributions to depend on contrib projects. Contrib projects deployment must be different from the other xwiki.org deployments since want to review the artifacts contributors publish under our banner.
The proposal is to use the nexus staging deployment feature to perform contrib releases. Strategy:
- Create the http://maven.xwiki.org/contrib/ repository - When a contributor first want to release his project, create a user for him allowed to push artifacts in staging on nexus.xwiki.org. This credentials are meant to be put in ~/.m2/settings.xml to be used by maven for authentication on nexus.xwiki.org. - When a contributor performs a release the artifacts are pushed on the nexus staging repository, an email is sent on [email protected] to notify nexus admins that they must review/publish them.
We could create a new http://svn.xwiki.org/svnroot/xwiki/contrib/pom/ pom project to ease maintainers work, here's a draft:
-------------------------8<----------------------------- Â <groupId>org.xwiki.contrib</groupId> Â <artifactId>root</artifactId> Â <name>XWiki Contrib - Root POM</name> Â <packaging>pom</packaging> Â <version>1.0-SNAPSHOT</version> Â <url>http://contrib.xwiki.org</url> Â <issueManagement> Â Â <system>jira</system> Â Â <url>http://jira.xwiki.org/jira/browse/XCONTRIB</url> Â </issueManagement> Â <scm> Â Â <connection>scm:svn:http://svn.xwiki.org/svnroot/xwiki/contrib/pom/trunk</connection> Â Â <developerConnection>scm:svn:https://svn.xwiki.org/svnroot/xwiki/contrib/pom/trunk</developerConnection> Â Â <url>http://svn.xwiki.org/svnroot/xwiki/contrib/pom/trunk</url> Â </scm> Â <distributionManagement> Â Â <repository> Â Â Â <id>xwiki-staging</id> Â Â Â <name>XWiki Staging Repository</name> Â Â Â <url>http://nexus.xwiki.org/nexus/service/local/staging/deploy/maven2/</url> Â Â </repository> Â </distributionManagement> ------------------------->8-----------------------------
Note: I'm still not sure about this, I think duplicating distributionManagement in an application and have xwiki-applications as parent might be more convenient than the contrary (duplicating build extensions and stuff + have org.xwiki.contrib.root as parent).
WDYT ?
Thanks, JV.
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne