diff options
author | Ilia Motornyi <elmot@vaadin.com> | 2018-04-19 15:14:53 +0300 |
---|---|---|
committer | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2018-04-19 15:14:53 +0300 |
commit | d543e47becc77e5b18c69a416e6e84122ac10fe1 (patch) | |
tree | 49b4e4e245319b0e93a4b1d3739096eb2d082eea /pom.xml | |
parent | bdbb0b4328a36a66bb492973ca72497bfd34f6ad (diff) | |
download | vaadin-framework-d543e47becc77e5b18c69a416e6e84122ac10fe1.tar.gz vaadin-framework-d543e47becc77e5b18c69a416e6e84122ac10fe1.zip |
Enable Maven plugin for Eclipse formatting (#10829)
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 42 |
1 files changed, 32 insertions, 10 deletions
@@ -454,6 +454,38 @@ <version>${vaadin.plugin.version}</version> </plugin> <plugin> + <groupId>net.revelc.code.formatter</groupId> + <artifactId>formatter-maven-plugin</artifactId> + <version>2.7.2</version> + <configuration> + <configFile>${project.basedir}/../eclipse/VaadinJavaConventions.xml</configFile> + <skipJsFormatting>true</skipJsFormatting> + </configuration> + <executions> + <execution> + <id>format-source</id> + <goals> + <goal>format</goal> + </goals> + <phase>process-sources</phase> + </execution> + </executions> + </plugin> + <plugin> + <groupId>com.github.dantwining.whitespace-maven-plugin</groupId> + <artifactId>whitespace-maven-plugin</artifactId> + <version>1.0.4</version> + <executions> + <execution> + <id>trim-trailing-spaces-source</id> + <goals> + <goal>trim</goal> + </goals> + <phase>process-sources</phase> + </execution> + </executions> + </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.17</version> @@ -541,16 +573,6 @@ <plugins> <plugin> - <groupId>com.marvinformatics.formatter</groupId> - <artifactId>formatter-maven-plugin</artifactId> - <version>1.8.1</version> - <configuration> - <configFile>classpath:/eclipse/VaadinJavaConventions.xml</configFile> - <!-- Provide a dummy JS config file to avoid errors --> - <configJsFile>classpath:/eclipse/VaadinJavaConventions.xml</configJsFile> - </configuration> - </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-maven-plugin</artifactId> <executions> |