forked from SonarSource/sonar-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
107 lines (99 loc) · 3.58 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?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.parent</groupId>
<artifactId>parent</artifactId>
<version>61.0.147</version>
</parent>
<groupId>org.sonarsource.dotnet</groupId>
<artifactId>sonar-dotnet</artifactId>
<version>8.39-SNAPSHOT</version>
<packaging>pom</packaging>
<name>.NET Analyzers parent</name>
<description>Code Analyzers for .NET</description>
<url>https://github.com/SonarSource/sonar-dotnet</url>
<inceptionYear>2014</inceptionYear>
<organization>
<name>SonarSource</name>
<url>http://www.sonarsource.com</url>
</organization>
<licenses>
<license>
<name>GNU LGPL 3</name>
<url>http://www.gnu.org/licenses/lgpl.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<modules>
<module>sonar-dotnet-shared-library</module>
<module>sonar-csharp-plugin</module>
<module>sonar-vbnet-plugin</module>
</modules>
<scm>
<connection>scm:git:[email protected]:SonarSource/sonar-dotnet.git</connection>
<developerConnection>scm:git:[email protected]:SonarSource/sonar-dotnet.git</developerConnection>
<url>https://github.com/SonarSource/sonar-dotnet</url>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/SonarSource/sonar-dotnet/issues</url>
</issueManagement>
<properties>
<gitRepositoryName>sonar-dotnet</gitRepositoryName>
<!-- Release: enable publication to Bintray -->
<artifactsToPublish>${project.groupId}:sonar-csharp-plugin:jar,${project.groupId}:sonar-vbnet-plugin:jar</artifactsToPublish>
<artifactsToDownload>${project.groupId}:SonarAnalyzer.CSharp:nupkg,${project.groupId}:SonarAnalyzer.VisualBasic:nupkg</artifactsToDownload>
<!-- We are ignoring java doc warnings - this is because we are using JDK 11. Ideally we should not do that. -->
<doclint>none</doclint>
<sonar.analyzer.commons>1.24.0.965</sonar.analyzer.commons>
<sonar.version>9.3.0.51899</sonar.version>
</properties>
<profiles>
<profile>
<id>sonaranalyzer</id>
<modules>
<module>analyzers</module>
</modules>
</profile>
<profile>
<!--
Use javac's release flag for Java 9 and higher to avoid Java 11 failures on javadoc phase which happens
when the 'release' profile is ran. The 'release' generates the javadoc necessary for the MVN Repository.
-->
<id>java9+</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<properties>
<maven.compiler.release>8</maven.compiler.release>
</properties>
</profile>
<profile>
<id>sign</id>
<build>
<plugins>
<plugin>
<groupId>org.simplify4u.plugins</groupId>
<artifactId>sign-maven-plugin</artifactId>
<version>${version.gpg.plugin}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<keyPass>${env.PGP_PASSPHRASE}</keyPass>
<keyFile>${env.SIGNKEY_PATH}</keyFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>