Maven Repository - POM file for Library sonar-squid-java-plugin 3.2 3.2

Summary

Sonar :: Plugins :: Squid Java.

Squid analyzer for Java..

Declaration

Here is the list of declaration for sonar-squid-java-plugin. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>org.codehaus.sonar.plugins</groupId>
   <artifactId>sonar-squid-java-plugin</artifactId>
   <version>3.2</version>
</dependency>

If you think this Maven repository POM file listing for sonar-squid-java-plugin is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Depends on

The sonar-squid-java-plugin-3.2 has 2 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.

CategoryArtifactDepended By Count
Testing Coding Stylecheckstyle 5.5
Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard
32




Plugin

The following plugins are used in the sonar-squid-java-plugin-3.2.jar

  1. maven-enforcer-plugin
  2. sonar-packaging-maven-plugin

Packages

The following packages are defined in the sonar-squid-java-plugin-3.2.jar

org.sonar.java
org.sonar.java.ast
org.sonar.java.ast.check
org.sonar.java.ast.visitor
org.sonar.java.bytecode
org.sonar.java.bytecode.asm
org.sonar.java.bytecode.check
org.sonar.java.bytecode.loader
org.sonar.java.bytecode.visitor
org.sonar.java.recognizer
org.sonar.java.signature
org.sonar.java.squid
org.sonar.java.squid.check
org.sonar.java.squid.visitor
org.sonar.plugins.squid
org.sonar.plugins.squid.bridges
org.sonar.plugins.squid.decorators




POM File Source

Here is the content of the POM file.

<?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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.codehaus.sonar</groupId>
    <artifactId>sonar</artifactId>
    <version>3.2</version>
    <relativePath>../..</relativePath>
  </parent>
  <groupId>org.codehaus.sonar.plugins</groupId>
  <artifactId>sonar-squid-java-plugin</artifactId>
  <packaging>sonar-plugin</packaging>
  <name>Sonar :: Plugins :: Squid Java</name>
  <description>Squid analyzer for Java.</description>

  <properties>
    <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
  </properties>

  <dependencies>
    <dependency>
      <groupId>org.codehaus.sonar</groupId>
      <artifactId>sonar-java-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.sonar</groupId>
      <artifactId>sonar-plugin-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.sonar</groupId>
      <artifactId>sonar-squid</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.sonar</groupId>
      <artifactId>sonar-graph</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>asm</groupId>
      <artifactId>asm-all</artifactId>
      <version>3.2</version>
    </dependency>
    <dependency>
      <groupId>com.puppycrawl.tools</groupId>
      <artifactId>checkstyle</artifactId>
      <version>5.5</version>
      <exclusions>
        <exclusion>
          <groupId>commons-logging</groupId>
          <artifactId>commons-logging</artifactId>
        </exclusion>
        <exclusion>
          <groupId>com.google.collections</groupId>
          <artifactId>google-collections</artifactId>
        </exclusion>
        <exclusion>
          <!-- optimization for JAR size -->
          <groupId>commons-cli</groupId>
          <artifactId>commons-cli</artifactId>
        </exclusion>
        <exclusion>
          <!-- See SONAR-2512 -->
          <groupId>commons-beanutils</groupId>
          <artifactId>commons-beanutils-core</artifactId>
        </exclusion>
        <exclusion>
          <!-- Checkstyle 5.5 declares this dependency, whereas 5.1 not -->
          <groupId>com.sun</groupId>
          <artifactId>tools</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-project</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-artifact</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <scope>provided</scope>
    </dependency>
    <!-- unit tests -->
    <dependency>
      <groupId>org.codehaus.sonar</groupId>
      <artifactId>sonar-testing-harness</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.sonar</groupId>
        <artifactId>sonar-packaging-maven-plugin</artifactId>
        <configuration>
          <pluginName>Squid for Java</pluginName>
          <pluginClass>org.sonar.plugins.squid.SquidPlugin</pluginClass>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-enforcer-plugin</artifactId>
        <executions>
          <execution>
            <id>enforce-plugin-size</id>
            <goals>
              <goal>enforce</goal>
            </goals>
            <phase>verify</phase>
            <configuration>
              <rules>
                <requireFilesSize>
                  <maxsize>1400000</maxsize>
                  <minsize>1300000</minsize>
                  <files>
                    <file>${project.build.directory}/${project.build.finalName}.jar</file>
                  </files>
                </requireFilesSize>
              </rules>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>