Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 16239 invoked from network); 21 Jul 2010 18:21:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Jul 2010 18:21:14 -0000 Received: (qmail 34400 invoked by uid 500); 21 Jul 2010 18:21:14 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 34362 invoked by uid 500); 21 Jul 2010 18:21:14 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 34353 invoked by uid 99); 21 Jul 2010 18:21:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jul 2010 18:21:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jul 2010 18:21:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6LIKn9V016877 for ; Wed, 21 Jul 2010 18:20:49 GMT Message-ID: <566416.500661279736449420.JavaMail.jira@thor> Date: Wed, 21 Jul 2010 14:20:49 -0400 (EDT) From: "Donald Woods (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Updated: (OPENJPA-1737) The openjpa-2.0.0.jar does not have its MANIFEST.MF has the first entry In-Reply-To: <22291472.495171279714669382.JavaMail.jira@thor> 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/OPENJPA-1737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donald Woods updated OPENJPA-1737: ---------------------------------- Fix Version/s: 2.0.1 2.1.0 Component/s: build / infrastructure osgi Problem is related to how we're using maven-shade-plugin and maven-bundle-plugin together. Some manifest info was being injected by the shade plugin, which seems to mess the ordering up. Once I moved the injection of manifest data from the shade plugin to the bundle plugin, the manifest file is now the first file in the jar - drwoods:openjpa/$ unzip -l target/openjpa-2.1.0-SNAPSHOT.jar Archive: target/openjpa-2.1.0-SNAPSHOT.jar Length Date Time Name -------- ---- ---- ---- 0 07-21-10 14:15 META-INF/ 22219 07-21-10 14:15 META-INF/MANIFEST.MF > The openjpa-2.0.0.jar does not have its MANIFEST.MF has the first entry > ----------------------------------------------------------------------- > > Key: OPENJPA-1737 > URL: https://issues.apache.org/jira/browse/OPENJPA-1737 > Project: OpenJPA > Issue Type: Bug > Components: build / infrastructure, osgi > Affects Versions: 2.0.0 > Reporter: Guillaume Nodet > Assignee: Donald Woods > Fix For: 2.0.1, 2.1.0 > > > This is a requirement for valid jars and it causes some problems for tools that expect the manifest as the first entry. > Karaf does that in some places so that it can read the manifest from a remote location without having to download the full jar. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.