You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2004/07/29 16:21:56 UTC

cvs commit: maven-plugins/pmd/src/plugin-test maven.xml .cvsignore project.xml

dion        2004/07/29 07:21:55

  Added:       pmd/src/plugin-test/src/main/org/apache/maven Dummy.java
               pmd/src/plugin-test maven.xml .cvsignore project.xml
  Log:
  Add test project
  
  Revision  Changes    Path
  1.1                  maven-plugins/pmd/src/plugin-test/src/main/org/apache/maven/Dummy.java
  
  Index: Dummy.java
  ===================================================================
  package org.apache.maven;
  
  public class Dummy
  {
      public String badChecky = "error";
  } 
  
  
  1.1                  maven-plugins/pmd/src/plugin-test/maven.xml
  
  Index: maven.xml
  ===================================================================
  <!-- 
  /*
   * Copyright 2001-2004 The Apache Software Foundation.
   * 
   * Licensed 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 the License.
   */
   -->
  <project xmlns:util="jelly:util"
           xmlns:assert="assert"
           xmlns:j="jelly:core">
           
    <goal name="testPlugin" prereqs="test-pmd-report">
    </goal>
    
    <goal name="test-pmd-report">
      <attainGoal name="pmd:report"/>
      <assert:assertFileExists file="${maven.build.dir}/pmd-raw-report.xml"/>
      <assert:assertFileExists file="${maven.gen.docs}/pmd-report.xml"/>
      <attainGoal name="clean"/>
    </goal>
  </project>
  
  
  1.1                  maven-plugins/pmd/src/plugin-test/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  gump.xml
  *.log
  
  
  
  1.1                  maven-plugins/pmd/src/plugin-test/project.xml
  
  Index: project.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!-- 
  /*
   * Copyright 2001-2004 The Apache Software Foundation.
   * 
   * Licensed 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 the License.
   */
   -->
  
  
  <project>
    <pomVersion>3</pomVersion>
    <id>test-maven-pmd-plugin</id>
    <name>Test project for Maven PMD Plugin</name>
    <groupId>maven</groupId>
    <currentVersion>1.0-SNAPSHOT</currentVersion>
    <organization>
      <name>Apache Software Foundation</name>
      <url>http://www.apache.org/</url>
      <logo>http://maven.apache.org/images/jakarta-logo-blue.gif</logo>
    </organization>
    <inceptionYear>2001</inceptionYear>
    <package>org.apache.maven</package>
    <logo>http://maven.apache.org/images/maven.jpg</logo>
    <description>Test for Maven PMD plugin</description>
    <shortDescription>Test for Maven PMD plugin</shortDescription>
    <url>http://maven.apache.org/reference/plugins/pmd/</url>
    <siteDirectory>/www/maven.apache.org/reference/plugins/pmd/</siteDirectory>
    <repository>
      <connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-plugins/pmd/</connection>
      <url>http://cvs.apache.org/viewcvs/maven-plugins/pmd/</url>
    </repository>
    <developers>
      <developer>
        <name>dIon Gillard</name>
        <id>dion</id>
        <email>dion@multitask.com.au</email>
        <organization>Multitask Consulting</organization>
        <roles>
          <role>Documentation</role>
        </roles>
      </developer>
    </developers>
  
    <build>
      <sourceDirectory>src/main</sourceDirectory>
    </build>
  </project>
  
  
  

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