You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

This is still a work in progress...

Prerequisites -

Checkout Geronimo

For the impatient ...

A little patience is required. If you are building for the first time -

$> cd m2migration
$> ./bootstrap

After this you can build all the components any time using -

$> mvn clean install

Building Geronimo -

Update the source using svn update
Once all the dependencies have been downloaded, Geronimo can be built offline.

$> mvn -o clean
$> mvn -o

important

The 'configs' must always be built using mvn clean install

  • Building all the projects at once -

The main project is divided into many groups, each group contains many individual projects. The groups are -

    • modules
    • applications
    • m2-plugins
    • openejb (optional)
    • configs
    • assemblies
      Geronimo build downloads all the necessary openejb jars. To build Geronimo without openejb

      $> mvn clean install (coming soon..)

      Sometimes the latest openejb jars are not available in the repositories. If you see any openejb related failures, you need to build openejb. To build geronimo and openejb together

      $>mvn -Dbuild-all clean install (coming soon..)

  • Building a single project

There are many ways to build a single project.

    • From the top level or second level

To specify the name of a single project use any of the following properties :
mvn -Dmodule=kernel
mvn -Dapp=console
mvn -Dplugin=geronimo-packaging-plugin
mvn -Dconfig=j2ee-system clean install
mvn -Dejbmodule=openejb-core

    • From the individual project level

mvn or mvn clean install

  • Building a set of projects -

    • From the top level

To build a group project use the 'all' property -
mvn -Dall=modules | applications | m2-plugins | openejb | configs clean install

    • From the second level

cd modules | applications | m2-plugins | openejb | configs
mvn or mvn clean install

Other Useful commands

To prepare Geronimo for Eclipse, i.e to create .classpath and .project files
mvn -o eclipse:eclipse

  • No labels