From mboxrd@z Thu Jan 1 00:00:00 1970 From: imyousuf@gmail.com Subject: [JGit-RFC-PATCH 1/3] Introduce a new module for IO SPI of JGit Date: Sat, 10 Oct 2009 22:56:59 +0700 Message-ID: <1255190221-19428-1-git-send-email-imyousuf@gmail.com> Cc: spearce@spearce.org, egit-dev@eclipse.org, Imran M Yousuf To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Sat Oct 10 18:04:31 2009 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1MweQo-00009K-77 for gcvg-git-2@lo.gmane.org; Sat, 10 Oct 2009 18:04:30 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761671AbZJJP55 (ORCPT ); Sat, 10 Oct 2009 11:57:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755875AbZJJP54 (ORCPT ); Sat, 10 Oct 2009 11:57:56 -0400 Received: from mail-ew0-f208.google.com ([209.85.219.208]:55697 "EHLO mail-ew0-f208.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761649AbZJJP5z (ORCPT ); Sat, 10 Oct 2009 11:57:55 -0400 Received: by ewy4 with SMTP id 4so1415768ewy.37 for ; Sat, 10 Oct 2009 08:57:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=cehSIfhyaWcxUJOAmo5MlcN9vvqiPEm+OoKDI6GFjp4=; b=dMq/N1AJpKzy1dsW2S++Pt7iSinWO86J7tuIRy6FHP28vFd74zivsb+kaL7iTvRI+I kUtbwaKrzR9VkYFUUW5svKZGuQNouLNu5R993F/ISm7hN1iOw9EKMApJBYpVIxSC+33v YjSChU7FV+bcaGmzWM/e3sQHFqRRyksyOTQuI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=O6aQ+hTjeC7AgwfSDxxt/BkuqeAcP8gWK7Z+E75x6qLBWE7S9JM3frbqr4SOoi9Jhu wKt6hn0Mux0qhzGcZI8A9katRonIrzGJjc9QRVRnfukdNI8pqd2ReLRv8piTwYgdBnIN 2i+OS11mKIvwUKx6VPYU9HlNJSBuUYDcdKkRI= Received: by 10.211.159.19 with SMTP id l19mr4715063ebo.83.1255190235937; Sat, 10 Oct 2009 08:57:15 -0700 (PDT) Received: from localhost.localdomain ([119.30.36.6]) by mx.google.com with ESMTPS id 24sm2432248eyx.25.2009.10.10.08.57.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 10 Oct 2009 08:57:14 -0700 (PDT) X-Mailer: git-send-email 1.6.2.1 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: From: Imran M Yousuf The reason for having a separate module is quite obvious, the IO SPI providers need not have to depend on the whole JGit but rather only on the SPI itself. As of the initial implementation the SPI will also contain the default implementation - local file system provider. Extract maven POM file to a common file to encapsulate the common setting and configuration to be used across all maven modules for JGit. Signed-off-by: Imran M Yousuf --- jgit-maven/jgit-io/pom.xml | 65 +++++++++ jgit-maven/jgit/pom.xml | 287 ++++++++++------------------------------- jgit-maven/{jgit => }/pom.xml | 31 +---- 3 files changed, 143 insertions(+), 240 deletions(-) create mode 100644 jgit-maven/jgit-io/pom.xml rewrite jgit-maven/jgit/pom.xml (68%) rename jgit-maven/{jgit => }/pom.xml (90%) diff --git a/jgit-maven/jgit-io/pom.xml b/jgit-maven/jgit-io/pom.xml new file mode 100644 index 0000000..f197f58 --- /dev/null +++ b/jgit-maven/jgit-io/pom.xml @@ -0,0 +1,65 @@ + + + + 4.0.0 + + org.eclipse + jgit-parent + 0.6.0-SNAPSHOT + + org.eclipse + jgit-io + jar + jgit-io + + ../../org.eclipse.jgit.io/src/ + + + ../../org.eclipse.jgit.test/tst-rsrc/ + + + ../../org.eclipse.jgit.io/tst/ + + + + junit + junit + 3.8.1 + test + + + diff --git a/jgit-maven/jgit/pom.xml b/jgit-maven/jgit/pom.xml dissimilarity index 68% index d8772ad..9eb5758 100644 --- a/jgit-maven/jgit/pom.xml +++ b/jgit-maven/jgit/pom.xml @@ -1,216 +1,71 @@ - - - - 4.0.0 - org.eclipse - jgit - jar - 0.6.0-SNAPSHOT - jgit - http://repo.or.cz/w/jgit.git - - - GIT Mailing List - git@vger.kernel.org - http://marc.info/?l=git - - - Pure Java implementation of Git - - - Shawn O. Pearce - spearce@spearce.org - - Maintainer - - - - Robin Rosenberg - robin.rosenberg@dewire.com - - Maintainer - - - - Dave Watson - dwatson@mimvista.com - - Developer - - - - Roger C. Soares - rogersoares@intelinet.com.br - - Developer - - - - Marek Zawirski - marek.zawirski@gmail.com - - Developer - - - - Charles O'Farrell - charleso@charleso.org - - Contributor - - - - Imran M Yousuf - imyousuf@smartitengineering.com - Smart IT Engineering - - Contributor - - - - - - Eclipse Distribution License (New BSD License) - - All rights reserved. - Redistribution and use in source and binary forms, with or - without modification, are permitted provided that the following - conditions are met: - - Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - - Neither the name of the Eclipse Foundation, Inc. nor the - names of its contributors may be used to endorse or promote - products derived from this software without specific prior - written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, - INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - - - ../../org.eclipse.jgit/src/ - - - ../../org.eclipse.jgit.test/tst-rsrc/ - - - ../../org.eclipse.jgit.test/tst/ - - - maven-compiler-plugin - 2.0.2 - - 1.5 - 1.5 - UTF-8 - - - - maven-surefire-plugin - 2.4.2 - - - **/*Test.java - **/*TestCase.java - **/T000*.java - - - - - maven-source-plugin - - - - jar - - - - - - maven-javadoc-plugin - - - - jar - - - - - - - - - junit - junit - 3.8.1 - test - - - com.jcraft - jsch - 0.1.41 - compile - - - - - jgit-maven-snapshot-repository - JGit Maven Snapshot Repository - dav:https://egit.googlecode.com/svn/maven/snapshot-repository/ - true - - - + + + + 4.0.0 + + org.eclipse + jgit-parent + 0.6.0-SNAPSHOT + + org.eclipse + jgit + jar + jgit + + ../../org.eclipse.jgit/src/ + + + ../../org.eclipse.jgit.test/tst-rsrc/ + + + ../../org.eclipse.jgit.test/tst/ + + + + junit + junit + 3.8.1 + test + + + com.jcraft + jsch + 0.1.41 + compile + + + diff --git a/jgit-maven/jgit/pom.xml b/jgit-maven/pom.xml similarity index 90% rename from jgit-maven/jgit/pom.xml rename to jgit-maven/pom.xml index d8772ad..bac9629 100644 --- a/jgit-maven/jgit/pom.xml +++ b/jgit-maven/pom.xml @@ -37,10 +37,10 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 org.eclipse - jgit - jar + jgit-parent + pom 0.6.0-SNAPSHOT - jgit + JGit http://repo.or.cz/w/jgit.git @@ -141,13 +141,6 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ../../org.eclipse.jgit/src/ - - - ../../org.eclipse.jgit.test/tst-rsrc/ - - - ../../org.eclipse.jgit.test/tst/ maven-compiler-plugin @@ -191,20 +184,6 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - junit - junit - 3.8.1 - test - - - com.jcraft - jsch - 0.1.41 - compile - - jgit-maven-snapshot-repository @@ -213,4 +192,8 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. true + + jgit + jgit-io + -- 1.6.2.1