processi

about processes and engines

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.

Written by John Mettraux

September 20, 2006 at 2:25 am

Posted in maven2, openwfe

3 Responses

Subscribe to comments with RSS.

  1. Help I cant build magnolia!

    http://maven.openwfe.org/repo

    puts us to this page, no downloads. Cant find the PRE8 files.

    Thanks!!

    Todd

    September 22, 2006 at 4:28 am

  2. 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&gt;
    <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.

    John Mettraux

    September 22, 2006 at 4:40 am

  3. For something more stable :

    <repository>
    <id>maven.openwfe.org.snapshots</id>
    <url>http://maven.openwfe.org/prereleases</url&gt;
    </repository>

    Then, in the magnolia/magnolia-module-workflow/pom.xml, change the openwfe.version to “1.7.2pre11”

    John Mettraux

    September 22, 2006 at 4:44 am


Comments are closed.

%d bloggers like this: