maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r922616 - in /maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency: ./ treeSerializers/
Date Sat, 13 Mar 2010 17:10:39 GMT
Author: hboutemy
Date: Sat Mar 13 17:10:38 2010
New Revision: 922616

URL: http://svn.apache.org/viewvc?rev=922616&view=rev
Log:
fixed typos

Modified:
    maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AbstractDependencyFilterMojo.java
    maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AbstractResolveMojo.java
    maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AnalyzeDepMgt.java
    maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AnalyzeReportMojo.java
    maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/treeSerializers/DOTDependencyNodeVisitor.java
    maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/treeSerializers/GraphmlDependencyNodeVisitor.java

Modified: maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AbstractDependencyFilterMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AbstractDependencyFilterMojo.java?rev=922616&r1=922615&r2=922616&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AbstractDependencyFilterMojo.java
(original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AbstractDependencyFilterMojo.java
Sat Mar 13 17:10:38 2010
@@ -6,9 +6,9 @@ package org.apache.maven.plugin.dependen
  * copyright ownership. The ASF licenses this file to you under the Apache License, Version
2.0 (the
  * "License"); you may not use this file except in compliance with the License. You may obtain
a
  * copy of the License at
- * 
+ *
  * http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software distributed under
the License
  * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
express
  * or implied. See the License for the specific language governing permissions and limitations
under
@@ -38,9 +38,9 @@ import org.apache.maven.shared.artifact.
 import org.codehaus.plexus.util.StringUtils;
 
 /**
- * Class that excapusulates the plugin parameters, and contains methods that
+ * Class that encapsulates the plugin parameters, and contains methods that
  * handle dependency filtering
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  * @version $Id$
  * @see org.apache.maven.plugin.dependency.AbstractDependencyMojo
@@ -50,7 +50,7 @@ public abstract class AbstractDependency
 {
     /**
      * If we should exclude transitive dependencies
-     * 
+     *
      * @since 2.0
      * @optional
      * @parameter expression="${excludeTransitive}" default-value="false"
@@ -60,7 +60,7 @@ public abstract class AbstractDependency
     /**
      * Comma Separated list of Types to include. Empty String indicates include
      * everything (default).
-     * 
+     *
      * @since 2.0
      * @parameter expression="${includeTypes}" default-value=""
      * @optional
@@ -70,7 +70,7 @@ public abstract class AbstractDependency
     /**
      * Comma Separated list of Types to exclude. Empty String indicates don't
      * exclude anything (default).
-     * 
+     *
      * @since 2.0
      * @parameter expression="${excludeTypes}" default-value=""
      * @optional
@@ -79,7 +79,7 @@ public abstract class AbstractDependency
 
     /**
      * Scope to include. An Empty string indicates all scopes (default).
-     * 
+     *
      * @since 2.0
      * @parameter expression="${includeScope}" default-value=""
      * @optional
@@ -88,7 +88,7 @@ public abstract class AbstractDependency
 
     /**
      * Scope to exclude. An Empty string indicates no scopes (default).
-     * 
+     *
      * @since 2.0
      * @parameter expression="${excludeScope}" default-value=""
      * @optional
@@ -98,7 +98,7 @@ public abstract class AbstractDependency
     /**
      * Comma Separated list of Classifiers to include. Empty String indicates
      * include everything (default).
-     * 
+     *
      * @since 2.0
      * @parameter expression="${includeClassifiers}" default-value=""
      * @optional
@@ -108,7 +108,7 @@ public abstract class AbstractDependency
     /**
      * Comma Separated list of Classifiers to exclude. Empty String indicates
      * don't exclude anything (default).
-     * 
+     *
      * @since 2.0
      * @parameter expression="${excludeClassifiers}" default-value=""
      * @optional
@@ -117,7 +117,7 @@ public abstract class AbstractDependency
 
     /**
      * Specify classifier to look for. Example: sources
-     * 
+     *
      * @optional
      * @since 2.0
      * @parameter expression="${classifier}" default-value=""
@@ -127,7 +127,7 @@ public abstract class AbstractDependency
     /**
      * Specify type to look for when constructing artifact based on classifier.
      * Example: java-source,jar,war
-     * 
+     *
      * @optional
      * @since 2.0
      * @parameter expression="${type}" default-value="java-source"
@@ -136,7 +136,7 @@ public abstract class AbstractDependency
 
     /**
      * Comma separated list of Artifact names too exclude.
-     * 
+     *
      * @since 2.0
      * @optional
      * @parameter expression="${excludeArtifactIds}" default-value=""
@@ -145,7 +145,7 @@ public abstract class AbstractDependency
 
     /**
      * Comma separated list of Artifact names to include.
-     * 
+     *
      * @since 2.0
      * @optional
      * @parameter expression="${includeArtifactIds}" default-value=""
@@ -154,7 +154,7 @@ public abstract class AbstractDependency
 
     /**
      * Comma separated list of GroupId Names to exclude.
-     * 
+     *
      * @since 2.0
      * @optional
      * @parameter expression="${excludeGroupIds}" default-value=""
@@ -163,7 +163,7 @@ public abstract class AbstractDependency
 
     /**
      * Comma separated list of GroupIds to include.
-     * 
+     *
      * @since 2.0
      * @optional
      * @parameter expression="${includeGroupIds}" default-value=""
@@ -172,7 +172,7 @@ public abstract class AbstractDependency
 
     /**
      * Directory to store flag files
-     * 
+     *
      * @parameter expression="${markersDirectory}"
      *            default-value="${project.build.directory}/dependency-maven-plugin-markers"
      * @optional
@@ -182,7 +182,7 @@ public abstract class AbstractDependency
 
     /**
      * Overwrite release artifacts
-     * 
+     *
      * @optional
      * @since 1.0
      * @parameter expression="${overWriteReleases}" default-value="false"
@@ -191,7 +191,7 @@ public abstract class AbstractDependency
 
     /**
      * Overwrite snapshot artifacts
-     * 
+     *
      * @optional
      * @since 1.0
      * @parameter expression="${overWriteSnapshots}" default-value="false"
@@ -200,7 +200,7 @@ public abstract class AbstractDependency
 
     /**
      * Overwrite artifacts that don't exist or are older than the source.
-     * 
+     *
      * @optional
      * @since 2.0
      * @parameter expression="${overWriteIfNewer}" default-value="true"
@@ -211,9 +211,9 @@ public abstract class AbstractDependency
 
     /**
      * Retrieves dependencies, either direct only or all including transitive.
-     * 
+     *
      * @return A HashSet of artifacts
-     * @throws MojoExecutionException 
+     * @throws MojoExecutionException
      */
     protected Set getResolvedDependencies( boolean stopOnFailure )
         throws MojoExecutionException
@@ -225,15 +225,15 @@ public abstract class AbstractDependency
     }
 
     /**
-     * 
+     *
      * Method creates filters and filters the projects dependencies. This method
      * also transforms the dependencies if classifier is set. The dependencies
      * are filtered in least specific to most specific order
-     * 
+     *
      * @param stopOnFailure
      * @return DependencyStatusSets - Bean of TreeSets that contains information
      *         on the projects dependencies
-     * @throws MojoExecutionException 
+     * @throws MojoExecutionException
      */
     protected DependencyStatusSets getDependencySets( boolean stopOnFailure )
         throws MojoExecutionException
@@ -286,9 +286,9 @@ public abstract class AbstractDependency
     }
 
     /**
-     * 
+     *
      * Transform artifacts
-     * 
+     *
      * @param artifacts
      * @param stopOnFailure
      * @return DependencyStatusSets - Bean of TreeSets that contains information
@@ -334,7 +334,7 @@ public abstract class AbstractDependency
 
     /**
      * Filter the marked dependencies
-     * 
+     *
      * @param artifacts
      * @return
      * @throws MojoExecutionException

Modified: maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AbstractResolveMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AbstractResolveMojo.java?rev=922616&r1=922615&r2=922616&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AbstractResolveMojo.java
(original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AbstractResolveMojo.java
Sat Mar 13 17:10:38 2010
@@ -16,7 +16,7 @@ package org.apache.maven.plugin.dependen
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
- * under the License.    
+ * under the License.
  */
 
 import java.io.File;
@@ -35,34 +35,36 @@ import org.apache.maven.project.artifact
 /**
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  * @version $Id$
- * 
+ *
  */
 public abstract class AbstractResolveMojo
     extends AbstractDependencyFilterMojo
 {
     /**
      * Project builder -- builds a model from a pom.xml
-     * 
+     *
      * @component role="org.apache.maven.project.MavenProjectBuilder"
      * @required
      * @readonly
      */
     protected MavenProjectBuilder mavenProjectBuilder;
+
     /**
      * If specified, this parameter will cause the dependencies to be written to the path
specified, instead of writing
      * to the console.
-     * 
+     *
      * @parameter expression="${outputFile}"
      * @since 2.0
      */
     protected File outputFile;
+
     /**
      * This method resolves the dependency artifacts from the project.
-     * 
+     *
      * @param theProject
      *            The POM.
      * @return resolved set of dependency artifacts.
-     * 
+     *
      * @throws ArtifactResolutionException
      * @throws ArtifactNotFoundException
      * @throws InvalidDependencyVersionException
@@ -84,12 +86,12 @@ public abstract class AbstractResolveMoj
 
     /**
      * This method resolves all transitive dependencies of an artifact.
-     * 
+     *
      * @param artifact
      *            the artifact used to retrieve dependencies
-     * 
+     *
      * @return resolved set of dependencies
-     * 
+     *
      * @throws ArtifactResolutionException
      * @throws ArtifactNotFoundException
      * @throws ProjectBuildingException

Modified: maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AnalyzeDepMgt.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AnalyzeDepMgt.java?rev=922616&r1=922615&r2=922616&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AnalyzeDepMgt.java
(original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AnalyzeDepMgt.java
Sat Mar 13 17:10:38 2010
@@ -43,7 +43,7 @@ import org.codehaus.plexus.util.StringUt
  * to 2.0.6, it was possible to inherit versions that didn't match your
  * dependencyManagement. See <a
  * href="http://jira.codehaus.org/browse/MNG-1577">MNG-1577</a> for more info.
- * This mojo is also usefull for just detecting projects that override the
+ * This mojo is also useful for just detecting projects that override the
  * dependencyManagement directly. Set ignoreDirect to false to detect these
  * otherwise normal conditions.
  *

Modified: maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AnalyzeReportMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AnalyzeReportMojo.java?rev=922616&r1=922615&r2=922616&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AnalyzeReportMojo.java
(original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AnalyzeReportMojo.java
Sat Mar 13 17:10:38 2010
@@ -33,12 +33,12 @@ import org.apache.maven.shared.dependenc
 import org.apache.maven.shared.dependency.analyzer.ProjectDependencyAnalyzerException;
 
 /**
- * Analyzes the dependencies of this project and produces a report that summarises which
are: used and declared; used
+ * Analyzes the dependencies of this project and produces a report that summarizes which
are: used and declared; used
  * and undeclared; unused and declared.
- * 
+ *
  * @version $Id$
  * @since 2.0-alpha-5
- * 
+ *
  * @goal analyze-report
  * @requiresDependencyResolution test
  * @execute phase="test-compile"
@@ -50,7 +50,7 @@ public class AnalyzeReportMojo
 
     /**
      * The Maven project to analyze.
-     * 
+     *
      * @parameter expression="${project}"
      * @required
      * @readonly
@@ -59,7 +59,7 @@ public class AnalyzeReportMojo
 
     /**
      * The Maven project dependency analyzer to use.
-     * 
+     *
      * @component
      * @required
      * @readonly
@@ -67,8 +67,8 @@ public class AnalyzeReportMojo
     private ProjectDependencyAnalyzer analyzer;
 
     /**
-     * 
-     * 
+     *
+     *
      * @component
      * @required
      * @readonly
@@ -77,7 +77,7 @@ public class AnalyzeReportMojo
 
     /**
      * Target folder
-     * 
+     *
      * @parameter expression="${project.build.directory}"
      * @readonly
      * @since 2.0-alpha-5
@@ -97,14 +97,14 @@ public class AnalyzeReportMojo
             getLog().info( "Skipping pom project" );
             return;
         }
-        
+
         if ( outputDirectory == null || !outputDirectory.exists() )
         {
             getLog().info( "Skipping project with no Target directory" );
             return;
         }
 
-        // Step 1: Analyse the project
+        // Step 1: Analyze the project
         ProjectDependencyAnalysis analysis = null;
         try
         {
@@ -123,7 +123,7 @@ public class AnalyzeReportMojo
         AnalyzeReportView analyzethis = new AnalyzeReportView();
         analyzethis.generateReport( analysis, sink, bundle );
     }
-    
+
     // MavenReport methods ----------------------------------------------------
 
     /*
@@ -149,7 +149,7 @@ public class AnalyzeReportMojo
     {
         return getBundle( locale ).getString( "analyze.report.description" );
     }
-    
+
     // AbstractMavenReport methods --------------------------------------------
 
     /*
@@ -177,12 +177,12 @@ public class AnalyzeReportMojo
     {
         return siteRenderer;
     }
-    
+
     // protected methods ------------------------------------------------------
 
     /**
-     * 
-     * 
+     *
+     *
      * @param locale
      *            the current locale
      */

Modified: maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/treeSerializers/DOTDependencyNodeVisitor.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/treeSerializers/DOTDependencyNodeVisitor.java?rev=922616&r1=922615&r2=922616&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/treeSerializers/DOTDependencyNodeVisitor.java
(original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/treeSerializers/DOTDependencyNodeVisitor.java
Sat Mar 13 17:10:38 2010
@@ -21,7 +21,6 @@ package org.apache.maven.plugin.dependen
 
 import org.apache.maven.shared.dependency.tree.traversal.DependencyNodeVisitor;
 import org.apache.maven.shared.dependency.tree.DependencyNode;
-import org.apache.maven.project.MavenProject;
 
 import java.io.Writer;
 import java.util.List;
@@ -62,7 +61,7 @@ public class DOTDependencyNodeVisitor ex
 
         List children = node.getChildren() ;
 
-        for ( Iterator it = children.iterator () ; it.hasNext (); ) 
+        for ( Iterator it = children.iterator () ; it.hasNext (); )
         {
             StringBuffer sb = new StringBuffer() ;
             sb.append( "\t\"" ) ;

Modified: maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/treeSerializers/GraphmlDependencyNodeVisitor.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/treeSerializers/GraphmlDependencyNodeVisitor.java?rev=922616&r1=922615&r2=922616&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/treeSerializers/GraphmlDependencyNodeVisitor.java
(original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/treeSerializers/GraphmlDependencyNodeVisitor.java
Sat Mar 13 17:10:38 2010
@@ -23,7 +23,6 @@ import java.io.Writer;
 
 import org.apache.maven.shared.dependency.tree.DependencyNode;
 import org.apache.maven.shared.dependency.tree.traversal.DependencyNodeVisitor;
-import org.apache.maven.shared.dependency.tree.traversal.SerializingDependencyNodeVisitor;
 
 /**
  * A dependency node visitor that serializes visited nodes to a writer using the graphml
format.



Mime
View raw message