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

elharo pushed a commit to branch comment
in repository https://gitbox.apache.org/repos/asf/maven-jdeps-plugin.git

commit 513efec1f9b7c44c2168ce4dd347e7aaca50c74b
Author: Elliotte Rusty Harold <elh...@ibiblio.org>
AuthorDate: Mon Dec 16 07:00:08 2024 -0500

    Remove commented code
---
 .../maven/plugins/jdeps/AbstractJDepsMojo.java     | 37 ----------------------
 1 file changed, 37 deletions(-)

diff --git 
a/src/main/java/org/apache/maven/plugins/jdeps/AbstractJDepsMojo.java 
b/src/main/java/org/apache/maven/plugins/jdeps/AbstractJDepsMojo.java
index ab4a641..82ce1c0 100644
--- a/src/main/java/org/apache/maven/plugins/jdeps/AbstractJDepsMojo.java
+++ b/src/main/java/org/apache/maven/plugins/jdeps/AbstractJDepsMojo.java
@@ -132,9 +132,6 @@ public abstract class AbstractJDepsMojo extends 
AbstractMojo {
     @Parameter(property = "jdeps.dotOutput")
     private File dotOutput;
 
-    //    @Parameter( defaultValue = "false", property = "jdeps.summaryOnly" )
-    //    private boolean summaryOnly;
-
     /**
      * <dl>
      *   <dt>package</dt><dd>Print package-level dependencies excluding 
dependencies within the same archive<dd/>
@@ -153,18 +150,6 @@ public abstract class AbstractJDepsMojo extends 
AbstractMojo {
     @Parameter
     private List<String> packages;
 
-    //    /**
-    //     * A comma-separated list to find dependences in the given package 
(may be given multiple times)
-    //     */
-    //    @Parameter( property = "jdeps.pkgnames" )
-    //    private String packageNames;
-    //
-    //    /**
-    //     * Finds dependences in packages matching pattern (-p and -e are 
exclusive)
-    //     */
-    //    @Parameter( property = "jdeps.regex" )
-    //    private String regex;
-
     /**
      * Restrict analysis to classes matching pattern. This option filters the 
list of classes to be analyzed. It can be
      * used together with <code>-p</code> and <code>-e</code> which apply 
pattern to the dependences
@@ -264,11 +249,6 @@ public abstract class AbstractJDepsMojo extends 
AbstractMojo {
             cmd.createArg().setFile(dotOutput);
         }
 
-        //        if ( summaryOnly )
-        //        {
-        //            cmd.createArg().setValue( "-s" );
-        //        }
-
         if (verbose != null) {
             if ("class".equals(verbose)) {
                 cmd.createArg().setValue("-verbose:class");
@@ -305,21 +285,6 @@ public abstract class AbstractJDepsMojo extends 
AbstractMojo {
             }
         }
 
-        //        if ( packageNames != null )
-        //        {
-        //            for ( String pkgName : packageNames.split( "[,:;]" ) )
-        //            {
-        //                cmd.createArg().setValue( "-p" );
-        //                cmd.createArg().setValue( pkgName );
-        //            }
-        //        }
-        //
-        //        if ( regex != null )
-        //        {
-        //            cmd.createArg().setValue( "-e" );
-        //            cmd.createArg().setValue( regex );
-        //        }
-
         if (include != null) {
             cmd.createArg().setValue("-include");
             cmd.createArg().setValue(include);
@@ -346,8 +311,6 @@ public abstract class AbstractJDepsMojo extends 
AbstractMojo {
         if (recursive) {
             cmd.createArg().setValue("-R");
         }
-
-        // cmd.createArg().setValue( "-version" );
     }
 
     protected Set<Path> getDependenciesToAnalyze(boolean includeClasspath)

Reply via email to