- <plugin>
- <groupId>com.mycila.maven-license-plugin</groupId>
- <artifactId>maven-license-plugin</artifactId>
- <configuration>
- <header>license-apache2-header.txt</header>
- <failIfMissing>true</failIfMissing>
- <aggregate>true</aggregate>
- <includes>
- <include>src/**/*.java</include>
- <include>src/**/*.xml</include>
- </includes>
- <excludes>
- <exclude>**/springutil/**</exclude>
- <exclude>**/qooxdoo-sdk/**</exclude>
- </excludes>
- <useDefaultExcludes>true</useDefaultExcludes>
- <mapping>
- <java>SLASHSTAR_STYLE</java>
- <xml>XML_STYLE</xml>
- </mapping>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>