You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

169 lines
6.7 KiB

<?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>com.keyware.sonar</groupId>
10 months ago
<artifactId>sonar-keyware</artifactId>
<version>1.0</version>
</parent>
<!--<parent>
<groupId>org.sonarsource.sonarqube-plugins.cxx</groupId>
<artifactId>cxx</artifactId>
<version>2.1.2-SNAPSHOT</version>
</parent>-->
<!--<groupId>com.keyware.sonar</groupId>-->
<name>C++ 信息安全性设计准则</name>
<artifactId>sonar-keyware-plugins-cxx</artifactId>
10 months ago
<version>1.0</version>
<packaging>sonar-plugin</packaging>
<description>用于检查C++源代码的安全性设计准则的Sonarqube插件</description>
<properties>
10 months ago
<sonar.artifact.path>target/${project.artifactId}-${project.version}.jar</sonar.artifact.path>
10 months ago
<sonar.pluginClass>com.keyware.sonar.cxx.CxxPlugin</sonar.pluginClass>
10 months ago
<sonar.pluginName>C++ 信息安全性设计准则</sonar.pluginName>
<!-- in addition, a dependency must be set in 'integration-tests/pom.xml' to aggregate the results -->
<aggregate.report.dir>integration-tests/target/site/jacoco-aggregate/jacoco.xml</aggregate.report.dir>
10 months ago
<sonar.coverage.jacoco.xmlReportPaths>${basedir}/../${aggregate.report.dir}</sonar.coverage.jacoco.xmlReportPaths>
<commons-io.version>2.15.1</commons-io.version>
<commons-lang.version>2.6</commons-lang.version>
10 months ago
<sonar-cxx.versin>2.1.2-SNAPSHOT</sonar-cxx.versin>
<!-- we depend on API ${sonar.version} but we keep backward compatibility with LTS -->
<sonar.version>9.9.0.65466</sonar.version>
<sonar.plugin.api.version>9.14.0.375</sonar.plugin.api.version>
10 months ago
<pluginApiMinVersion>8.9</pluginApiMinVersion>
<gson.version>2.10.1</gson.version>
<guava.version>33.0.0-jre</guava.version>
<jsr305.version>3.0.2</jsr305.version>
<mockito-all.version>1.10.19</mockito-all.version>
<mockito-core.version>5.8.0</mockito-core.version>
<assertj-core.version>3.24.2</assertj-core.version>
<junit-jupiter.version>5.9.1</junit-jupiter.version>
</properties>
<dependencies>
<dependency>
10 months ago
<groupId>org.sonarsource.api.plugin</groupId>
<artifactId>sonar-plugin-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.sonarsource.sonarqube</groupId>
<artifactId>sonar-plugin-api-impl</artifactId>
<scope>test</scope>
</dependency>
<dependency>
10 months ago
<groupId>org.sonarsource.sonarqube-plugins.cxx</groupId>
<artifactId>cxx-squid</artifactId>
<version>${sonar-cxx.versin}</version>
</dependency>
<dependency>
10 months ago
<groupId>org.sonarsource.sonarqube-plugins.cxx</groupId>
<artifactId>cxx-checks</artifactId>
<version>${sonar-cxx.versin}</version>
</dependency>
<dependency>
10 months ago
<groupId>org.sonarsource.sonarqube-plugins.cxx</groupId>
<artifactId>cxx-sensors</artifactId>
<version>${sonar-cxx.versin}</version>
</dependency>
<dependency>
10 months ago
<groupId>org.sonarsource.sonarqube-plugins.cxx</groupId>
<artifactId>cxx-squid-bridge</artifactId>
<version>${sonar-cxx.versin}</version>
</dependency>
10 months ago
<dependency>
<groupId>org.sonarsource.sonarqube-plugins.cxx</groupId>
<artifactId>sslr-core</artifactId>
<version>${sonar-cxx.versin}</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>${jsr305.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>${gson.version}</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito-core.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj-core.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
10 months ago
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit-jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
10 months ago
<artifactId>junit-jupiter-api</artifactId>
<version>${junit-jupiter.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.sonarsource.sonar-packaging-maven-plugin</groupId>
<artifactId>sonar-packaging-maven-plugin</artifactId>
<configuration>
10 months ago
<pluginApiMinVersion>${pluginApiMinVersion}</pluginApiMinVersion>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<header>${project.basedir}/src/main/resources/license-header.txt</header>
<!--排除文件-->
<excludes>
<exclude>**/*.properties</exclude>
<exclude>*.sh</exclude>
<exclude>*.yml</exclude>
<exclude>.editorconfig</exclude>
<exclude>.gitignore</exclude>
<exclude>**/*.md</exclude>
<exclude>**/*.xml</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
10 months ago
<resources>
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>com/sonar/sqale/cxx-model-project*</exclude>
<exclude>external/*</exclude>
</excludes>
</resource>
</resources>
</build>
</project>