Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Or, use the geronimo-maven-plugin to start the server:

No Format

mvn -Ptools geronimo:start
Tip
titleWindows Tip

Windows users may need to specify an alternative installDirectory to avoid long path problems:

No Format

mvn -Ptools geronimo:start -DinstallDirectory=c:\g

And to stop:

No Format

mvn -Ptools geronimo:stop
Required Maven Settings
Note
Note
title

In order to run with the simple geronimo prefix, you need to add a pluginGroup for org.apache.geronimo.plugins to your ~/.m2/settings.xml:

Code Block
xml
xml
<?xml version="1.0"?>
<settings>
    <pluginGroups>
        <pluginGroup>org.apache.geronimo.plugins</pluginGroup>
    </pluginGroups>
</settings>
No Format

mvn geronimo:start
Tip
titleWindows Tip

Windows users may need to specify an alternative installDirectory to avoid long path problems:

No Format

mvn geronimo:start -DinstallDirectory=c:\g

And to stop:

No Format
mvn geronimo:stop

If you don't want to add this to your local settings you can still enable the tools profile, which will register the prefixes.

Other Useful commands

To prepare Geronimo for IDEA:

...