<?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>2.4-SNAPSHOT</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> <dependencies> <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-deprecated</artifactId> </dependency> <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-squid</artifactId> </dependency> <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-graph</artifactId> </dependency> <dependency> <groupId>asm</groupId> <artifactId>asm-all</artifactId> <version>3.2</version> </dependency> <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-plugin-api</artifactId> </dependency> <dependency> <groupId>checkstyle</groupId> <artifactId>checkstyle</artifactId> <version>5.1</version> <exclusions> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> <exclusion> <!-- optimization for JAR size --> <groupId>commons-cli</groupId> <artifactId>commons-cli</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>org.apache.maven.shared</groupId> <artifactId>maven-common-artifact-filters</artifactId> <exclusions> <!-- optimizations to reduce the size of the plugin JAR --> <exclusion> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> </exclusion> <exclusion> <groupId>org.apache.maven</groupId> <artifactId>maven-artifact</artifactId> </exclusion> <exclusion> <groupId>org.apache.maven</groupId> <artifactId>maven-model</artifactId> </exclusion> <exclusion> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> </exclusion> <exclusion> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-plugin-testing-harness</artifactId> </exclusion> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-container-default</artifactId> </exclusion> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> </dependency> <dependency> <groupId>classworlds</groupId> <artifactId>classworlds</artifactId> <scope>provided</scope> </dependency> <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> <extensions>true</extensions> <configuration> <pluginKey>squid-java</pluginKey> <pluginName>Squid for Java</pluginName> <pluginClass>org.sonar.plugins.squid.SquidPlugin</pluginClass> </configuration> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> </plugins> </build> </project>