Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/veithen/eclipse-settings-maven-plugin
- Owner: veithen
- Created: 2020-04-12T14:58:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-07T11:06:41.000Z (30 days ago)
- Last Synced: 2024-10-15T20:23:29.636Z (22 days ago)
- Topics: eclipse, m2e, maven, maven-plugin
- Language: Java
- Homepage:
- Size: 44.9 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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