You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by sk...@apache.org on 2022/05/10 11:31:16 UTC

[netbeans-mavenutils-nbm-shared] branch master updated: fix checkstyle issue

This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nbm-shared.git


The following commit(s) were added to refs/heads/master by this push:
     new 1fa6bc2  fix checkstyle issue
     new e54eca4  Merge pull request #7 from ebarboni/fixcheckstyle
1fa6bc2 is described below

commit 1fa6bc201c572dd3bb5b721ae113d120d5da5d04
Author: Eric Barboni <sk...@apache.org>
AuthorDate: Tue May 10 13:29:36 2022 +0200

    fix checkstyle issue
---
 pom.xml | 27 ++++++++++++++++++++++-----
 1 file changed, 22 insertions(+), 5 deletions(-)

diff --git a/pom.xml b/pom.xml
index 22c8f5e..b71e2b4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -52,8 +52,25 @@ under the License.
         <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nbm-shared.git</developerConnection>
         <url>https://github.com/apache/netbeans-mavenutils-nbm-shared</url>
       <tag>HEAD</tag>
-  </scm>
+    </scm>
     <build>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-checkstyle-plugin</artifactId>
+                    <version>3.1.2</version>
+                    <dependencies>
+                        <dependency>
+                            <groupId>com.puppycrawl.tools</groupId>
+                            <artifactId>checkstyle</artifactId>
+                            <!-- last jdk 8 compatible version -->
+                            <version>9.3</version>
+                        </dependency>
+                    </dependencies>
+                </plugin>
+            </plugins>
+        </pluginManagement>
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
@@ -101,7 +118,7 @@ under the License.
                             <report>project-team</report>
                             <report>scm</report>
                             <report>summary</report>
-                           
+
                         </reports>
                     </reportSet>
                 </reportSets>
@@ -177,10 +194,10 @@ under the License.
                         <excludedLink>plugin-info.html</excludedLink>
                     </excludedLinks>
                     <!--<excludedPages>
-                        <excludedPage>dependencies.html</excludedPage> 
+                        <excludedPage>dependencies.html</excludedPage>
                     </excludedPages>-->
                 </configuration>
-            </plugin>            
+            </plugin>
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>taglist-maven-plugin</artifactId>
@@ -234,6 +251,6 @@ under the License.
     </dependencies>
     <properties>
         <mojo.java.target>1.6</mojo.java.target>
-        <maven.version>3.0.4</maven.version>
+        <maven.version>3.8.5</maven.version>
     </properties>
 </project>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists