This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-site.git
commit e89aac449589d2cf91550639a901d20e9d676066 Author: Sylwester Lachiewicz <[email protected]> AuthorDate: Sat Jan 4 17:56:42 2025 +0100 Add setup for Spotless to format Markdown files --- pom.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/pom.xml b/pom.xml index cb1724e8..78e50a9e 100644 --- a/pom.xml +++ b/pom.xml @@ -123,6 +123,26 @@ <skipDeploy>true</skipDeploy> </configuration> </plugin> + <plugin> + <groupId>com.diffplug.spotless</groupId> + <artifactId>spotless-maven-plugin</artifactId> + <version>2.44.0.BETA4</version> + <configuration combine.self="append"> + <markdown> + <includes> + <include>**/*.md</include> + </includes> + <flexmark /> + </markdown> + </configuration> + <dependencies> + <dependency> + <groupId>org.apache.maven.shared</groupId> + <artifactId>maven-shared-resources</artifactId> + <version>${version.maven-shared-resources}</version> + </dependency> + </dependencies> + </plugin> </plugins> </pluginManagement> <plugins>
