Apache Maven 1.x has reached its end of life, and is no longer supported. For more information, see the announcement. Users are encouraged to migrate to the current version of Apache Maven.

Jalopy Settings

PropertyOptional?Description
maven.jalopy.fileFormat Yes Sets the file format of the output files. The file format controls what end of line character is used. Either one of "UNIX", "DOS", MAC", "DEFAULT" or "AUTO" can be used. Defaults to "AUTO" (case insensitive).
maven.jalopy.style Yes Sets the preferences file to use - given either relative to the project's basedir or as an absolute local path or internet address. If omitted, the current preferences are used, if available. Otherwise the Jalopy build-in defaults will be used. Defaults to "${plugin.dir}/jalopy_maven.xml".
maven.jalopy.history Yes Specifies the history policy to use. Either one of "COMMENT", "FILE" or "NONE" can be used. Defaults to "none".
maven.jalopy.failOnError Yes Indicates whether a run should be held if errors occured. Defaults to "true".
maven.jalopy.inspect Yes Indicates whether source files should be inspected during a format. Defaults to "false".
maven.jalopy.backup Yes Indicates whether to keep backup copies of formatted files. Defaults to "false".
maven.jalopy.force Yes Indicates whether to force the formatting. Defaults to "false".
maven.jalopy.encoding Yes Sets the encoding that controls how Jalopy interprets text files containing characters beyond the ASCII character set. Defaults to the value of maven.compile.encoding, if this is not set, the platform's default encoding will be used.
maven.jalopy.filesetInclude Yes Specifies a fileset source file to format. Defaults to **/*.java.
maven.jalopy.filesetExclude Yes Source files excluded from format. Default: empty.
maven.jalopy.src.filesetInclude Yes For src/java directory. Specifies a fileset source file to format. This is a comma- or space-separated list of patterns of files. Defaults to ${maven.jalopy.filesetInclude}.
maven.jalopy.src.filesetExclude Yes For src/java direcotry. Source files excluded from format. This is a comma- or space-separated list of patterns of files. Defaults to ${maven.jalopy.filesetExclude}.
maven.jalopy.test.filesetInclude Yes For src/test directory. Specifies a fileset source file to format. This is a comma- or space-separated list of patterns of files. Defaults to ${maven.jalopy.filesetInclude}.
maven.jalopy.test.filesetExclude Yes For src/test direcotry. Source files excluded from format. This is a comma- or space-separated list of patterns of files. Defaults to ${maven.jalopy.filesetExclude}.