[jboss-dev-forums] [Design of JBoss Build System] - New Maven Repositories

pgier do-not-reply at jboss.com
Tue Feb 6 11:21:48 EST 2007


I think it would be useful to have a separate snapshot repository for maven builds.  We could set it up something like this:

maven2/ - similar to our existing repository, but does not contain any snapshot builds.

maven2-snapshots/ - contains snapshot versions

One advantage of this is that we can configure the build to use a release profile that does not allow dependencies from the snapshots repository, so we can make sure that a release build only includes other releases.

Also, the snapshot repository would not need to be in SVN or CVS, because each snapshot build will get a date and a build number attached to it.  And it seems unlikely that we would need to regenerate an old snapshot.

We could also be more open with the permissions in the snapshot repository so that developers can add jars as needed.  The regular maven2 repository can be under stricter control updated only by release engineering.

Another question is do we want to split the main repository from the plugins repository?  Something like this:
/maven2-plugin-releases/
/maven2-plugin-snapshots/
I don't see much advantage to this.  It provides a little bit more organization, but I'm not sure if it's worth it.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012000#4012000

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012000



More information about the jboss-dev-forums mailing list