From mboxrd@z Thu Jan 1 00:00:00 1970 From: imyousuf@gmail.com Subject: [JGit-io-RFC-PATCH v2 1/4] Introduce a new module for IO SPI of JGit Date: Sun, 11 Oct 2009 21:07:50 +0700 Message-ID: <1255270073-14205-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 Sun Oct 11 16:10:12 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 1Mwz7j-0008An-Cx for gcvg-git-2@lo.gmane.org; Sun, 11 Oct 2009 16:10:12 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754711AbZJKOIu (ORCPT ); Sun, 11 Oct 2009 10:08:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754650AbZJKOIu (ORCPT ); Sun, 11 Oct 2009 10:08:50 -0400 Received: from mail-ew0-f208.google.com ([209.85.219.208]:55821 "EHLO mail-ew0-f208.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754642AbZJKOIs (ORCPT ); Sun, 11 Oct 2009 10:08:48 -0400 Received: by ewy4 with SMTP id 4so1831311ewy.37 for ; Sun, 11 Oct 2009 07:08:11 -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=m7qRnmpWottGEAyD7NexGPl44i5iEgs6DKP2sVGeawBCf/OzIX8OmAZFB9pXoZibTx DRRPlXMrddqD8GlHMWBT+yGjc46Zi1Y25evp0fDxQDyTOCJFAAPQVh6fy2nr3CTt5uEt f072Lf5jF+NY7dqCZI/QJk5eK/q9MBEGX4gro= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=mJoULBlB9/VMGXEQdeI7XWLOCf0lfX/GWEAyGFjnvfrcwEhgdRp0duRiM3bS349ziH NJWjW4Z4maErxNJvAsBFIV5QqQZtv6Zo6FrKAa39XYpIfQ84qUV4Cwb7/lTSCQILku0Q NU+7Do1RKxqAExpOODJKHB/9Yi8j5r6jOfnIU= Received: by 10.211.143.19 with SMTP id v19mr2819039ebn.47.1255270091143; Sun, 11 Oct 2009 07:08:11 -0700 (PDT) Received: from localhost.localdomain ([119.30.36.8]) by mx.google.com with ESMTPS id 23sm2698205eya.42.2009.10.11.07.08.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 11 Oct 2009 07:08:09 -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