Version 2 (modified by 14 years ago) ( diff ) | ,
---|
Maven Repository
The BRICCS Maven repository is currently (December 2010) a Maven2 repository.
The repository is important because it gives access to already built BRICCS artifacts. That is, a development environment is not required in order to build an artifact before deploying it in a live or test environment (eg: within Tomcat or JBoss); rather, an already built and versioned artifact should be available from the maven repository.
Over time the repository may also give access to third party artifacts (acting as a mirror for other publicly available repositories), but that is not the case at present.
Ideas for a Naming Standard
We need to differentiate between:
- Artifacts which have gone live; ie: the source is tagged within SVN. These could be historical as well as currently live versions.
- Artifacts built from source at the trunk within SVN; ie: developed but not deployed in a live environment yet.
The first of these is of prime importance: it represents official, released versions. The second is only there for developers to share for development or integration purposes.
Some organizations run two repositories to differentiate these levels. This seems a little too much for the level of BRICCS development at present, so I suggest:
- Artifacts built from tagged versions within SVN (ie: official releases) should have the standard version numbering system.
- Artifacts built from the trunk (but not yet released as official versions) should have SNAPSHOT within the name.
For instance, the unique id generator might have releases briccs-uidgen-1.0.jar and briccs-uidgen-1.0.1.jar, whereas the very latest source would (if it has been deployed within maven) have an unreleased artifact of briccs-uidgen-n.n.n-SNAPSHOT.jar where n.n.n is the proposed next version number for its release.
Just a Note
The above seems sensible to me and in the spirit of Maven examples. But it is not how the Obiba repository is structured, where SNAPSHOT seems to be used as a sort of indication of tagging. But I find the Obiba way confusing.