dev@glassfish.java.net

Re: How should packages created from glassfish modules be versioned

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Fri, 15 Jun 2007 14:50:49 -0700

Petteri Räty wrote:
> I want to package the deployment-api module from glassfish modules to
> replace our current fetch restricted binary package. The only question
> is how should I version it. Looking at project.xml of
> glassfish-v1_ur1-p01-b02-src.zip we have:
>
> betelgeuse_at_pena ~/btdown/glassfish/deployment-api $ grep -i version *
> build.xml:<?xml version="1.0" encoding="iso-8859-1"?>
> project.xml:<?xml version="1.0" encoding="UTF-8"?>
> project.xml: <pomVersion>3</pomVersion>
> project.xml: <currentVersion>9.0-SNAPSHOT</currentVersion>
>
> Probably the version number should include 9.0 and the glassfish release
> in some way? For example 9.0_pre110102?

For a module representing a Java standard API, wouldn't it be better
if the version number of the module matched the version number of the
corresponding Java spec?