Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 05C1C6465 for ; Mon, 16 May 2011 19:22:29 +0000 (UTC) Received: (qmail 58469 invoked by uid 500); 16 May 2011 19:22:28 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 58432 invoked by uid 500); 16 May 2011 19:22:28 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 58291 invoked by uid 99); 16 May 2011 19:22:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 May 2011 19:22:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 May 2011 19:22:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 57E9ECCD9F for ; Mon, 16 May 2011 19:21:48 +0000 (UTC) Date: Mon, 16 May 2011 19:21:48 +0000 (UTC) From: "Alejandro Abdelnur (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <980162350.16264.1305573708356.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-6671) To use maven for hadoop common builds MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-6671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034212#comment-13034212 ] Alejandro Abdelnur commented on HADOOP-6671: -------------------------------------------- Glad to see people are interested in this. Luke, thanks for the Eclipse info (I don't use Eclipse. I use IntelliJ, IntelliJ integrates nicely with Maven, you just open the POM as a project and you are done). JUnit execution should work fine if you first compile the testcases from Maven (running 'mvn test -DskipTests'), I do that trick for IntelliJ. And, if I'm not mistaken you should be able to configure the IDE to this automatically (or an IDE click). > To use maven for hadoop common builds > ------------------------------------- > > Key: HADOOP-6671 > URL: https://issues.apache.org/jira/browse/HADOOP-6671 > Project: Hadoop Common > Issue Type: Improvement > Components: build > Affects Versions: 0.22.0 > Reporter: Giridharan Kesavan > Attachments: build.png, hadoop-commons-maven.patch, mvn-layout.sh > > > We are now able to publish hadoop artifacts to the maven repo successfully [ Hadoop-6382] > Drawbacks with the current approach: > * Use ivy for dependency management with ivy.xml > * Use maven-ant-task for artifact publishing to the maven repository > * pom files are not generated dynamically > To address this I propose we use maven to build hadoop-common, which would help us to manage dependencies, publish artifacts and have one single xml file(POM) for dependency management and artifact publishing. > I would like to have a branch created to work on mavenizing hadoop common. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira