RAT (Release Audit Tool) results

The following document contains the results of RAT (Release Audit Tool).

*****************************************************
Summary
-------
Generated at: 2013-02-17T15:05:25+01:00
Notes: 2
Binaries: 1
Archives: 0
Standards: 135

Apache Licensed: 90
Generated Documents: 0

JavaDocs are generated and so license header is optional
Generated files do not required license headers

45 Unknown Licenses

*******************************

Unapproved licenses:

  src/it/check-fail/invoker.properties
  src/it/check-fail/src/main/java/org/MyClass.java
  src/it/check-pass/invoker.properties
  src/it/check-pass/src/main/java/org/MyClass.java
  src/it/check-pass/src/main/java/org/package.html
  src/it/check-tests-only/invoker.properties
  src/it/checkstyle-goal/invoker.properties
  src/it/checkstyle-goal/src/main/java/org/MyClass.java
  src/it/checkstyle-goal/src/main/java/org/package.html
  src/it/checkstyle-report/invoker.properties
  src/it/checkstyle-report/src/main/java/org/MyClass.java
  src/it/checkstyle-report/src/main/java/org/package.html
  src/it/MCHECKSTYLE-129/pom.xml
  src/it/MCHECKSTYLE-129/src/main/java/com/example/App.java
  src/it/MCHECKSTYLE-129/src/test/java/com/example/AppTest.java
  src/it/MCHECKSTYLE-131/checkstyle.xml
  src/it/MCHECKSTYLE-131/invoker.properties
  src/it/MCHECKSTYLE-131/module/pom.xml
  src/it/MCHECKSTYLE-131/module/src/main/java/example/module/Example.java
  src/it/MCHECKSTYLE-131/module/src/main/java/example/module/package-info.java
  src/it/MCHECKSTYLE-131/pom.xml
  src/it/MCHECKSTYLE-163/invoker.properties
  src/it/MCHECKSTYLE-172/invoker.properties
  src/it/MCHECKSTYLE-172/src/main/java/org/MyClass.java
  src/it/MCHECKSTYLE-172/src/main/java/org/package.html
  src/it/MCHECKSTYLE-173-with-charset/src/main/java/org/MyClass.java
  src/it/MCHECKSTYLE-173-without-charset/src/main/java/org/MyClass.java
  src/it/minimal-pom/src/main/java/org/MyClass.java
  src/it/multi-modules/invoker.properties
  src/it/multi-modules/multi-modules-child/pom.xml
  src/it/multi-modules/multi-modules-child/src/test/java/org/apache/maven/plugins/checkstyle/its/AppTest.java
  src/it/multi-modules/multi-modules-child-nosource/pom.xml
  src/it/multi-modules/multi-modules-child-nosource/src/test/java/org/apache/maven/plugins/checkstyle/its/AppTest.java
  src/it/multi-modules-aggregate/child-a/pom.xml
  src/it/multi-modules-aggregate/child-a/src/main/resources/org/apache/maven/plugins/checkstyle/its/App_en.properties
  src/it/multi-modules-aggregate/child-a/src/main/resources/org/apache/maven/plugins/checkstyle/its/App_sv.properties
  src/it/multi-modules-aggregate/child-b/pom.xml
  src/it/multi-modules-aggregate/child-b/src/test/java/org/apache/maven/plugins/checkstyle/its/AppTest.java
  src/it/multi-modules-aggregate/invoker.properties
  src/it/multimoduleproject/checkstyle-dekies.xml
  src/it/multimoduleproject/invoker.properties
  src/main/resources/config/maven-header.txt
  src/main/resources/config/sun_checks.xml
  src/main/resources/org/apache/maven/plugin/checkstyle/checkstyle-rss.vm
  src/test/test-sources/TestJavaObject.java

*******************************

Archives:

*****************************************************
  Files with Apache License headers will be marked AL
  Binary files (which do not require AL headers) will be marked B
  Compressed archives will be marked A
  Notices, licenses etc will be marked N
  AL    pom.xml
 !????? src/it/check-fail/invoker.properties
  AL    src/it/check-fail/pom.xml
 !????? src/it/check-fail/src/main/java/org/MyClass.java
 !????? src/it/check-pass/invoker.properties
  AL    src/it/check-pass/pom.xml
 !????? src/it/check-pass/src/main/java/org/MyClass.java
 !????? src/it/check-pass/src/main/java/org/package.html
 !????? src/it/check-tests-only/invoker.properties
  AL    src/it/check-tests-only/pom.xml
  AL    src/it/check-tests-only/src/test/java/sample/Example.java
 !????? src/it/checkstyle-goal/invoker.properties
  AL    src/it/checkstyle-goal/pom.xml
 !????? src/it/checkstyle-goal/src/main/java/org/MyClass.java
 !????? src/it/checkstyle-goal/src/main/java/org/package.html
  AL    src/it/checkstyle-goal/verify.groovy
 !????? src/it/checkstyle-report/invoker.properties
  AL    src/it/checkstyle-report/pom.xml
 !????? src/it/checkstyle-report/src/main/java/org/MyClass.java
 !????? src/it/checkstyle-report/src/main/java/org/package.html
  AL    src/it/checkstyle-report/verify.groovy
 !????? src/it/MCHECKSTYLE-129/pom.xml
 !????? src/it/MCHECKSTYLE-129/src/main/java/com/example/App.java
 !????? src/it/MCHECKSTYLE-129/src/test/java/com/example/AppTest.java
 !????? src/it/MCHECKSTYLE-131/checkstyle.xml
 !????? src/it/MCHECKSTYLE-131/invoker.properties
 !????? src/it/MCHECKSTYLE-131/module/pom.xml
 !????? src/it/MCHECKSTYLE-131/module/src/main/java/example/module/Example.java
 !????? src/it/MCHECKSTYLE-131/module/src/main/java/example/module/package-info.java
 !????? src/it/MCHECKSTYLE-131/pom.xml
 !????? src/it/MCHECKSTYLE-163/invoker.properties
  AL    src/it/MCHECKSTYLE-163/pom.xml
  AL    src/it/MCHECKSTYLE-163/sample.checkstyle
  AL    src/it/MCHECKSTYLE-163/src/test/java/sample/Example.java
 !????? src/it/MCHECKSTYLE-172/invoker.properties
  AL    src/it/MCHECKSTYLE-172/pom.xml
 !????? src/it/MCHECKSTYLE-172/src/main/java/org/MyClass.java
 !????? src/it/MCHECKSTYLE-172/src/main/java/org/package.html
  AL    src/it/MCHECKSTYLE-172/verify.groovy
  AL    src/it/MCHECKSTYLE-173-with-charset/checkstyle-with-charset.xml
  AL    src/it/MCHECKSTYLE-173-with-charset/pom.xml
 !????? src/it/MCHECKSTYLE-173-with-charset/src/main/java/org/MyClass.java
  AL    src/it/MCHECKSTYLE-173-without-charset/checkstyle-without-charset.xml
  AL    src/it/MCHECKSTYLE-173-without-charset/pom.xml
 !????? src/it/MCHECKSTYLE-173-without-charset/src/main/java/org/MyClass.java
  AL    src/it/minimal-pom/pom.xml
 !????? src/it/minimal-pom/src/main/java/org/MyClass.java
  AL    src/it/minimal-pom/verify.bsh
 !????? src/it/multi-modules/invoker.properties
 !????? src/it/multi-modules/multi-modules-child/pom.xml
  AL    src/it/multi-modules/multi-modules-child/src/main/java/org/apache/maven/plugins/checkstyle/its/App.java
 !????? src/it/multi-modules/multi-modules-child/src/test/java/org/apache/maven/plugins/checkstyle/its/AppTest.java
 !????? src/it/multi-modules/multi-modules-child-nosource/pom.xml
 !????? src/it/multi-modules/multi-modules-child-nosource/src/test/java/org/apache/maven/plugins/checkstyle/its/AppTest.java
  AL    src/it/multi-modules/pom.xml
 !????? src/it/multi-modules-aggregate/child-a/pom.xml
  AL    src/it/multi-modules-aggregate/child-a/src/main/java/org/apache/maven/plugins/checkstyle/its/App.java
 !????? src/it/multi-modules-aggregate/child-a/src/main/resources/org/apache/maven/plugins/checkstyle/its/App_en.properties
 !????? src/it/multi-modules-aggregate/child-a/src/main/resources/org/apache/maven/plugins/checkstyle/its/App_sv.properties
 !????? src/it/multi-modules-aggregate/child-b/pom.xml
 !????? src/it/multi-modules-aggregate/child-b/src/test/java/org/apache/maven/plugins/checkstyle/its/AppTest.java
 !????? src/it/multi-modules-aggregate/invoker.properties
  AL    src/it/multi-modules-aggregate/pom.xml
  AL    src/it/multi-modules-aggregate/verify.groovy
 !????? src/it/multimoduleproject/checkstyle-dekies.xml
 !????? src/it/multimoduleproject/invoker.properties
  AL    src/it/multimoduleproject/module1/pom.xml
  AL    src/it/multimoduleproject/module2/pom.xml
  AL    src/it/multimoduleproject/pom.xml
  AL    src/it/settings.xml
  AL    src/main/java/org/apache/maven/plugin/checkstyle/AbstractCheckstyleReport.java
  AL    src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleAggregateReport.java
  AL    src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleExecutor.java
  AL    src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleExecutorException.java
  AL    src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleExecutorRequest.java
  AL    src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReport.java
  AL    src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java
  AL    src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportListener.java
  AL    src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleResults.java
  AL    src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleViolationCheckMojo.java
  AL    src/main/java/org/apache/maven/plugin/checkstyle/DefaultCheckstyleExecutor.java
  AL    src/main/java/org/apache/maven/plugin/checkstyle/ReportResource.java
  AL    src/main/java/org/apache/maven/plugin/checkstyle/rss/CheckstyleRssGenerator.java
  AL    src/main/java/org/apache/maven/plugin/checkstyle/rss/CheckstyleRssGeneratorRequest.java
  AL    src/main/java/org/apache/maven/plugin/checkstyle/rss/DefaultCheckstyleRssGenerator.java
  AL    src/main/java/org/apache/maven/plugin/checkstyle/VelocityTemplate.java
  AL    src/main/java/org/codehaus/plexus/util/interpolation/RegexBasedInterpolator.java
  AL    src/main/java/org/codehaus/plexus/util/interpolation/ValueSource.java
  AL    src/main/resources/checkstyle-report.properties
  AL    src/main/resources/checkstyle-report_de.properties
  AL    src/main/resources/checkstyle-report_en.properties
  AL    src/main/resources/checkstyle-report_fr.properties
  AL    src/main/resources/checkstyle-report_pt_BR.properties
  AL    src/main/resources/checkstyle-report_sv.properties
  AL    src/main/resources/config/avalon_checks.xml
 !????? src/main/resources/config/maven-header.txt
  AL    src/main/resources/config/maven_checks.xml
 !????? src/main/resources/config/sun_checks.xml
  AL    src/main/resources/config/turbine_checks.xml
  N     src/main/resources/LICENSE.txt
  AL    src/main/resources/log4j.properties
 !????? src/main/resources/org/apache/maven/plugin/checkstyle/checkstyle-rss.vm
  B     src/main/resources/org/apache/maven/plugin/checkstyle/images/rss.png
  AL    src/site/apt/examples/custom-checker-config.apt.vm
  AL    src/site/apt/examples/custom-developed-checkstyle.apt.vm
  AL    src/site/apt/examples/custom-property-expansion.apt.vm
  AL    src/site/apt/examples/multi-module-config.apt.vm
  AL    src/site/apt/examples/suppressions-filter.apt.vm
  AL    src/site/apt/index.apt.vm
  AL    src/site/apt/usage.apt.vm
  AL    src/site/fml/faq.fml
  AL    src/site/site.xml
  AL    src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleReportListenerMultiSourceTest.java
  AL    src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleReportListenerTest.java
  AL    src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleReportTest.java
  AL    src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleResultsTest.java
  AL    src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleViolationCheckMojoTest.java
  AL    src/test/java/org/apache/maven/plugin/checkstyle/ReportResourceTest.java
  AL    src/test/java/org/apache/maven/plugin/checkstyle/stubs/MavenProjectWithExceptionsStub.java
  AL    src/test/java/org/apache/maven/plugin/checkstyle/stubs/MavenProjectWithNoJxrPluginStub.java
  AL    src/test/java/org/apache/maven/plugin/checkstyle/stubs/MinMavenProjectStub.java
  AL    src/test/java/org/apache/maven/plugin/checkstyle/stubs/ModuleMavenProjectStub.java
  AL    src/test/java/org/apache/maven/plugin/checkstyle/stubs/MultiMavenProjectStub.java
  AL    src/test/plugin-configs/check-plugin-config.xml
  AL    src/test/plugin-configs/custom-plugin-config.xml
  AL    src/test/plugin-configs/dep-resolution-exception-plugin-config.xml
  AL    src/test/plugin-configs/fail-on-error-plugin-config.xml
  AL    src/test/plugin-configs/min-plugin-config.xml
  AL    src/test/plugin-configs/multi-plugin-config.xml
  AL    src/test/plugin-configs/no-files-plugin-config.xml
  AL    src/test/plugin-configs/no-rules-plugin-config.xml
  AL    src/test/plugin-configs/no-severity-plugin-config.xml
  AL    src/test/plugin-configs/no-source-plugin-config.xml
  AL    src/test/plugin-configs/test-source-directory-plugin-config.xml
  AL    src/test/plugin-configs/useFile-plugin-config.xml
  AL    src/test/test-sources/checkstyle-result.xml
  N     src/test/test-sources/LICENSE.txt
 !????? src/test/test-sources/TestJavaObject.java
 
 *****************************************************
 Printing headers for files without AL header...
 
 
 =======================================================================
 ==src/it/check-fail/invoker.properties
 =======================================================================
invoker.goals=verify
invoker.buildResult=failure

 =======================================================================
 ==src/it/check-fail/src/main/java/org/MyClass.java
 =======================================================================
package org;

public class MyClass
{
}

 =======================================================================
 ==src/it/check-pass/invoker.properties
 =======================================================================
invoker.goals=verify

 =======================================================================
 ==src/it/check-pass/src/main/java/org/MyClass.java
 =======================================================================
package org;

/**
 * Yada yada yada.
 */
public class MyClass {
}

 =======================================================================
 ==src/it/check-pass/src/main/java/org/package.html
 =======================================================================
<html>
	<head>
		<title></title>
	</head>
	<body>
	</body>
</html>

 =======================================================================
 ==src/it/check-tests-only/invoker.properties
 =======================================================================
invoker.goals=checkstyle:check
invoker.buildResult=failure

 =======================================================================
 ==src/it/checkstyle-goal/invoker.properties
 =======================================================================
invoker.goals=clean checkstyle:checkstyle

 =======================================================================
 ==src/it/checkstyle-goal/src/main/java/org/MyClass.java
 =======================================================================
package org;

/**
 * Yada yada yada.
 */
public class MyClass {
}

 =======================================================================
 ==src/it/checkstyle-goal/src/main/java/org/package.html
 =======================================================================
<html>
	<head>
		<title></title>
	</head>
	<body>
	</body>
</html>

 =======================================================================
 ==src/it/checkstyle-report/invoker.properties
 =======================================================================
invoker.goals=clean site

 =======================================================================
 ==src/it/checkstyle-report/src/main/java/org/MyClass.java
 =======================================================================
package org;

/**
 * Yada yada yada.
 */
public class MyClass {
}

 =======================================================================
 ==src/it/checkstyle-report/src/main/java/org/package.html
 =======================================================================
<html>
	<head>
		<title></title>
	</head>
	<body>
	</body>
</html>

 =======================================================================
 ==src/it/MCHECKSTYLE-129/pom.xml
 =======================================================================
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.example</groupId>
  <artifactId>checkstyle-new</artifactId>
  <packaging>jar</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>checkstyle-new</name>
  <url>http://maven.apache.org</url>
  <properties>
    <checkstyleVersion>@pom.version@</checkstyleVersion>
  </properties>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <version>@sitePluginVersion@</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <version>${checkstyleVersion}</version>
      </plugin>      
    </plugins>
  </build>  
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <version>${checkstyleVersion}</version>
        <configuration>
          <configLocation>http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-checkstyle-plugin/src/main/resources/config/sun_checks.xml</configLocation>
        </configuration>
      </plugin>
    </plugins>
  </reporting>
</project>

 =======================================================================
 ==src/it/MCHECKSTYLE-129/src/main/java/com/example/App.java
 =======================================================================
package com.example;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        System.out.println( "Hello World!" );
    }
}

 =======================================================================
 ==src/it/MCHECKSTYLE-129/src/test/java/com/example/AppTest.java
 =======================================================================
package com.example;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
 * Unit test for simple App.
 */
public class AppTest 
    extends TestCase
{
    /**
     * Create the test case
     *
     * @param testName name of the test case
     */
    public AppTest( String testName )
    {
        super( testName );
    }

    /**
     * @return the suite of tests being tested
     */
    public static Test suite()
    {
        return new TestSuite( AppTest.class );
    }

    /**
     * Rigourous Test :-)
     */
    public void testApp()
    {
        assertTrue( true );
    }
}

 =======================================================================
 ==src/it/MCHECKSTYLE-131/checkstyle.xml
 =======================================================================
<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
<module name="Checker">
<module name="JavadocPackage"/>
</module>

 =======================================================================
 ==src/it/MCHECKSTYLE-131/invoker.properties
 =======================================================================
invoker.goals=clean checkstyle:checkstyle checkstyle:check

 =======================================================================
 ==src/it/MCHECKSTYLE-131/module/pom.xml
 =======================================================================
<?xml version="1.0" encoding="UTF-8"?>
<project
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <artifactId>example</artifactId>
    <groupId>com.mycompany</groupId>
    <version>1.0-SNAPSHOT</version>
  </parent>
  <groupId>com.mycompany</groupId>
  <artifactId>module</artifactId>
  <version>1.0-SNAPSHOT</version>
  <name>Example Module</name>
  <packaging>jar</packaging>
  <url>http://maven.apache.org</url>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>

 =======================================================================
 ==src/it/MCHECKSTYLE-131/module/src/main/java/example/module/Example.java
 =======================================================================
package example.module;

/**
 *
 * @author Frederic
 */
public class Example {

    public void test() {
    }
}

 =======================================================================
 ==src/it/MCHECKSTYLE-131/module/src/main/java/example/module/package-info.java
 =======================================================================
nothing very important here
only a file for checkstyle rule PackageInfo

 =======================================================================
 ==src/it/MCHECKSTYLE-131/pom.xml
 =======================================================================
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.mycompany</groupId>
  <artifactId>example</artifactId>
  <packaging>pom</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>Example</name>
  <url>http://maven.apache.org</url>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <modules>
    <module>module</module>
  </modules>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <version>@pom.version@</version>
        <configuration>
          <configLocation>checkstyle.xml</configLocation>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>

 =======================================================================
 ==src/it/MCHECKSTYLE-163/invoker.properties
 =======================================================================
invoker.goals=verify

 =======================================================================
 ==src/it/MCHECKSTYLE-172/invoker.properties
 =======================================================================
invoker.goals=clean site

 =======================================================================
 ==src/it/MCHECKSTYLE-172/src/main/java/org/MyClass.java
 =======================================================================
package org;

/**
 * Yada yada yada.
 */
public class MyClass {
}

 =======================================================================
 ==src/it/MCHECKSTYLE-172/src/main/java/org/package.html
 =======================================================================
<html>
	<head>
		<title></title>
	</head>
	<body>
	</body>
</html>

 =======================================================================
 ==src/it/MCHECKSTYLE-173-with-charset/src/main/java/org/MyClass.java
 =======================================================================
package org;

public class MyClass
{
}

 =======================================================================
 ==src/it/MCHECKSTYLE-173-without-charset/src/main/java/org/MyClass.java
 =======================================================================
package org;

public class MyClass
{
}

 =======================================================================
 ==src/it/minimal-pom/src/main/java/org/MyClass.java
 =======================================================================
package org;

public class MyClass
{
}

 =======================================================================
 ==src/it/multi-modules/invoker.properties
 =======================================================================
invoker.goals=clean checkstyle:checkstyle checkstyle:check

 =======================================================================
 ==src/it/multi-modules/multi-modules-child/pom.xml
 =======================================================================
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <artifactId>multi-modules-parent</artifactId>
    <groupId>org.apache.maven.plugins.checkstyle.its</groupId>
    <version>1.0-SNAPSHOT</version>
  </parent>
  <groupId>org.apache.maven.plugins.checkstyle.its</groupId>
  <artifactId>multi-modules-child</artifactId>
  <version>1.0-SNAPSHOT</version>
  <name>multi-modules-child</name>
  <url>http://maven.apache.org</url>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-checkstyle-plugin</artifactId>
          <version>@pom.version@</version>
        </plugin>      
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <version>@sitePluginVersion@</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <version>@pom.version@</version>
      </plugin>      
    </plugins>
  </build>  
</project>

 =======================================================================
 ==src/it/multi-modules/multi-modules-child/src/test/java/org/apache/maven/plugins/checkstyle/its/AppTest.java
 =======================================================================
package org.apache.maven.plugins.checkstyle.its;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
 * Unit test for simple App.
 */
public class AppTest 
    extends TestCase
{
    /**
     * Create the test case
     *
     * @param testName name of the test case
     */
    public AppTest( String testName )
    {
        super( testName );
    }

    /**
     * @return the suite of tests being tested
     */
    public static Test suite()
    {
        return new TestSuite( AppTest.class );
    }

    /**
     * Rigourous Test :-)
     */
    public void testApp()
    {
        assertTrue( true );
    }
}

 =======================================================================
 ==src/it/multi-modules/multi-modules-child-nosource/pom.xml
 =======================================================================
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <artifactId>multi-modules-parent</artifactId>
    <groupId>org.apache.maven.plugins.checkstyle.its</groupId>
    <version>1.0-SNAPSHOT</version>
  </parent>
  <groupId>org.apache.maven.plugins.checkstyle.its</groupId>
  <artifactId>multi-modules-child-nosource</artifactId>
  <version>1.0-SNAPSHOT</version>
  <name>multi-modules-child-nosource</name>
  <url>http://maven.apache.org</url>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>

 =======================================================================
 ==src/it/multi-modules/multi-modules-child-nosource/src/test/java/org/apache/maven/plugins/checkstyle/its/AppTest.java
 =======================================================================
package org.apache.maven.plugins.checkstyle.its;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
 * Unit test for simple App.
 */
public class AppTest 
    extends TestCase
{
    /**
     * Create the test case
     *
     * @param testName name of the test case
     */
    public AppTest( String testName )
    {
        super( testName );
    }

    /**
     * @return the suite of tests being tested
     */
    public static Test suite()
    {
        return new TestSuite( AppTest.class );
    }

    /**
     * Rigourous Test :-)
     */
    public void testApp()
    {
        assertTrue( true );
    }
}

 =======================================================================
 ==src/it/multi-modules-aggregate/child-a/pom.xml
 =======================================================================
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <artifactId>multi-modules-aggregate-parent</artifactId>
    <groupId>org.apache.maven.plugins.checkstyle.its</groupId>
    <version>1.0-SNAPSHOT</version>
  </parent>
  <groupId>org.apache.maven.plugins.checkstyle.its</groupId>
  <artifactId>multi-modules-child</artifactId>
  <version>1.0-SNAPSHOT</version>
  <name>multi-modules-child</name>
  <url>http://maven.apache.org</url>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-checkstyle-plugin</artifactId>
          <version>@pom.version@</version>
        </plugin>      
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <version>@sitePluginVersion@</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <version>@pom.version@</version>
      </plugin>      
    </plugins>
  </build>  
</project>

 =======================================================================
 ==src/it/multi-modules-aggregate/child-a/src/main/resources/org/apache/maven/plugins/checkstyle/its/App_en.properties
 =======================================================================
key=value

 =======================================================================
 ==src/it/multi-modules-aggregate/child-a/src/main/resources/org/apache/maven/plugins/checkstyle/its/App_sv.properties
 =======================================================================
key2=value

 =======================================================================
 ==src/it/multi-modules-aggregate/child-b/pom.xml
 =======================================================================
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <artifactId>multi-modules-aggregate-parent</artifactId>
    <groupId>org.apache.maven.plugins.checkstyle.its</groupId>
    <version>1.0-SNAPSHOT</version>
  </parent>
  <groupId>org.apache.maven.plugins.checkstyle.its</groupId>
  <artifactId>multi-modules-child-nosource</artifactId>
  <version>1.0-SNAPSHOT</version>
  <name>multi-modules-child-nosource</name>
  <url>http://maven.apache.org</url>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>

 =======================================================================
 ==src/it/multi-modules-aggregate/child-b/src/test/java/org/apache/maven/plugins/checkstyle/its/AppTest.java
 =======================================================================
package org.apache.maven.plugins.checkstyle.its;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
 * Unit test for simple App.
 */
public class AppTest 
    extends TestCase
{
    /**
     * Create the test case
     *
     * @param testName name of the test case
     */
    public AppTest( String testName )
    {
        super( testName );
    }

    /**
     * @return the suite of tests being tested
     */
    public static Test suite()
    {
        return new TestSuite( AppTest.class );
    }

    /**
     * Rigourous Test :-)
     */
    public void testApp()
    {
        assertTrue( true );
    }
}

 =======================================================================
 ==src/it/multi-modules-aggregate/invoker.properties
 =======================================================================
invoker.goals=clean site

 =======================================================================
 ==src/it/multimoduleproject/checkstyle-dekies.xml
 =======================================================================
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">

<module name="DEKIES">
	<property name="localeCountry" value="DE"/>
	<property name="localeLanguage" value="de"/>
	<module name="TreeWalker">
		<property name="fileExtensions" value="java,ejb,jpf"/>	
		<!-- Allow text only in catch-blocks -->
		<module name="EmptyBlock">
			<property name="option" value="text"/>
			<property name="tokens" value="LITERAL_CATCH"/>
		</module>
	</module>
</module>

 =======================================================================
 ==src/it/multimoduleproject/invoker.properties
 =======================================================================
invoker.goals=clean checkstyle:checkstyle checkstyle:check

 =======================================================================
 ==src/main/resources/config/maven-header.txt
 =======================================================================
^package 
^\s*$
^/\*\s*$
^ \* Licensed to the Apache Software Foundation \(ASF\) under one\s*$
^ \* or more contributor license agreements.  See the NOTICE file\s*$
^ \* distributed with this work for additional information\s*$
^ \* regarding copyright ownership.  The ASF licenses this file\s*$
^ \* to you under the Apache License, Version 2.0 \(the\s*$
^ \* "License"\)\; you may not use this file except in compliance\s*$
^ \* with the License.  You may obtain a copy of the License at\s*$
^ \*\s*$
^ \*\s+http://www\.apache\.org/licenses/LICENSE-2\.0\s*$
^ \*\s*$
^ \* Unless required by applicable law or agreed to in writing,\s*$
^ \* software distributed under the License is distributed on an\s*$
^ \* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\s*$
^ \* KIND, either express or implied.  See the License for the\s*$
^ \* specific language governing permissions and limitations\s*$
^ \* under the License.\s*$
^ \*/\s*$
^\s*$

 =======================================================================
 ==src/main/resources/config/sun_checks.xml
 =======================================================================
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
    "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
    "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">

<!--

  Checkstyle configuration that checks the sun coding conventions from:

    - the Java Language Specification at
      http://java.sun.com/docs/books/jls/second_edition/html/index.html

    - the Sun Code Conventions at http://java.sun.com/docs/codeconv/

    - the Javadoc guidelines at
      http://java.sun.com/j2se/javadoc/writingdoccomments/index.html

    - the JDK Api documentation http://java.sun.com/j2se/docs/api/index.html

    - some best practices

  Checkstyle is very configurable. Be sure to read the documentation at
  http://checkstyle.sf.net (or in your downloaded distribution).

  Most Checks are configurable, be sure to consult the documentation.

  To completely disable a check, just comment it out or delete it from the file.

  Finally, it is worth reading the documentation.

-->

<module name="Checker">
    <!--
        If you set the basedir property below, then all reported file
        names will be relative to the specified directory. See
        http://checkstyle.sourceforge.net/5.x/config.html#Checker

        <property name="basedir" value="${basedir}"/>
    -->

    <!-- Checks that each Java package has a Javadoc file used for commenting. -->
    <!-- See http://checkstyle.sf.net/config_javadoc.html#JavadocPackage       -->
    <module name="JavadocPackage">
      <property name="allowLegacy" value="true"/>
    </module>

    <!-- Checks whether files end with a new line.                        -->
    <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
    <module name="NewlineAtEndOfFile"/>

 =======================================================================
 ==src/main/resources/org/apache/maven/plugin/checkstyle/checkstyle-rss.vm
 =======================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="0.91">
  <channel>
    <title>${project.name} - Checkstyle report</title>
    <link>${project.url}</link>
    <description>${project.name} - Checkstyle report</description>
    <language>en-us</language>
    <copyright>&#169;${copyright}</copyright>
    <item>
      <title>File: $results.getFileCount(),
             Errors: $results.getSeverityCount($levelError),
             Warnings: $results.getSeverityCount($levelWarning),
             Infos: $results.getSeverityCount($levelInfo)
      </title>
      #set ( $reportlink = "${project.url}/checkstyle.html" )
      <link>$reportlink</link>
      <description>
        <p>Click <a href="$reportlink">here</a> for the full Checkstyle report.</p>

        <table summary="Files" boder="1">
          <thead>
            <tr>
              <th>Files</th>
              <th style="width:30px;"><abbr title="Info">I</abbr></th>
              <th style="width:30px;"><abbr title="Warning">W</abbr></th>
              <th style="width:30px;"><abbr title="Error">E</abbr></th>
            </tr>
          </thead>
          <tbody>
            #foreach( $key in $results.files.keySet() )
              #set ( $filename = $key.toString() )
              #set ( $anchor = $stringutils.replace( $filename, '\\', '/' ) )
              #set ( $anchor = $stringutils.replace( $anchor, '/', '.' ) )
              <tr>
                <td>
                  <a href="${reportlink}#$anchor">$filename</a>
                </td>
                <td>
                  $results.getSeverityCount(${key}, $levelInfo)
                </td>
                <td>
                  $results.getSeverityCount(${key}, $levelWarning)
                </td>
                <td>
                  $results.getSeverityCount(${key}, $levelError)
                </td>
              </tr>
            #end
          </tbody>

 =======================================================================
 ==src/test/test-sources/TestJavaObject.java
 =======================================================================
public class TestJavaObject {
    public void doSomething() {

    }

    public Object getSomething() {

    }
}