Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/veithen/eclipse-settings-maven-plugin

Applies Eclipse settings for Maven projects
https://github.com/veithen/eclipse-settings-maven-plugin

eclipse m2e maven maven-plugin

Last synced: 14 days ago
JSON representation

Applies Eclipse settings for Maven projects

Awesome Lists containing this project

README

        

# eclipse-settings-maven-plugin

Applies per-project Eclipse settings to Maven projects. The most common use cases is to configure the Java code formatter to conform to the code style in use in the project.

There are two key differences with other similarly named Maven plugins:

* The plugin sets individual properties instead of replacing entire preference files. This is important for the `org.eclipse.jdt.core` bundle because its preferences contain compiler settings as well as the code formatter configuration. The compiler settings are generated by [M2E](https://www.eclipse.org/m2e/) based on the maven-compiler-plugin configuration. They must not be overwritten when applying code formatter settings.

* The settings are configured directly in the POM (typically in a parent POM) instead of a separate settings JAR.

## Usage


com.github.veithen.maven
eclipse-settings-maven-plugin



apply






org.eclipse.jdt.core


org.eclipse.jdt.core.formatter.comment.line_length
100


org.eclipse.jdt.core.formatter.lineSplit
100


org.eclipse.jdt.core.formatter.tabulation.char
space


org.eclipse.jdt.core.formatter.indentation.size
4