<?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.python</groupId> <artifactId>python</artifactId> <version>3.16.0.9967</version> </parent> <artifactId>sonar-python-plugin</artifactId> <packaging>sonar-plugin</packaging> <name>Python :: Sonar Plugin</name> <!-- Be careful when altering <description> as its value shows up in the SonarQube GUI --> <description>Code Analyzer for Python</description> <url>http://redirect.sonarsource.com/plugins/python.html</url> <scm> <connection>scm:git:git@github.com:SonarCommunity/sonar-python.git</connection> <developerConnection>scm:git:git@github.com:SonarCommunity/sonar-python.git</developerConnection> <url>https://github.com/SonarCommunity/sonar-python</url> <tag>HEAD</tag> </scm> <dependencies> <dependency> <groupId>org.sonarsource.sonarqube</groupId> <artifactId>sonar-plugin-api</artifactId> </dependency> <dependency> <groupId>org.sonarsource.sonarlint.core</groupId> <artifactId>sonarlint-plugin-api</artifactId> </dependency> <dependency> <groupId>org.sonarsource.sonarqube</groupId> <artifactId>sonar-plugin-api-impl</artifactId> <version>${sonar.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>python-frontend</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>python-checks</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.sonarsource.analyzer-commons</groupId> <artifactId>sonar-analyzer-commons</artifactId> </dependency> <dependency> <groupId>org.sonarsource.analyzer-commons</groupId> <artifactId>sonar-xml-parsing</artifactId> </dependency> <dependency> <groupId>org.sonarsource.analyzer-commons</groupId> <artifactId>sonar-performance-measure</artifactId> </dependency> <dependency> <groupId>org.sonarsource.sslr</groupId> <artifactId>sslr-testing-harness</artifactId> </dependency> <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> </dependency> <dependency> <groupId>org.codehaus.staxmate</groupId> <artifactId>staxmate</artifactId> </dependency> <dependency> <groupId>org.sonarsource.sonarqube</groupId> <artifactId>sonar-testing-harness</artifactId> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> </dependency> <dependency> <groupId>org.sonarsource.sonarlint.core</groupId> <artifactId>sonarlint-core</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.sonarsource.sonar-packaging-maven-plugin</groupId> <artifactId>sonar-packaging-maven-plugin</artifactId> <configuration> <pluginName>Python Code Quality and Security</pluginName> <pluginClass>org.sonar.plugins.python.PythonPlugin</pluginClass> <skipDependenciesPackaging>true</skipDependenciesPackaging> <sonarLintSupported>true</sonarLintSupported> <sonarQubeMinVersion>${sonarQubeMinVersion}</sonarQubeMinVersion> <jreMinVersion>${jre.min.version}</jreMinVersion> </configuration> </plugin> <plugin> <artifactId>maven-shade-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <shadedArtifactAttached>false</shadedArtifactAttached> <createDependencyReducedPom>false</createDependencyReducedPom> <minimizeJar>true</minimizeJar> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>META-INF/LICENSE*</exclude> <exclude>META-INF/NOTICE*</exclude> <exclude>META-INF/*.RSA</exclude> <exclude>META-INF/*.SF</exclude> <exclude>LICENSE*</exclude> <exclude>NOTICE*</exclude> </excludes> </filter> <filter> <!-- Keeping all classes from python-frontend in case some class is not used (e.g. class is created for custom rules) --> <artifact>org.sonarsource.python:python-frontend</artifact> <includes> <include>**</include> </includes> </filter> </filters> </configuration> </execution> </executions> </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>8000000</maxsize> <minsize>7000000</minsize> <files> <file>${project.build.directory}/${project.build.finalName}.jar</file> </files> </requireFilesSize> </rules> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>
<dependency> <groupId>org.sonarsource.python</groupId> <artifactId>sonar-python-plugin</artifactId> <version>3.16.0.9967</version> </dependency>
org.sonarsource.python:sonar-python-plugin:3.16.0.9967