doing it [almost] the Maven way
After a bit of experimenting and a lot of help from Fabrizio, I came up with a [pre]release scheme that looks decent.
Three maven repositories for OpenWFE :
http://maven.openwfe.org/snapshots
http://maven.openwfe.org/prereleases
http://maven.openwfe.org/releases
The old
http://maven.openwfe.org/repo
is still available, but I plan to discontinue it in two or three months.
By using profiles (stored in profiles.xml not to overload the already fat top level pom.xml), I was able to get rid of the -1 trick. That’s a great relief, as the trick was ineffective when moving to a newer version : the old -1 pom was kept in the Maven2 cache and was still pointing to the previous version… argh…
I’m happy to have that orthodox http://maven.openwfe.org/ tree.
I’ll now get back to work and release an OpenWFE-1.7.2pre10 to populate the prereleases/ tree and to make our bean2jcr code available to Magnolia developers.
Maven2 is a great tool.
September 22, 2006 at 4:28 am
Help I cant build magnolia!
http://maven.openwfe.org/repo
puts us to this page, no downloads. Cant find the PRE8 files.
Thanks!!
September 22, 2006 at 4:40 am
As a workaround :
change the OpenWFE repository in your top level Magnolia pom.xml to
<repository>
<id>maven.openwfe.org.snapshots</id>
<url>http://maven.openwfe.org/snapshots</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
Then, in the magnolia/magnolia-module-workflow/pom.xml, change the openwfe.version to “1.7.2-SNAPSHOT”
And it should work.
That’ll be bleeding edge.
September 22, 2006 at 4:44 am
For something more stable :
<repository>
<id>maven.openwfe.org.snapshots</id>
<url>http://maven.openwfe.org/prereleases</url>
</repository>
Then, in the magnolia/magnolia-module-workflow/pom.xml, change the openwfe.version to “1.7.2pre11″
…