This is a good idea.

Regards,
Alan


Jason Dillon wrote:
On Aug 11, 2006, at 12:32 PM, David Blevins wrote:
Have you thought about using specs/tags/<artifactId>-<version> for the tag names? That's what maven does, so I'm guessing you noticed and didn't like it for some reason.

The issue with that is that specs/tags becomes massive over time and not easy to grok.

But you are right, the release plugin puts the artifact on there too, so its more like:

    specs/tags/<artifactId>/<artifactId>-<version>

--jason



-David

This is a single trunk so to build all specs:

    svn co https://svn.apache.org/repos/asf/geronimo/specs/trunk/ specs
    cd specs
    mvn install

To release an individual spec, say geronimo-spec-jms:

    cd specs/geronimo-spec-jms
    mvn release

The m2 release plugin can be configured with a _tag base_, which we can set to:

https://svn.apache.org/repos/asf/geronimo/specs/tags/${pom.artifactId}

When released, the plugin will svn cp just the module's directory into a directory under tags, so it will be easy to see what the released versions of a specific spec are.

 * * *

I really do not see the need for each spec to have its own trunk, and really I think that if we did then it would just make it more difficult for cases when we really want all specs.

I do not see any downside to the approach above.

I recommend that we implement this. The only major change, which isn't that major, is that the properties which live in the root pom that control the versions need to be removed... or rather moved back to the <version> element of the respective pom.

Comments?

--jason




Reply via email to