diff options
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> |