All Downloads are FREE. Search and download functionalities are using the official Maven repository.

4j.sanity4j.1.0.7.source-code.import-control.xml Maven / Gradle / Ivy

Go to download

Sanity4J was created to simplify running multiple static code analysis tools on the Java projects. It provides a single entry point to run all the selected tools and produce a consolidated report, which presents all findings in an easily accessible manner.

There is a newer version: 1.1.1
Show newest version
<?xml version="1.0"?>
<!DOCTYPE import-control PUBLIC
    "-//Puppy Crawl//DTD Import Control 1.0//EN"
    "http://www.puppycrawl.com/dtds/import_control_1_0.dtd">

<import-control pkg="com.puppycrawl.tools.checkstyle">

  <allow pkg="antlr"/>
  <allow pkg="com.puppycrawl.tools.checkstyle.api"/>
  <allow pkg="java.io"/>
  <allow pkg="java.net"/>
  <allow pkg="java.util"/>
  <allow pkg="javax.xml.parsers"/>
  <allow pkg="org.apache.commons.beanutils"/>
  <allow pkg="org.apache.commons.logging"/>
  <allow pkg="org.apache.commons.collections"/>
  <allow pkg="org.xml.sax"/>

  <!-- The local ones -->
  <allow pkg="com.puppycrawl.tools.checkstyle.grammars" local-only="true"/>
  <allow class="java.security.MessageDigest" local-only="true"/>
  <allow pkg="org.apache.commons.cli" local-only="true"/>
  <allow pkg="org.apache.tools.ant" local-only="true"/>

  <subpackage name="api">
    <allow pkg="java.beans"/>
    <allow pkg="java.lang.reflect"/>
    <allow pkg="java.text"/>
    <allow class="com.puppycrawl.tools.checkstyle.grammars.CommentListener"
           local-only="true"/>
    <allow class="com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes"
           local-only="true"/>
  </subpackage>

  <subpackage name="checks">
    <allow pkg="com.puppycrawl.tools.checkstyle.checks"/>
    <allow pkg="java.math"/>

    <subpackage name="indentation">
      <allow pkg="java.lang.reflect"/>
      <allow pkg="org.apache.commons.collections"/>
    </subpackage>

  </subpackage>

  <subpackage name="doclets">
    <allow pkg="com.sun.javadoc"/>
  </subpackage>

  <subpackage name="filters">
    <allow pkg="java.lang.ref"/>
  </subpackage>

  <subpackage name="gui">
    <allow pkg="java.awt"/>
    <allow pkg="javax.swing"/>
  </subpackage>
</import-control>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy