Return-Path: X-Original-To: apmail-maven-commits-archive@www.apache.org Delivered-To: apmail-maven-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 49328C5C2 for ; Sun, 6 May 2012 21:52:32 +0000 (UTC) Received: (qmail 47251 invoked by uid 500); 6 May 2012 21:52:32 -0000 Delivered-To: apmail-maven-commits-archive@maven.apache.org Received: (qmail 47165 invoked by uid 500); 6 May 2012 21:52:32 -0000 Mailing-List: contact commits-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list commits@maven.apache.org Received: (qmail 47158 invoked by uid 99); 6 May 2012 21:52:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 May 2012 21:52:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 May 2012 21:52:28 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 519A72388BA4 for ; Sun, 6 May 2012 21:52:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r816157 [5/9] - in /websites/production/maventest/content/plugins/maven-antrun-plugin-latest: ./ apidocs/ apidocs/org/apache/maven/plugin/antrun/ apidocs/org/apache/maven/plugin/antrun/class-use/ apidocs/org/apache/maven/plugin/antrun/compo... Date: Sun, 06 May 2012 21:52:04 -0000 To: commits@maven.apache.org From: hboutemy@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120506215208.519A72388BA4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: websites/production/maventest/content/plugins/maven-antrun-plugin-latest/cobertura/org.apache.maven.plugin.antrun.components.AntTargetConverter.html ============================================================================== --- websites/production/maventest/content/plugins/maven-antrun-plugin-latest/cobertura/org.apache.maven.plugin.antrun.components.AntTargetConverter.html (original) +++ websites/production/maventest/content/plugins/maven-antrun-plugin-latest/cobertura/org.apache.maven.plugin.antrun.components.AntTargetConverter.html Sun May 6 21:52:02 2012 @@ -12,7 +12,7 @@
 
- +
Classes in this File Line Coverage Branch Coverage Complexity
AntTargetConverter
84%
63/75
69%
22/32
4.5
AntTargetConverter
0%
0/75
0%
0/32
4.5
 
@@ -105,7 +105,7 @@
  * @version $Id$
 44  
  */
-  45  3
 public class AntTargetConverter
+  45  0
 public class AntTargetConverter
 46  
     extends AbstractConfigurationConverter
 47   @@ -114,7 +114,7 @@
     public static final String MAVEN_EXPRESSION_EVALUATOR_ID = "maven.expressionEvaluator";
 49  
 
-  50  3
     public static final String ROLE = ConfigurationConverter.class.getName();
+  50  0
     public static final String ROLE = ConfigurationConverter.class.getName();
 51  
 
 52   @@ -127,7 +127,7 @@
     public boolean canConvert( Class type )
 56  
     {
-  57  12
         return Target.class.isAssignableFrom( type );
+  57  0
         return Target.class.isAssignableFrom( type );
 58  
     }
 59   @@ -148,8 +148,8 @@
         throws ComponentConfigurationException
 67  
     {
-  68  3
         Object retValue = fromExpression( configuration, expressionEvaluator, type );
-  69  3
         if ( retValue != null )
+  68  0
         Object retValue = fromExpression( configuration, expressionEvaluator, type );
+  69  0
         if ( retValue != null )
 70  
         {
 71  0
             return retValue;
@@ -157,24 +157,24 @@
         }
 73  
 
-  74  3
         Class implementation = getClassForImplementationHint( type, configuration, classLoader );
+  74  0
         Class implementation = getClassForImplementationHint( type, configuration, classLoader );
 75  
 
-  76  3
         retValue = instantiateObject( implementation );
+  76  0
         retValue = instantiateObject( implementation );
 77  
 
-  78  3
         if ( !( retValue instanceof Target ) )
+  78  0
         if ( !( retValue instanceof Target ) )
 79  
         {
-  80  3
             retValue = new Target();
+  80  0
             retValue = new Target();
 81  
         }
 82  
 
-  83  3
         processConfiguration( (Target) retValue, configuration, expressionEvaluator );
+  83  0
         processConfiguration( (Target) retValue, configuration, expressionEvaluator );
 84  
 
-  85  3
         return retValue;
+  85  0
         return retValue;
 86  
     }
 87   @@ -187,37 +187,37 @@
         throws ComponentConfigurationException
 91  
     {
-  92  3
         Project project = new Project();
-  93  3
         project.setName( "DummyProject" );
+  92  0
         Project project = new Project();
+  93  0
         project.setName( "DummyProject" );
 94  
 
-  95  3
         target.setName( "" );
-  96  3
         target.setProject( project );
-  97  3
         String[] attributeNames = configuration.getAttributeNames();
-  98  8
         for ( int i = 0; i < attributeNames.length; i++ )
+  95  0
         target.setName( "" );
+  96  0
         target.setProject( project );
+  97  0
         String[] attributeNames = configuration.getAttributeNames();
+  98  0
         for ( int i = 0; i < attributeNames.length; i++ )
 99  
         {
-  100  5
             String attributeName = attributeNames[i];
-  101  5
             String attributeValue = configuration.getAttribute( attributeNames[i], null );
+  100  0
             String attributeName = attributeNames[i];
+  101  0
             String attributeValue = configuration.getAttribute( attributeNames[i], null );
 102  
 
-  103  5
             addAttributes( target, attributeName, attributeValue );
+  103  0
             addAttributes( target, attributeName, attributeValue );
 104  
         }
-  105  3
         project.addTarget( target );
+  105  0
         project.addTarget( target );
 106  
 
-  107  3
         project.addReference( MAVEN_EXPRESSION_EVALUATOR_ID, expressionEvaluator );
+  107  0
         project.addReference( MAVEN_EXPRESSION_EVALUATOR_ID, expressionEvaluator );
 108  
 
-  109  3
         initDefinitions( project, target );
+  109  0
         initDefinitions( project, target );
 110  
 
-  111  3
         processConfiguration( null, project, target, configuration );
+  111  0
         processConfiguration( null, project, target, configuration );
 112  
 
-  113  3
         project.init();
-  114  3
     }
+  113  0
         project.init();
+  114  0
     }
 115  
 
 116   @@ -228,27 +228,27 @@
         throws ComponentConfigurationException
 119  
     {
-  120  6
         int items = configuration.getChildCount();
+  120  0
         int items = configuration.getChildCount();
 121  
 
-  122  6
         Object parent = parentWrapper == null ? null : parentWrapper.getProxy();
+  122  0
         Object parent = parentWrapper == null ? null : parentWrapper.getProxy();
 123  
 
-  124  9
         for ( int i = 0; i < items; i++ )
+  124  0
         for ( int i = 0; i < items; i++ )
 125  
         {
-  126  3
             PlexusConfiguration childConfiguration = configuration.getChild( i );
-  127  3
             UnknownElement task = new UnknownElement( childConfiguration.getName() );
-  128  3
             task.setProject( project );
-  129  3
             task.setNamespace( "" );
-  130  3
             task.setQName( childConfiguration.getName() );
-  131  3
             task.setTaskType( ProjectHelper.genComponentName( task.getNamespace(), childConfiguration.getName() ) );
-  132  3
             task.setTaskName( childConfiguration.getName() );
-  133  3
             task.setOwningTarget( target );
-  134  3
             task.init();
+  126  0
             PlexusConfiguration childConfiguration = configuration.getChild( i );
+  127  0
             UnknownElement task = new UnknownElement( childConfiguration.getName() );
+  128  0
             task.setProject( project );
+  129  0
             task.setNamespace( "" );
+  130  0
             task.setQName( childConfiguration.getName() );
+  131  0
             task.setTaskType( ProjectHelper.genComponentName( task.getNamespace(), childConfiguration.getName() ) );
+  132  0
             task.setTaskName( childConfiguration.getName() );
+  133  0
             task.setOwningTarget( target );
+  134  0
             task.init();
 135  
 
-  136  3
             if ( parent != null )
+  136  0
             if ( parent != null )
 137  
             {
 138  0
                 ( (UnknownElement) parent ).addChild( task );
@@ -258,22 +258,22 @@
             else
 141  
             {
-  142  3
                 target.addTask( task );
+  142  0
                 target.addTask( task );
 143  
             }
 144  
 
-  145  3
             RuntimeConfigurable wrapper = new RuntimeConfigurable( task, task.getTaskName() );
+  145  0
             RuntimeConfigurable wrapper = new RuntimeConfigurable( task, task.getTaskName() );
 146  
 
 147  
             try
 148  
             {
-  149  3
                 if ( childConfiguration.getValue() != null )
+  149  0
                 if ( childConfiguration.getValue() != null )
 150  
                 {
-  151  3
                     wrapper.addText( childConfiguration.getValue() );
+  151  0
                     wrapper.addText( childConfiguration.getValue() );
 152  
                 }
 153   @@ -284,21 +284,21 @@  156  0
                 throw new ComponentConfigurationException( "Error reading text value from element '"
 157  
                     + childConfiguration.getName() + "'", e );
-  158  3
             }
+  158  0
             }
 159  
 
-  160  3
             String[] attrNames = childConfiguration.getAttributeNames();
+  160  0
             String[] attrNames = childConfiguration.getAttributeNames();
 161  
 
-  162  4
             for ( int a = 0; a < attrNames.length; a++ )
+  162  0
             for ( int a = 0; a < attrNames.length; a++ )
 163  
             {
 164  
                 try
 165  
                 {
-  166  1
                     String v = childConfiguration.getAttribute( attrNames[a] );
-  167  1
                     wrapper.setAttribute( attrNames[a], v );
+  166  0
                     String v = childConfiguration.getAttribute( attrNames[a] );
+  167  0
                     wrapper.setAttribute( attrNames[a], v );
 168  
                 }
 169  0
                 catch ( PlexusConfigurationException e )
@@ -307,12 +307,12 @@  171  0
                     throw new ComponentConfigurationException( "Error getting attribute '" + attrNames[a]
 172  
                         + "' of tag '" + childConfiguration.getName() + "'", e );
-  173  1
                 }
+  173  0
                 }
 174  
             }
 175  
 
-  176  3
             if ( parentWrapper != null )
+  176  0
             if ( parentWrapper != null )
 177  
             {
 178  0
                 parentWrapper.addChild( wrapper );
@@ -320,21 +320,21 @@
             }
 180  
 
-  181  3
             processConfiguration( wrapper, project, target, childConfiguration );
+  181  0
             processConfiguration( wrapper, project, target, childConfiguration );
 182  
         }
-  183  6
     }
+  183  0
     }
 184  
 
 185  
     protected void initDefinitions( Project project, Target unused )
 186  
     {
-  187  3
         ComponentHelper componentHelper = ComponentHelper.getComponentHelper( project );
+  187  0
         ComponentHelper componentHelper = ComponentHelper.getComponentHelper( project );
 188  
 
-  189  3
         componentHelper.initDefaultDefinitions();
-  190  3
     }
+  189  0
         componentHelper.initDefaultDefinitions();
+  190  0
     }
 191  
 
 192   @@ -365,13 +365,13 @@
     private static void addAttributes( Target tasks, String attributeName, String attributeValue )
 205  
     {
-  206  5
         if ( StringUtils.isEmpty( attributeName ) )
+  206  0
         if ( StringUtils.isEmpty( attributeName ) )
 207  
         {
 208  0
             return;
 209  
         }
-  210  5
         if ( StringUtils.isEmpty( attributeValue ) )
+  210  0
         if ( StringUtils.isEmpty( attributeValue ) )
 211  
         {
 212  0
             return;
@@ -379,35 +379,35 @@
         }
 214  
 
-  215  5
         if ( attributeName.toLowerCase().equals( "name" ) )
+  215  0
         if ( attributeName.toLowerCase().equals( "name" ) )
 216  
         {
 217  0
             tasks.setName( attributeValue );
 218  
         }
-  219  5
         if ( attributeName.toLowerCase().equals( "unless" ) )
+  219  0
         if ( attributeName.toLowerCase().equals( "unless" ) )
 220  
         {
-  221  2
             tasks.setUnless( attributeValue );
+  221  0
             tasks.setUnless( attributeValue );
 222  
         }
-  223  5
         if ( attributeName.toLowerCase().equals( "description" ) )
+  223  0
         if ( attributeName.toLowerCase().equals( "description" ) )
 224  
         {
 225  0
             tasks.setDescription( attributeValue );
 226  
         }
-  227  5
         if ( attributeName.toLowerCase().equals( "if" ) )
+  227  0
         if ( attributeName.toLowerCase().equals( "if" ) )
 228  
         {
 229  0
             tasks.setIf( attributeValue );
 230  
         }
-  231  5
     }
+  231  0
     }
 232  
 }
- + \ No newline at end of file Modified: websites/production/maventest/content/plugins/maven-antrun-plugin-latest/cpd.html ============================================================================== --- websites/production/maventest/content/plugins/maven-antrun-plugin-latest/cpd.html (original) +++ websites/production/maventest/content/plugins/maven-antrun-plugin-latest/cpd.html Sun May 6 21:52:02 2012 @@ -52,28 +52,19 @@
- Last Published: 2008-07-20 -  | Version: 1.2 -
-
Apache - | - Maven 1.x - | - Maven 2.x - | - Maven 2.x Plugins - | - Continuum - | - SCM - | - Wagon - | - JXR - | - Doxia - | - Ant + + Apache + > + + Maven + > + + Plugins + > + + Maven AntRun Plugin +
+
Ant @@ -82,7 +73,9 @@ -
+  | Last Published: 2008-10-06 +  | Version: 1.3 +

@@ -151,6 +144,10 @@ + + + +
  • - Clirr -
  • - -
  • Cobertura Test Coverage
  • @@ -207,7 +194,7 @@
  • - Plugin documentation + Plugin Documentation
  • @@ -225,16 +212,51 @@
  • Tag List
  • - + + + +
    Maven Projects
    + - Built by Maven @@ -252,7 +274,7 @@

    CPD Results

    -

    The following document contains the results of PMD's CPD 4.2.2.

    +

    The following document contains the results of PMD's CPD 4.2.2.

    Duplications

    CPD found no problems in your source code.