M2E formatter Connector

Plugin for formatting source code

License

License

Categories

Categories

Net ORM Data
GroupId

GroupId

net.revelc.code.formatter
ArtifactId

ArtifactId

net.revelc.code.formatter.parent
Last Version

Last Version

2.1.0.RC1
Release Date

Release Date

Type

Type

pom
Description

Description

M2E formatter Connector
Plugin for formatting source code

Download net.revelc.code.formatter.parent

How to add to project

<!-- https://jarcasting.com/artifacts/net.revelc.code.formatter/net.revelc.code.formatter.parent/ -->
<dependency>
    <groupId>net.revelc.code.formatter</groupId>
    <artifactId>net.revelc.code.formatter.parent</artifactId>
    <version>2.1.0.RC1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/net.revelc.code.formatter/net.revelc.code.formatter.parent/
implementation 'net.revelc.code.formatter:net.revelc.code.formatter.parent:2.1.0.RC1'
// https://jarcasting.com/artifacts/net.revelc.code.formatter/net.revelc.code.formatter.parent/
implementation ("net.revelc.code.formatter:net.revelc.code.formatter.parent:2.1.0.RC1")
'net.revelc.code.formatter:net.revelc.code.formatter.parent:pom:2.1.0.RC1'
<dependency org="net.revelc.code.formatter" name="net.revelc.code.formatter.parent" rev="2.1.0.RC1">
  <artifact name="net.revelc.code.formatter.parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='net.revelc.code.formatter', module='net.revelc.code.formatter.parent', version='2.1.0.RC1')
)
libraryDependencies += "net.revelc.code.formatter" % "net.revelc.code.formatter.parent" % "2.1.0.RC1"
[net.revelc.code.formatter/net.revelc.code.formatter.parent "2.1.0.RC1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • net.revelc.code.formatter
  • net.revelc.code.formatter.feature
  • net.revelc.code.formatter.site

formatter-maven-plugin

mvn verify Maven Central Apache 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; 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.

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 for a list of recent versions of this plugin and their corresponding Eclipse versions.

net.revelc.code.formatter

code.revelc.net

Random open source software for the public good.

Versions

Version
2.1.0.RC1
2.0.1
2.0.0