Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9B7E49C9B for ; Thu, 5 Apr 2012 03:55:41 +0000 (UTC) Received: (qmail 20773 invoked by uid 500); 5 Apr 2012 03:55:40 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 20729 invoked by uid 500); 5 Apr 2012 03:55:39 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 20721 invoked by uid 99); 5 Apr 2012 03:55:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2012 03:55:39 +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; Thu, 05 Apr 2012 03:55:22 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7CA11359B46 for ; Thu, 5 Apr 2012 03:54:35 +0000 (UTC) Date: Thu, 5 Apr 2012 03:54:35 +0000 (UTC) From: "Chris Male (Updated) (JIRA)" To: dev@lucene.apache.org Message-ID: <1607240512.15658.1333598075600.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1215591378.10173.1333510400536.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (LUCENE-3948) Experiment with placing poms outside of src 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/LUCENE-3948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Male updated LUCENE-3948: ------------------------------- Attachment: LUCENE-3948.patch Updated patch based on Steve's last Changes: - {{get-maven-poms}} now places all the poms in {{maven-build/}} at the top-level. - All build directories are now changed to {{target/}} like they are in a traditional Maven project. This means the build and poms sit next to each other - Classes and test classes now output to {{target/classes}} and {{target/test-classes}} like in a traditional Maven project. - {{module-path}} is updated to the new pom location and to leverage {{module-directory}} for easier maintainence. TODO - Connect {{generate-maven-artifacts}} to this new process. - Add mechanism to clean {{maven-build}} - Add {{maven-build}} as an svn:ignore dir. - Remove svn:ignore for pom.xml in src directories. > Experiment with placing poms outside of src > ------------------------------------------- > > Key: LUCENE-3948 > URL: https://issues.apache.org/jira/browse/LUCENE-3948 > Project: Lucene - Java > Issue Type: Improvement > Components: general/build > Reporter: Chris Male > Priority: Minor > Attachments: LUCENE-3948.patch, LUCENE-3948.patch, LUCENE-3948.patch > > > Recent work in LUCENE-3944 has changed how our generated pom.xml files are handled during release preparation, placing them in build/ instead. However get-maven-poms still places the poms inside src/ so you can use them to drive a build. What I think would be ideal is if we could unify the release handling of the poms and the normal building handling, so that the poms can sit outside of src and serve both purposes. > Some time ago I investigated how the ANT project handles its own Maven integration and it has its poms sitting in their own directory. They then reference the actual src locations inside the poms. This works for ANT but with a warning since some of their tests don't work due to how the Maven surefire plugin works, so they skip their tests. > I have done some quick testing of my own and this process does seem to work for our poms and tests. I now want to take this to a full scale POC and see if it works fully. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org