Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 99844 invoked from network); 4 Feb 2008 17:32:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2008 17:32:31 -0000 Received: (qmail 24488 invoked by uid 500); 4 Feb 2008 17:32:15 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 24438 invoked by uid 500); 4 Feb 2008 17:32:15 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 24427 invoked by uid 99); 4 Feb 2008 17:32:15 -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 2008 09:32:15 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of carlossg@gmail.com designates 72.14.204.231 as permitted sender) Received: from [72.14.204.231] (HELO qb-out-0506.google.com) (72.14.204.231) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 17:31:46 +0000 Received: by qb-out-0506.google.com with SMTP id e21so2491258qba.0 for ; Mon, 04 Feb 2008 09:31:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=E64TLqsE/CQFqMZZT5F49juyYWaArZmrauv15dR7qSU=; b=u5+XwznIOzpxE+EfS6IYZFzWDbrB5nguwZOuzWUj4N5IzIY5Xldx0gWO5VQkf3z8gE7b9xCX5AeUlIsqEUc/9vLHkNMPhJ6uPCj6vWjt87PD1o3uryk5PdJG6wQtCYRaRMuupT29ulmtMLW0OFkjyOjABRRTM1eMOMUvbxjVVlg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Q0x2hwZEKvNQw7JGrN7R81KooGmlUfvwmcZCIJ+RQjMaH7uFr2ebf3Ba6ejl0MAH0aa0oXyQnECbq/lXbL+tVZVdpIs2DC8z0koEc0BUf02iB/aRTm+T3Nn1x/x/4Bc7d7NG2uoMMfkN2clQ2Q7NeyypBc92lDOSNXUqW1l5HkI= Received: by 10.141.33.21 with SMTP id l21mr4899059rvj.140.1202146312024; Mon, 04 Feb 2008 09:31:52 -0800 (PST) Received: by 10.141.43.9 with HTTP; Mon, 4 Feb 2008 09:31:51 -0800 (PST) Message-ID: <1a5b6c410802040931j5b4f8c14k1596183ae4f846aa@mail.gmail.com> Date: Mon, 4 Feb 2008 09:31:51 -0800 From: "Carlos Sanchez" Sender: carlossg@gmail.com To: "Maven Users List" Subject: Re: eclipse:eclipse PDE version naming for incubator projects - changing a hyphen into a period, causing an error In-Reply-To: <47A74B00.5060609@schor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47A53827.9010505@schor.com> <47A74B00.5060609@schor.com> X-Google-Sender-Auth: cc1d1a82a6b23212 X-Virus-Checked: Checked by ClamAV on apache.org you should look into the Apache Felix bundle plugin. It has a bundle:manifest goal that will generate the OSGi manifest, that's why the eclipse pluign class is deprecated Check "Adding OSGi metadata to existing projects without changing the packaging type" http://felix.apache.org/site/maven-bundle-plugin-bnd.html On Feb 4, 2008 9:27 AM, Marshall Schor wrote: > This seems a bug. I opened a Jira issue > http://jira.codehaus.org/browse/MECLIPSE-385, attached a patch and an > updated test case. > > One issue may be the way I fixed it: I fixed a method > getNormalizedVersion in EclipseOSGiManifestWriter, but that class is > marked "deprecated" - so it may need to be fixed elsewhere. > > -Marshall > > > Marshall Schor wrote: > > We have a maven for our incubating project which looks like: > > > > 2.3.0.incubating-SNAPSHOT > > > > The dot before incubating is there to make the format fit the Eclipse > > syntax of major.minor.micro.qualifier > > > > When eclipse:eclipse updates the MANIFEST.MF, it changes this version to: > > > > 2.3.0.incubating.SNAPSHOT > > > > This causes Eclipse 3.3 to complain that the format (which now > > contains 5 sections, separated by periods) is invalid. > > > > Can I set some configuration parameter to get eclipse:eclipse to not > > change the last "-" before SNAPSHOT to a period? > > > > -Marshall Schor > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > > For additional commands, e-mail: users-help@maven.apache.org > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org