Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 71712 invoked from network); 6 Feb 2009 14:14:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2009 14:14:43 -0000 Received: (qmail 87846 invoked by uid 500); 6 Feb 2009 14:14:42 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 87814 invoked by uid 500); 6 Feb 2009 14:14:42 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 87805 invoked by uid 99); 6 Feb 2009 14:14:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Feb 2009 06:14:42 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [62.179.121.39] (HELO viefep19-int.chello.at) (62.179.121.39) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Feb 2009 14:14:33 +0000 Received: from edge03.upc.biz ([192.168.13.238]) by viefep19-int.chello.at (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20090206141410.UZJQ29160.viefep19-int.chello.at@edge03.upc.biz> for ; Fri, 6 Feb 2009 15:14:10 +0100 Received: from felixknecht.ch ([84.72.24.104]) by edge03.upc.biz with edge id CeE91b00P2ElHAk03eEA79; Fri, 06 Feb 2009 15:14:10 +0100 X-SourceIP: 84.72.24.104 Received: (qmail 29591 invoked by uid 210); 6 Feb 2009 14:14:08 -0000 Received: from 192.168.1.97 by odin (envelope-from , uid 201) with qmail-scanner-2.05st (clamdscan: 0.94.2/8957. perlscan: 2.05st. Clear:RC:1(192.168.1.97):. Processed in 0.02637 secs); 06 Feb 2009 14:14:08 -0000 Received: from unknown (HELO ?192.168.1.97?) (192.168.1.97) by 192.168.1.11 with SMTP; 6 Feb 2009 14:14:08 -0000 Message-ID: <498C45B0.1080300@apache.org> Date: Fri, 06 Feb 2009 15:14:08 +0100 From: Felix Knecht Organization: apache.org User-Agent: Thunderbird 2.0.0.19 (X11/20090101) MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: [Studio] Creating MANIFEST.MF using mvn studio:eclipse References: <498C1B5D.4090703@apache.org> <498C219B.9010301@apache.org> In-Reply-To: <498C219B.9010301@apache.org> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Stefan Seelmann schrieb: > Maybe it is easier to copy the all jars from the "artifactList" to > "classesOutDir". > > Stefan Seelmann wrote: >> Hi, >> >> When checking out studio from SVN and running "mvn studio:eclipse" the >> MANIFEST.MF isn't created properly. No "Export-Package" is created in >> the MANIFEST.MF. >> >> In the following I use the "jars" plugin only. >> >> I found out that "bundle:manifest" brings some warnings: >> -------------------------------------------- >> [WARNING] Warning in manifest for >> org.apache.directory.studio:jars:jar:1.4.0-SNAPSHOT : No sub JAR or >> directory lib/studio-dsml-parser-0.4.4-SNAPSHOT.jar >> ... >> -------------------------------------------- >> >> That is because target/classes/lib with all the jars doesn't exist. >> >> If I run a "mvn compile" first then all jars from the lib folder are >> copied to target/classes/lib. Then "bundle:mainifest" works properly and >> creates the "Export-Package" header. >> >> As a workaround I modified the StudioEclipseMojo and added a >> forkMvnGoal( "compile" ); >> before running "bundle:manifest". >> >> It works but I wonder if that is a proper solution, Felix? I don't have that much more knowledge. If it works and has no unwanted side effects ... ;-) I'm absolutely fine with that. Felix