|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<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"> |
3 | | - <modelVersion>4.0.0</modelVersion> |
4 | | - |
5 | | - <groupId>org.elegoff.plugins</groupId> |
6 | | - <artifactId>sonar-rust-plugin</artifactId> |
7 | | - <packaging>sonar-plugin</packaging> |
8 | | - <version>1.0.0</version> |
9 | | - |
10 | | - <name>Rust</name> |
11 | | - <description>Plugin for the Rust programming language</description> |
12 | | - |
13 | | - <properties> |
14 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
15 | | - <sonar.version>7.9</sonar.version> |
16 | | - <jdk.min.version>1.8</jdk.min.version> |
17 | | - <sslr.version>1.23</sslr.version> |
18 | | - <mockito.version>2.21.0</mockito.version> |
19 | | - <assertj-core.version>3.15.0</assertj-core.version> |
20 | | - </properties> |
21 | | - |
22 | | - <dependencies> |
23 | | - |
24 | | - <dependency> |
25 | | - <groupId>org.sonarsource.sonarqube</groupId> |
26 | | - <artifactId>sonar-plugin-api</artifactId> |
27 | | - <version>${sonar.version}</version> |
28 | | - <scope>provided</scope> |
29 | | - </dependency> |
30 | | - <dependency> |
31 | | - <!-- packaged with the plugin --> |
32 | | - <groupId>commons-lang</groupId> |
33 | | - <artifactId>commons-lang</artifactId> |
34 | | - <version>2.6</version> |
35 | | - </dependency> |
36 | | - <dependency> |
37 | | - <groupId>org.slf4j</groupId> |
38 | | - <artifactId>slf4j-api</artifactId> |
39 | | - <version>1.7.24</version> |
40 | | - </dependency> |
41 | | - <dependency> |
42 | | - <groupId> ch.qos.logback</groupId> |
43 | | - <artifactId>logback-core</artifactId> |
44 | | - <version>1.0.13</version> |
45 | | - </dependency> |
46 | | - <dependency> |
47 | | - <groupId> ch.qos.logback</groupId> |
48 | | - <artifactId>logback-classic</artifactId> |
49 | | - <version>1.0.13</version> |
50 | | - </dependency> |
51 | | -<!-- https://mvnrepository.com/artifact/org.sonarsource.analyzer-commons/sonar-analyzer-commons --> |
52 | | -<dependency> |
53 | | - <groupId>org.sonarsource.analyzer-commons</groupId> |
54 | | - <artifactId>sonar-analyzer-commons</artifactId> |
55 | | - <version>1.11.0.541</version> |
56 | | -</dependency> |
57 | | - |
58 | | - |
59 | | - <!-- unit tests |
60 | | - <dependency> |
61 | | - <groupId>org.sonarsource.sonarqube</groupId> |
62 | | - <artifactId>sonar-testing-harness</artifactId> |
63 | | - <version>${sonar.apiVersion}</version> |
64 | | - <scope>test</scope> |
65 | | - </dependency> |
66 | | - --> |
67 | | - <dependency> |
68 | | - <groupId>junit</groupId> |
69 | | - <artifactId>junit</artifactId> |
70 | | - <version>4.11</version> |
71 | | - <scope>test</scope> |
72 | | - </dependency> |
73 | | - |
74 | | - |
75 | | - |
76 | | - <dependency> |
77 | | - <groupId>org.sonarsource.sslr</groupId> |
78 | | - <artifactId>sslr-testing-harness</artifactId> |
79 | | - <version>${sslr.version}</version> |
80 | | - <scope>test</scope> |
81 | | - </dependency> |
82 | | - |
83 | | - <dependency> |
84 | | - <groupId>org.codehaus.staxmate</groupId> |
85 | | - <artifactId>staxmate</artifactId> |
86 | | - <version>2.0.1</version> |
87 | | - </dependency> |
88 | | - <dependency> |
89 | | - <groupId>org.sonarsource.sonarqube</groupId> |
90 | | - <artifactId>sonar-testing-harness</artifactId> |
91 | | - <version>${sonar.version}</version> |
92 | | - <scope>test</scope> |
93 | | - </dependency> |
94 | | - <dependency> |
95 | | - <groupId>org.assertj</groupId> |
96 | | - <artifactId>assertj-core</artifactId> |
97 | | - <version>${assertj-core.version}</version> |
98 | | - <scope>test</scope> |
99 | | - </dependency> |
100 | | - <dependency> |
101 | | - <groupId>org.mockito</groupId> |
102 | | - <artifactId>mockito-core</artifactId> |
103 | | - <version>${mockito.version}</version> |
104 | | - <scope>test</scope> |
105 | | - </dependency> |
106 | | - |
107 | | - <!-- provided dependencies --> |
108 | | - <dependency> |
109 | | - <groupId>org.sonarsource.sonarqube</groupId> |
110 | | - <artifactId>sonar-plugin-api</artifactId> |
111 | | - <version>${sonar.version}</version> |
112 | | - <scope>provided</scope> |
113 | | - </dependency> |
114 | | - |
115 | | - |
116 | | - </dependencies> |
117 | | - |
118 | | - <build> |
119 | | - <plugins> |
120 | | - <plugin> |
121 | | - <groupId>org.sonarsource.sonar-packaging-maven-plugin</groupId> |
122 | | - <artifactId>sonar-packaging-maven-plugin</artifactId> |
123 | | - <version>1.18.0.372</version> |
124 | | - <extensions>true</extensions> |
125 | | - <configuration> |
126 | | - <pluginKey>rust</pluginKey> |
127 | | - <pluginClass>org.elegoff.plugins.rust.RustPlugin</pluginClass> |
128 | | - </configuration> |
129 | | - </plugin> |
130 | | - <plugin> |
131 | | - <groupId>org.apache.maven.plugins</groupId> |
132 | | - <artifactId>maven-compiler-plugin</artifactId> |
133 | | - <version>3.5.1</version> |
134 | | - <configuration> |
135 | | - <source>${jdk.min.version}</source> |
136 | | - <target>${jdk.min.version}</target> |
137 | | - </configuration> |
138 | | - </plugin> |
139 | | - <plugin> |
140 | | - <!-- UTF-8 bundles are not supported by Java, so they must be converted during build --> |
141 | | - <groupId>org.codehaus.mojo</groupId> |
142 | | - <artifactId>native2ascii-maven-plugin</artifactId> |
143 | | - <version>1.0-beta-1</version> |
144 | | - <executions> |
145 | | - <execution> |
146 | | - <goals> |
147 | | - <goal>native2ascii</goal> |
148 | | - </goals> |
149 | | - </execution> |
150 | | - </executions> |
151 | | - </plugin> |
152 | | - |
153 | | - </plugins> |
154 | | - </build> |
155 | | - |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + |
| 6 | + <groupId>org.elegoff.plugins</groupId> |
| 7 | + <artifactId>sonar-rust-plugin</artifactId> |
| 8 | + <packaging>sonar-plugin</packaging> |
| 9 | + <version>1.0.0</version> |
| 10 | + |
| 11 | + <name>Rust</name> |
| 12 | + <description>Plugin for the Rust programming language</description> |
| 13 | + |
| 14 | + <properties> |
| 15 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 16 | + <sonar.version>7.9</sonar.version> |
| 17 | + <jdk.min.version>1.8</jdk.min.version> |
| 18 | + <sslr.version>1.23</sslr.version> |
| 19 | + <mockito.version>2.21.0</mockito.version> |
| 20 | + <assertj-core.version>3.15.0</assertj-core.version> |
| 21 | + </properties> |
| 22 | + |
| 23 | + <dependencies> |
| 24 | + |
| 25 | + <dependency> |
| 26 | + <groupId>org.sonarsource.sonarqube</groupId> |
| 27 | + <artifactId>sonar-plugin-api</artifactId> |
| 28 | + <version>${sonar.version}</version> |
| 29 | + <scope>provided</scope> |
| 30 | + </dependency> |
| 31 | + <dependency> |
| 32 | + <!-- packaged with the plugin --> |
| 33 | + <groupId>commons-lang</groupId> |
| 34 | + <artifactId>commons-lang</artifactId> |
| 35 | + <version>2.6</version> |
| 36 | + </dependency> |
| 37 | + <dependency> |
| 38 | + <groupId>org.slf4j</groupId> |
| 39 | + <artifactId>slf4j-api</artifactId> |
| 40 | + <version>1.7.24</version> |
| 41 | + </dependency> |
| 42 | + <dependency> |
| 43 | + <groupId>ch.qos.logback</groupId> |
| 44 | + <artifactId>logback-core</artifactId> |
| 45 | + <version>1.0.13</version> |
| 46 | + </dependency> |
| 47 | + <dependency> |
| 48 | + <groupId>ch.qos.logback</groupId> |
| 49 | + <artifactId>logback-classic</artifactId> |
| 50 | + <version>1.0.13</version> |
| 51 | + </dependency> |
| 52 | + <!-- https://mvnrepository.com/artifact/org.sonarsource.analyzer-commons/sonar-analyzer-commons --> |
| 53 | + <dependency> |
| 54 | + <groupId>org.sonarsource.analyzer-commons</groupId> |
| 55 | + <artifactId>sonar-analyzer-commons</artifactId> |
| 56 | + <version>1.11.0.541</version> |
| 57 | + </dependency> |
| 58 | + |
| 59 | + <dependency> |
| 60 | + <groupId>junit</groupId> |
| 61 | + <artifactId>junit</artifactId> |
| 62 | + <version>4.11</version> |
| 63 | + <scope>test</scope> |
| 64 | + </dependency> |
| 65 | + <dependency> |
| 66 | + <groupId>org.sonarsource.sslr</groupId> |
| 67 | + <artifactId>sslr-testing-harness</artifactId> |
| 68 | + <version>${sslr.version}</version> |
| 69 | + <scope>test</scope> |
| 70 | + </dependency> |
| 71 | + <dependency> |
| 72 | + <groupId>org.codehaus.staxmate</groupId> |
| 73 | + <artifactId>staxmate</artifactId> |
| 74 | + <version>2.0.1</version> |
| 75 | + </dependency> |
| 76 | + <dependency> |
| 77 | + <groupId>org.sonarsource.sonarqube</groupId> |
| 78 | + <artifactId>sonar-testing-harness</artifactId> |
| 79 | + <version>${sonar.version}</version> |
| 80 | + <scope>test</scope> |
| 81 | + </dependency> |
| 82 | + <dependency> |
| 83 | + <groupId>org.assertj</groupId> |
| 84 | + <artifactId>assertj-core</artifactId> |
| 85 | + <version>${assertj-core.version}</version> |
| 86 | + <scope>test</scope> |
| 87 | + </dependency> |
| 88 | + <dependency> |
| 89 | + <groupId>org.mockito</groupId> |
| 90 | + <artifactId>mockito-core</artifactId> |
| 91 | + <version>${mockito.version}</version> |
| 92 | + <scope>test</scope> |
| 93 | + </dependency> |
| 94 | + |
| 95 | + <!-- provided dependencies --> |
| 96 | + <dependency> |
| 97 | + <groupId>org.sonarsource.sonarqube</groupId> |
| 98 | + <artifactId>sonar-plugin-api</artifactId> |
| 99 | + <version>${sonar.version}</version> |
| 100 | + <scope>provided</scope> |
| 101 | + </dependency> |
| 102 | + </dependencies> |
| 103 | + |
| 104 | + <build> |
| 105 | + <plugins> |
| 106 | + <plugin> |
| 107 | + <groupId>org.sonarsource.sonar-packaging-maven-plugin</groupId> |
| 108 | + <artifactId>sonar-packaging-maven-plugin</artifactId> |
| 109 | + <version>1.18.0.372</version> |
| 110 | + <extensions>true</extensions> |
| 111 | + <configuration> |
| 112 | + <pluginKey>rust</pluginKey> |
| 113 | + <pluginClass>org.elegoff.plugins.rust.RustPlugin</pluginClass> |
| 114 | + </configuration> |
| 115 | + </plugin> |
| 116 | + <plugin> |
| 117 | + <groupId>org.apache.maven.plugins</groupId> |
| 118 | + <artifactId>maven-compiler-plugin</artifactId> |
| 119 | + <version>3.5.1</version> |
| 120 | + <configuration> |
| 121 | + <source>${jdk.min.version}</source> |
| 122 | + <target>${jdk.min.version}</target> |
| 123 | + </configuration> |
| 124 | + </plugin> |
| 125 | + <plugin> |
| 126 | + <!-- UTF-8 bundles are not supported by Java, so they must be converted during build --> |
| 127 | + <groupId>org.codehaus.mojo</groupId> |
| 128 | + <artifactId>native2ascii-maven-plugin</artifactId> |
| 129 | + <version>1.0-beta-1</version> |
| 130 | + <executions> |
| 131 | + <execution> |
| 132 | + <goals> |
| 133 | + <goal>native2ascii</goal> |
| 134 | + </goals> |
| 135 | + </execution> |
| 136 | + </executions> |
| 137 | + </plugin> |
| 138 | + </plugins> |
| 139 | + </build> |
156 | 140 | </project> |
0 commit comments