How about a 3rd option that requires zero user configuration and zero changes to our own pom.xml files?
(3) Generate all Directory sub-project snapshots, studio and apacheds on the CI server which occurs regularly on each build, then upload them to the standard expected location on people.apache.org. Here's where we keep the snapshot repository:
Which btw has been blown away by me. I did this to prevent maven dependency chaos when we have multiple branches all using the same version for ApacheDS. However this is not so much of a worry now as these branches are about to die.
So our pom.xml project for the TLP is setup to look here automatically for SNAPSHOT jars via the web URL for this folder here:
This way when projects like studio and apacheds whose builds depend on shared SNAPSHOT, can be checked out separately without having the builds fail. Maven will automatically pull down the SNAPSHOT dependencies directly from this snapshot repository at Apache.
Felix Knecht schrieb:
> Hi AllWhen choosing 2. you'll need either to activate a profile by default or always choose a profile to have access to the
> I'm on the way to create a m2 snapshot repository for the directory
> projects on the CI machine (I know that snapshot are nowhere used ;-) ).
> Now there exists 2 ways to make a svn checkout aware of this repository:
> 1. Add the repository in each projects main pom.xml
> 2. Add the repository in your settings.xml  and make a note about
> this somewhere in the wiki
snapshot repo because <repositories> can be set only within a profile as it seems.
Therefor I prefer 1.
> What do you prefer?
>  http://maven.apache.org/ref/2.0.8/maven-settings/settings.html