Configuration

Although Jalopy ships with sensible default settings (mimicking the Sun Java coding convention), you most likely want to configure the formatter to match your needs (adding copyright headers, tune Javadoc handling and the like). For such, Jalopy comes with a graphical configuration tool that lets you interactively customize the settings. See Chapter 2, Configuration for an in-depth discussion of the available options.

To display the configuration tool, you can use the configure goal from within Maven. Either using the complete notation

% mvn triemax:jalopy-maven:configure

or just the shorthand

% mvn jalopy:configure

When you’re done configuring the settings, you should export the code convention as described in the section called “Export code convention”. The exported settings file is typically used as part of the Jalopy plugin configuration in the build script.