The Piranha Maven plugin is a Maven plugin that will make your inner-loop development a lot quicker. The plugin makes it possible for you to run, start and stop a Piranha instance which you can then use to run your web application.
Its core 3 goals are:
Add the following plugin definition to your project POM file to make it easy to use the plugin.
<plugin> <groupId>cloud.piranha.maven.plugins</groupId> <artifactId>piranha-maven-plugin</artifactId> </plugin>
If you want to run Piranha and have the console echo its
logs use the piranha:run
goal.
If you want to run Piranha as a separate process use the
piranha:start
goal.
If you want to stop a running Piranha that you previously
started use the piranha:stop
goal.
And that is all that is needed to start your inner-loop development!
Posted March 23rd, 2023