> The artifact name does not have to be unique with OSGi bundles. Due to
> file system limitations, you cannot place two artifacts with the same
> name in the same directory, but with OSGi you can place your artifacts
> with the same name in different directories & get them to successfully
> deploy, provided that the bundle versions are different.
Hehe, does not that mean you need to have the unique file name ? ;-)
I know we have the file system limitation (I would not consider that as
a limitation). Even in Axis2 we can tell the same story, that we do not
depend on the name of the archive but file system. I think it is always
easy to have the version number in the file itself, it make us to
identify the bundle or file easily (no need to extract and go though the
> Anyway, I was not around when module versioning was implemented, and I
> strongly feel that trying to derive a version from an artifact is a
> "tried & failed" approach.
But most people use that approach (including you)
> Even Maven does not do that. Just take a look at the directory
> structure of a Maven repo. The folder structure reflects the artifact
> version, even though you see a number in the artifact that looks like
> a version number to a human being.
it is just data duplication. I am not in the favor of maven file
structure. And I am -1 on introducing such a thing into Axis2.
> So, if we are going to implement service versioning, I'd recommend
> that we go for a scheme that does not try to derive the version from
> the artifact.
I agree and +1, but not the ugly directory structure that he has introduced.