Usage

The Jalopy Plug-in provides a standard goal to format your sources. For example, to format all source files from the current project, run:

maven triemax-jalopy

You'll notice that all of the code is compiled before any formatting is applied. This is good practise in order to ensure valid input.

If you want to bypass the compilation, you can use another goal:

maven triemax-jalopy:format
Goals

Table 11.2. Jalopy Maven Jelly goals

GoalDescription
triemax-jalopyFormats the source files according to coding convention. The source files will be compiled before formatting takes place.
triemax-jalopy:formatFormats the source files according to coding convention.
triemax-jalopy:taskdefDefines the Jalopy task to Ant and Jelly.