Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1A80EED93 for ; Mon, 4 Feb 2013 16:39:25 +0000 (UTC) Received: (qmail 50314 invoked by uid 500); 4 Feb 2013 16:28:09 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 49812 invoked by uid 500); 4 Feb 2013 16:28:02 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 49781 invoked by uid 99); 4 Feb 2013 16:28:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2013 16:28:01 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of karl.wright@nokia.com designates 147.243.128.24 as permitted sender) Received: from [147.243.128.24] (HELO mgw-da01.nokia.com) (147.243.128.24) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2013 16:27:53 +0000 Received: from vaebh101.NOE.Nokia.com (in-mx.nokia.com [10.160.244.22]) by mgw-da01.nokia.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id r14GRVm7019659 for ; Mon, 4 Feb 2013 18:27:31 +0200 Received: from smtp.mgd.nokia.com ([65.54.30.60]) by vaebh101.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 4 Feb 2013 18:27:30 +0200 Received: from 008-AM1MPN2-082.mgdnok.nokia.com ([169.254.2.213]) by 008-AM1MMR1-005.mgdnok.nokia.com ([65.54.30.60]) with mapi id 14.02.0318.003; Mon, 4 Feb 2013 16:27:30 +0000 From: To: Subject: Jar packaging issue Thread-Topic: Jar packaging issue Thread-Index: Ac4C9FxehoQMnCgwRiC6RerYJlJcVQ== Date: Mon, 4 Feb 2013 16:27:29 +0000 Message-ID: <0BA6D34688263E4F8E6152478F7C336C178469A4@008-AM1MPN2-082.mgdnok.nokia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-version: 3.5.9.3 x-tituslabs-classifications-30: TLPropertyRoot=Nokia;Confidentiality=Nokia Internal Use Only;Project=None; x-headerinfofordlp: None x-tituslabs-classificationhash-30: vObVMNUKVTHHHHow7KLyetmC+scX7mUMXBL0iYBSB5KKO1T0uwmBETRkeLUkp+MJ/gi00aKZhjcgEwJ0FPrfR/2+fCyAMuvGXtmJrFMpGVkP74kIGMRyyEXZoOLYT114tCEAF3RXDMU5+DrJDTQKFUQnh4NEZUicQ0Rf20VYyN78maoSyXks9nB3Mm1fHTesIeAeuJPsbGwAycpoP+msnrBqtMFu1ouLAndw4kql2sg= x-originating-ip: [172.18.40.141] Content-Type: multipart/alternative; boundary="_000_0BA6D34688263E4F8E6152478F7C336C178469A4008AM1MPN2082mg_" MIME-Version: 1.0 X-OriginalArrivalTime: 04 Feb 2013 16:27:30.0437 (UTC) FILETIME=[873AB350:01CE02F4] X-Nokia-AV: Clean X-Virus-Checked: Checked by ClamAV on apache.org --_000_0BA6D34688263E4F8E6152478F7C336C178469A4008AM1MPN2082mg_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello anyone, We recently ran into something people might not be fully aware of. Specifi= cally, because codec jars require META-INF/services files in order to be di= scovered, and each codec has the same files, it's not a straightforward op= eration to glom all the Lucene jars of interest into one uber-jar, because = some of this info is lost. Putting all the dependencies together in one ja= r is one of the few things Maven is really good at, so this is a shame. ;-) This can be worked around by essentially creating a new org.apache.lucene.c= odecs.PostingFormat file, but that's not an easy operation with the build t= ools people use. Any suggestions? Karl --_000_0BA6D34688263E4F8E6152478F7C336C178469A4008AM1MPN2082mg_--