Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 75694 invoked from network); 4 Feb 2011 15:55:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2011 15:55:56 -0000 Received: (qmail 90743 invoked by uid 500); 4 Feb 2011 15:55:55 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 90428 invoked by uid 500); 4 Feb 2011 15:55:52 -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 90420 invoked by uid 99); 4 Feb 2011 15:55:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Feb 2011 15:55:52 +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; Fri, 04 Feb 2011 15:55:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C31A018EA91 for ; Fri, 4 Feb 2011 15:55:28 +0000 (UTC) Date: Fri, 4 Feb 2011 15:55:28 +0000 (UTC) From: "Steven Rowe (JIRA)" To: dev@lucene.apache.org Message-ID: <223975290.307.1296834928795.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (LUCENE-2609) Generate jar containing test classes. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Rowe updated LUCENE-2609: -------------------------------- Attachment: LUCENE-2609.patch This patch includes a new POM template for the Lucene test framework. I ran into an issue with circular dependence: Lucene core can't depend on the test framework, because the test framework depends on Lucene core. I solved this problem by including {{src/test-framework/}} in Lucene core's test source directories, so that no dependency is required on the test framework. {{ant generate-maven-artifacts}} is also modified to include the binary, source, and javadoc jars for the test framework. I tried to make all other modules depend only on the test framework, but several Lucene contrib modules refer to Lucene test classes that were not included in {{src/test-framework}}: analyzers/common, icu, misc, queryparser, and remote. For these, I kept the previous dependency on the full Lucene tests jar. One other minor change in this patch: the {{jarify}} macro now has an optional {{excludes}} attribute that defaults to {{**/pom.xml}}, so that {{pom.xml}} files don't end up in any jars. This patch includes all of Shai's patch, as well as a minor addition mentioned by Uwe on IRC: title attributes are included for all test-framework jarify calls. Like Shai's patch, I excluded the moved java files from the patch. > Generate jar containing test classes. > ------------------------------------- > > Key: LUCENE-2609 > URL: https://issues.apache.org/jira/browse/LUCENE-2609 > Project: Lucene - Java > Issue Type: Improvement > Components: Build > Affects Versions: 3.0.2 > Reporter: Drew Farris > Assignee: Shai Erera > Priority: Minor > Fix For: 3.1, 4.0 > > Attachments: LUCENE-2609.patch, LUCENE-2609.patch, LUCENE-2609.patch, LUCENE-2609.patch, LUCENE-2609.patch, LUCENE-2609.patch, LUCENE-2609.patch, LUCENE-2609.patch, LUCENE-2609.patch, LUCENE-2609.patch > > > The test classes are useful for writing unit tests for code external to the Lucene project. It would be helpful to build a jar of these classes and publish them as a maven dependency. -- This message is automatically generated by JIRA. - 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