This content has been superseded by Looking at the Piranha Maven plugin
The Piranha Server 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 Server 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-server-maven-plugin</artifactId> </plugin>
If you want to run Piranha Server and have the console echo its
logs use the piranha-server:run
goal.
If you want to run Piranha Server as a separate process use the
piranha-server:start
goal.
If you want to stop a running Piranha Server that you previously
started use the piranha-server:stop
goal.
And that is all that is needed to start your inner-loop development!
Posted December 8th, 2021