<?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> <parent> <groupId>org.sonarsource.php</groupId> <artifactId>php</artifactId> <version>2.12.0.2871</version> </parent> <artifactId>sonar-php-plugin</artifactId> <packaging>sonar-plugin</packaging> <name>SonarPHP :: Sonar Plugin</name> <description>Code Analyzer for PHP</description> <url>http://redirect.sonarsource.com/plugins/php.html</url> <scm> <connection>scm:git:git@github.com:SonarCommunity/sonar-php.git</connection> <developerConnection>scm:git:git@github.com:SonarCommunity/sonar-php.git</developerConnection> <url>https://github.com/SonarCommunity/sonar-php</url> <tag>HEAD</tag> </scm> <properties> <sonar.pluginClass>org.sonar.plugins.php.PhpPlugin</sonar.pluginClass> <sonar.pluginName>SonarPHP</sonar.pluginName> <!-- Those classes are excluded as they are just a temporary copy of Sonar core classes --> <sonar.exclusions>org/sonar/plugins/php/duplications/internal/*.java</sonar.exclusions> </properties> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>php-frontend</artifactId> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>php-checks</artifactId> </dependency> <dependency> <groupId>org.sonarsource.sonarqube</groupId> <artifactId>sonar-plugin-api</artifactId> </dependency> <dependency> <groupId>org.sonarsource.sonarqube</groupId> <artifactId>sonar-testing-harness</artifactId> </dependency> <dependency> <groupId>org.sonarsource.sslr</groupId> <artifactId>sslr-testing-harness</artifactId> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> </dependency> <dependency> <groupId>com.thoughtworks.xstream</groupId> <artifactId>xstream</artifactId> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-shade-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <shadedArtifactAttached>false</shadedArtifactAttached> <minimizeJar>true</minimizeJar> <createDependencyReducedPom>false</createDependencyReducedPom> <filters> <filter> <artifact>cglib:cglib-nodep</artifact> <artifact>com.thoughtworks.xstream:xstream</artifact> <includes> <include>**</include> </includes> </filter> </filters> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-enforcer-plugin</artifactId> <executions> <execution> <id>enforce-plugin-size</id> <goals> <goal>enforce</goal> </goals> <phase>verify</phase> <configuration> <rules> <requireFilesSize> <minsize>3100000</minsize> <maxsize>3200000</maxsize> <files> <file>${project.build.directory}/${project.build.finalName}.jar</file> </files> </requireFilesSize> </rules> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>
<dependency> <groupId>org.sonarsource.php</groupId> <artifactId>sonar-php-plugin</artifactId> <version>2.12.0.2871</version> </dependency>
org.sonarsource.php:sonar-php-plugin:2.12.0.2871