You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ep...@apache.org on 2004/01/29 13:02:32 UTC

cvs commit: maven-plugins/simian plugin.jelly project.xml plugin.properties

epugh       2004/01/29 04:02:32

  Modified:    simian/xdocs properties.xml changes.xml
               simian   plugin.jelly project.xml plugin.properties
  Log:
  Add properties to include/exclude files to be processed.  Similar to 
  the maven.pmd.includes/excludes properties.
  
  Revision  Changes    Path
  1.4       +24 -0     maven-plugins/simian/xdocs/properties.xml
  
  Index: properties.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/simian/xdocs/properties.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- properties.xml	24 Oct 2003 16:14:21 -0000	1.3
  +++ properties.xml	29 Jan 2004 12:02:32 -0000	1.4
  @@ -69,6 +69,30 @@
               Ignore modifiers (Java, C#, C, C++, JavaScript): public, protected, static, etc.
             </td>
           </tr>
  +        <tr>
  +          <td>maven.simian.includes</td>
  +          <td>Yes</td>
  +          <td>
  +            Specifies a comma-separated list of Ant patterns to use
  +            when matching files in the source tree to be included in the
  +            Simian report.  The pattern specified is relative to
  +            <code>${maven.src.dir}</code>.  The default value is
  +            <code>**/*.java</code>, which matches all Java source files
  +            in the source tree (specified by the <code>${maven.src.dir}</code>
  +            property.
  +          </td>
  +        </tr>       
  +        <tr>
  +          <td>maven.simian.excludes</td>
  +          <td>Yes</td>
  +          <td>
  +            Specifies a comma-separated list of Ant patterns to use when
  +            matching files in the source tree to be excluded from the
  +            Simian report.  The pattern specified is relative to
  +            <code>${maven.src.dir}</code>.  The default value is to not
  +            exclude any files.
  +          </td>
  +        </tr>          
         </table>
       </section>
     </body>
  
  
  
  1.14      +3 -0      maven-plugins/simian/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/simian/xdocs/changes.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- changes.xml	6 Jan 2004 08:46:25 -0000	1.13
  +++ changes.xml	29 Jan 2004 12:02:32 -0000	1.14
  @@ -9,6 +9,9 @@
     <body>
       
       <release version="1.3" date="in CVS">
  +      <action dev="epugh" type="add">
  +        Allow classes to be included/excluded.
  +      </action>    
         <action dev="dion" type="fix">
           Allow test case to be run.
         </action>
  
  
  
  1.7       +2 -1      maven-plugins/simian/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven-plugins/simian/plugin.jelly,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- plugin.jelly	8 Oct 2003 16:41:59 -0000	1.6
  +++ plugin.jelly	29 Jan 2004 12:02:32 -0000	1.7
  @@ -52,7 +52,8 @@
                   failOnDuplication="${maven.simian.failonduplication}">
   
         <ant:fileset dir="${pom.build.sourceDirectory}">
  -        <ant:include name="**/*.java"/>
  +        <ant:include name="${maven.simian.includes}"/>
  +        <ant:exclude name="${maven.simian.excludes}"/>
           <!-- FIXME: This is a bad cut and paste -->
           <!-- handle source modifications -->
           <j:forEach var="sm" items="${pom.build.sourceModifications}">
  
  
  
  1.22      +9 -0      maven-plugins/simian/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/simian/project.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- project.xml	6 Jan 2004 08:46:25 -0000	1.21
  +++ project.xml	29 Jan 2004 12:02:32 -0000	1.22
  @@ -68,6 +68,15 @@
           <role>Maven Plugin</role>
         </roles>
       </developer>
  +    <developer>
  +      <name>Eric Pugh</name>
  +      <id>epugh</id>
  +      <email>epugh@opensourceconnections.com</email>
  +      <organization>OpenSource Connections</organization>
  +      <roles>
  +        <role>Maven Plugin</role>
  +      </roles>
  +    </developer>    
     </developers>
     <contributors>
       <contributor>
  
  
  
  1.3       +3 -0      maven-plugins/simian/plugin.properties
  
  Index: plugin.properties
  ===================================================================
  RCS file: /home/cvs/maven-plugins/simian/plugin.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- plugin.properties	8 Oct 2003 16:41:59 -0000	1.2
  +++ plugin.properties	29 Jan 2004 12:02:32 -0000	1.3
  @@ -6,3 +6,6 @@
   maven.simian.ignorenumbers = false
   maven.simian.ignoresubtypenames = false
   maven.simian.ignoremodifiers = false
  +
  +maven.simian.includes = **/*.java
  +maven.simian.excludes = 
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org