# formatter-maven-plugin **Repository Path**: lijcoder/formatter-maven-plugin ## Basic Information - **Project Name**: formatter-maven-plugin - **Description**: maven 代码格式化插件,源地址:https://github.com/revelc/formatter-maven-plugin - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-04-21 - **Last Updated**: 2022-06-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README formatter-maven-plugin ====================== [![Linux Build Status](https://travis-ci.org/revelc/formatter-maven-plugin.svg)](https://travis-ci.org/revelc/formatter-maven-plugin) [![Windows Build status](https://ci.appveyor.com/api/projects/status/j3cd0dwqlyu0iv2y?svg=true)](https://ci.appveyor.com/project/velo/formatter-maven-plugin) [![Coverage Status](https://coveralls.io/repos/revelc/formatter-maven-plugin/badge.svg?branch=master)](https://coveralls.io/r/revelc/formatter-maven-plugin?branch=master) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/net.revelc.code.formatter/formatter-maven-plugin/badge.svg)](https://maven-badges.herokuapp.com/maven-central/net.revelc.code.formatter/formatter-maven-plugin/) [![Issues](https://img.shields.io/github/issues/revelc/formatter-maven-plugin.svg)](https://github.com/revelc/formatter-maven-plugin/issues) [![Forks](https://img.shields.io/github/forks/revelc/formatter-maven-plugin.svg)](https://github.com/revelc/formatter-maven-plugin/network) [![Stars](https://img.shields.io/github/stars/revelc/formatter-maven-plugin.svg)](https://github.com/revelc/formatter-maven-plugin/stargazers) [![Apache License](http://img.shields.io/badge/license-ASL-blue.svg)](https://github.com/revelc/formatter-maven-plugin/blob/master/LICENSE) This project provides a mechanism to automatically (re)format your [Maven] project during a Maven build, or to verify its formatting, so that your project can converge on consistent code style regardless of user preferences, IDE settings, etc. It began following a post on the topic (which can be found [here][blog]; thanks to John for writing such a helpful article). It now uses the [Eclipse] code formatter for Java, and has grown to support formatting of other file types as well. For a companion [m2e] project configurator, see [formatter-m2e-configurator]. This software is provided WITHOUT ANY WARRANTY, and is available under the Apache License, Version 2. Any code loss caused by using this plugin is not the responsibility of the author(s). Be sure to use some source repository management system such as GIT before using this plugin. Contributions are welcome. ## How to use View the Maven plugin documentation for the latest release [here][plugin-docs]. ## Eclipse Compatibility The primary use case of this plugin is to ensure consistent formatting for a project, regardless of differences between IDE preferences or IDE versions that developers use. Nevertheless, some users may find it useful to correlate versions of this plugin to the version of Eclipse whose code is used as the basis for this plugin's formatting. See [the wiki][compat] for a list of recent versions of this plugin and their corresponding Eclipse versions. [Eclipse]: https://eclipse.org [Maven]: https://maven.apache.org [blog]: http://ssscripting.wordpress.com/2009/06/10/how-to-use-the-eclipse-code-formatter-from-your-code/ [compat]: https://github.com/revelc/formatter-maven-plugin/wiki/Eclipse-Version-Compatibility [formatter-m2e-configurator]: https://github.com/revelc/formatter-m2e-configurator [m2e]: https://eclipse.org/m2e [plugin-docs]: http://code.revelc.net/formatter-maven-plugin/ [related1]: http://wiki.eclipse.org/M2E_extension_development_environment [related2]: http://wiki.eclipse.org/Submitting_M2E_marketplace_entries [related3]: http://www.eclipse.org/forums/index.php/t/478639/0/unread/ [related4]: http://www.vogella.com/articles/EclipsePreferences/article.html