Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1621C962E for ; Thu, 7 Jun 2012 12:12:24 +0000 (UTC) Received: (qmail 4104 invoked by uid 500); 7 Jun 2012 12:12:23 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 3964 invoked by uid 500); 7 Jun 2012 12:12:23 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 3943 invoked by uid 99); 7 Jun 2012 12:12:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2012 12:12:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 00C31140BEF for ; Thu, 7 Jun 2012 12:12:23 +0000 (UTC) Date: Thu, 7 Jun 2012 12:12:23 +0000 (UTC) From: "Felix Meschberger (JIRA)" To: issues@commons.apache.org Message-ID: <1977956675.47434.1339071143005.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1161670240.47214.1339065983129.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (IO-333) Export packages at version 1.x in addition to 2.x MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IO-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated IO-333: --------------------------------- Attachment: IO-333.patch Proposed patch adding export at version 1.5 in addition to current project version. We have to explicitly list the packages due to how the BND library (used by the bundle plugin) creates the list of packages exported. So, this patch lists all packages already existing in the 1.4 release and exports it at 1.5. This accounts for new functionality built into those packages since 1.4. The list is duplicated for the regular export at the library version. In addition there is a pattern export to add all new packages in. This patch assumes the 2.x export is more correct and the 1.x export version is for backwards compatibility. Anyway going forward, proper semantic versioning should probably be applied to the exported packages and update the export version according to the changes. > Export packages at version 1.x in addition to 2.x > ------------------------------------------------- > > Key: IO-333 > URL: https://issues.apache.org/jira/browse/IO-333 > Project: Commons IO > Issue Type: Improvement > Affects Versions: 2.3 > Reporter: Felix Meschberger > Attachments: IO-333.patch > > > As discussed on the list [1], I propose to export the provided packages twice, once with the default version being the project version and once with a > version complying more with OSGi semantic versioning [2]. > I will attach proposed patch. > There seems to be one single problematic change since the 1.4 release: IO-318. > Strictly speaking this is an incompatible change because consumers would > catch a different exception and thus would fail to handle exceptions correctly. But according to IO-318, this is rare. > [1] http://markmail.org/message/x3bpi2qsudskqu2l > [2] http://www.osgi.org/wiki/uploads/Links/SemanticVersioning.pdf -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira