Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 61C169900 for ; Tue, 27 Sep 2011 21:31:08 +0000 (UTC) Received: (qmail 33432 invoked by uid 500); 27 Sep 2011 21:31:07 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 33393 invoked by uid 500); 27 Sep 2011 21:31:07 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 33351 invoked by uid 99); 27 Sep 2011 21:31:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2011 21:31:07 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2011 21:31:06 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AEE22289422 for ; Tue, 27 Sep 2011 21:30:45 +0000 (UTC) Date: Tue, 27 Sep 2011 21:30:45 +0000 (UTC) From: "Jukka Zitting (Resolved) (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <82971068.1313.1317159045718.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1788718118.26400.1316003108880.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (JCR-3073) Explicit management of public API 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/JCR-3073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting resolved JCR-3073. -------------------------------- Resolution: Fixed Assignee: Jukka Zitting We now have package-info and clirr settings for both jackrabbit-api and jackrabbit-jcr-commons. Resolving as fixed. > Explicit management of public API > --------------------------------- > > Key: JCR-3073 > URL: https://issues.apache.org/jira/browse/JCR-3073 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-api, jackrabbit-jcr-commons > Reporter: Jukka Zitting > Assignee: Jukka Zitting > Fix For: 2.3.0 > > > I'd like to start using the Clirr Maven plugin [1] to make sure that we don't accidentally break backwards compatibility in our public APIs, most notably in jackrabbit-api and jackrabbit-jcr-commons. > Also, we should start explicitly managing the API versions exposed as a part of the OSGi package metadata. Currently all our public packages simply get the latest project version as their version number, but it would be better if the version was explicitly managed and only updated if the API actually changes. To do this I propose we use @Version annotations from the bnd tool on the package-info.java files in all packages considered a part of our public API. > The Clirr plugin should flag all changes made in the API, so we have an easy way to tell which packages need to have their version numbers updated. > [1] http://mojo.codehaus.org/clirr-maven-plugin/ -- 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