BUG-7464: enable checkstyle plugin 34/50134/7
authorRobert Varga <rovarga@cisco.com>
Mon, 9 Jan 2017 14:48:18 +0000 (15:48 +0100)
committerRobert Varga <nite@hq.sk>
Tue, 10 Jan 2017 23:44:44 +0000 (23:44 +0000)
Rather than skipping the plugin completely, just disable
the license check.

Change-Id: I9547ebbc16920f6921d9c0fa29e341bca80ba287
Signed-off-by: Robert Varga <rovarga@cisco.com>
third-party/triemap/pom.xml

index 479f6c58d982be2e740cd5817a6313eef84a6671..836cd6ab4eef43a2dfd907227ddb502c79a1edc1 100644 (file)
     <build>
         <plugins>
             <plugin>
-                <!-- This project has a different license -->
                 <artifactId>maven-checkstyle-plugin</artifactId>
                 <configuration>
-                    <skip>true</skip>
                     <propertyExpansion>checkstyle.violationSeverity=warning</propertyExpansion>
                 </configuration>
+                <executions>
+                    <execution>
+                        <id>check-license</id>
+                        <goals>
+                            <goal>check</goal>
+                        </goals>
+                        <configuration>
+                            <!-- This project has a different license -->
+                            <skip>true</skip>
+                        </configuration>
+                    </execution>
+                </executions>
             </plugin>
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>