GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||
GeezerVison is showing github.com — Add a Maven plugin with format and check goals · Issue #26 · openjavaformat/open-java-format Closed Labels enhancementNew feature or requestNew feature or request DescriptionWhyMaven users have no way to run open-java-format from their build today.
ProposalA plugin
<plugin> <groupId>dev.openjavaformat</groupId> <artifactId>open-java-format-maven-plugin</artifactId> <version><!-- the formatter version --></version> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> From the command line the prefix gives As few settings as possible, in line with a formatter that has none: the source roots, which default to the module's compile and test source roots, includes and excludes, and How the formatter runsThe formatter needs javac's internal packages exported. Running it inside the Maven JVM would make every project add the five
The formatter comes from the plugin's own dependencies, so it needs nothing from the project's repositories. That is the principle of #20 for the Gradle plugin. Building it hereThe repository builds with Gradle, and a Maven plugin needs a plugin descriptor. Done when
Related
ActivityMetadataMetadataAssigneesLabelsenhancementNew feature or requestNew feature or request TypeProjectsMilestoneRelationshipsDevelopmentIssue actions | |||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |