Return-Path: Delivered-To: apmail-aries-commits-archive@www.apache.org Received: (qmail 13221 invoked from network); 14 Mar 2011 13:57:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Mar 2011 13:57:33 -0000 Received: (qmail 94117 invoked by uid 500); 14 Mar 2011 13:57:33 -0000 Delivered-To: apmail-aries-commits-archive@aries.apache.org Received: (qmail 94072 invoked by uid 500); 14 Mar 2011 13:57:32 -0000 Mailing-List: contact commits-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list commits@aries.apache.org Received: (qmail 94064 invoked by uid 99); 14 Mar 2011 13:57:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2011 13:57:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2011 13:57:29 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 447EB2388A38; Mon, 14 Mar 2011 13:57:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r786959 - /websites/staging/aries/trunk/content/development/versionpolicy.html Date: Mon, 14 Mar 2011 13:57:05 -0000 To: commits@aries.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110314135705.447EB2388A38@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Mon Mar 14 13:57:04 2011 New Revision: 786959 Log: Staging update by buildbot Added: websites/staging/aries/trunk/content/development/versionpolicy.html Added: websites/staging/aries/trunk/content/development/versionpolicy.html ============================================================================== --- websites/staging/aries/trunk/content/development/versionpolicy.html (added) +++ websites/staging/aries/trunk/content/development/versionpolicy.html Mon Mar 14 13:57:04 2011 @@ -0,0 +1,291 @@ + + + + + + + + + + Apache Aries - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
   
   +
+ +
+
+ + + + + +
+
+ + +
+
+
+ +
+
+ License + + + + + + +
+
+ +
+
+
+
  
  + + + + + +
+
+
+
+ +
+
+
+
+ +

Versioning policy - DRAFT

+

This projecst aims to implement OSGi semantic versioning as described here: www.osgi.org/wiki/uploads/Links/SemanticVersioning.pdf.

+

The implementation of semantic versioning has a number of practical implications for managing a project. These are +outlined in this section.

+

Bundle version. +OSGi semantic versioning applies to bundles as well as packages. When releaseing a new version of a bundle +the change in the bundle version should give some indication of nature of the changes to the bundle. +In Aries the bundle version is always the same as version of the Maven artifact that relates to the bundle. +During development teh Maven artifact version may be either:

+
    +
  • x.y.z Where x.y.z is the most recent release of the bundle
  • +
  • x.y.(z+1)-SNAPSHOT Indicating that the bundle has changed since it was last released.
  • +
+

Immediately after a release the Maven version is set the same as the release. Bundles which depend +on the bundle will pick up the released version. When a developer first makes a change to the bundle the version +is changed to be a SNAPSHOT version, indicating to a release manager that the bundle is a candidate for release.

+

At release time the release version of the bundle must be assigned by the release manager after reviewing +the changes since the last release.

+

Package versions

+

Exported packages +Versions specified in packageinfo files with teh source code. +The location of pacgageinfo is configured in build resounces in the default-parent pom. If your pom has a build resources section it replaces what is inherited from teh default-parent, so you may need to reproduce the section which specifies where packageinf can be found.

+

Imports +The bnd defualt verion range policy for imports is teh consumer policy (==, +), you may need to override this if you want to be more prescriptove about secific aries imports.

+ +
+
 
   + +   
   
+ +