aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Somov <public.somov@gmail.com>2022-09-09 11:33:15 +0300
committerAndrey Somov <public.somov@gmail.com>2022-09-09 11:33:15 +0300
commite438e58e1bc568555fd12e60ea7dd89cf01821f8 (patch)
treeb302afae0aed9a054f70901fc9ec8cd869c9f58b
parent2c892b6862a49bdfa7ee7d58726686c4816ce594 (diff)
downloadsnakeyaml-e438e58e1bc568555fd12e60ea7dd89cf01821f8.tar.gz
Update POM - fix removals
-rw-r--r--pom.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index d6031ed9..b41a2459 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,6 +12,8 @@
<snapshot.repo.url>https://oss.sonatype.org/content/repositories/snapshots/</snapshot.repo.url>
<maven.compiler.source>7</maven.compiler.source>
<maven.compiler.target>7</maven.compiler.target>
+ <maven.compiler.testSource>8</maven.compiler.testSource>
+ <maven.compiler.testTarget>8</maven.compiler.testTarget>
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
<maven-bundle-plugin.version>5.1.6</maven-bundle-plugin.version>
<maven-resources-plugin.version>3.1.0</maven-resources-plugin.version><!-- for Github CI -->
@@ -802,5 +804,27 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>reformat</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>net.revelc.code.formatter</groupId>
+ <artifactId>formatter-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>format</goal>
+ </goals>
+ <configuration>
+ <configFile>src/etc/eclipse-java-google-style.xml</configFile>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>