On 12/11/06, Fabrizio Giustina <[EMAIL PROTECTED]> wrote:
- the 4th token MUST be separated with "-" in maven, while in osgi MUST be "." (this is handled by the make-artifacts goal actually). A version like 1.2.3-4 in maven is parsed as [major 1, minor 2, patch 3, build 4], a version like 1.2.3.4 is parsed as [major 0, minor 0, patch 0, build 0, qualifier "1.2.3.4"] (funny, I discovered this only recently by looking at DefaultVersion unit tests... I can't say I like it but that's how maven works and it's expected to work, you will never notice it till you will experiment 4 digits version numbers, and osgi bundles HAVE 4 digits version numbers).
i'd say that's a bug more than a "feature", I given the increasing importance OSGi is getting we should probably accommodate it. For what you say we need the build number as part of the version in eclipse stuff. There's no such thing as 3.2.0, it'll be always 3.2.0.x and that should be the Maven version -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]