This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-jdeps-plugin.git
The following commit(s) were added to refs/heads/master by this push: new 7893d12 Remove commented code (#17) 7893d12 is described below commit 7893d127ad1204b32a64963e81826aca73b85ea9 Author: Elliotte Rusty Harold <elh...@users.noreply.github.com> AuthorDate: Mon Dec 16 12:15:39 2024 +0000 Remove commented code (#17) --- .../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)