|
20 | 20 | <mockito.version>2.21.0</mockito.version> |
21 | 21 | <assertj-core.version>3.15.0</assertj-core.version> |
22 | 22 | <jacoco.version>0.8.4</jacoco.version> |
| 23 | + <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version> |
23 | 24 | </properties> |
24 | 25 |
|
25 | 26 | <issueManagement> |
|
130 | 131 | <version>${jacoco.version}</version> |
131 | 132 | <scope>test</scope> |
132 | 133 | </dependency> |
133 | | - |
134 | | - <!-- provided dependencies --> |
135 | | - <dependency> |
136 | | - <groupId>org.sonarsource.sonarqube</groupId> |
137 | | - <artifactId>sonar-plugin-api</artifactId> |
138 | | - <version>${sonar.version}</version> |
139 | | - <scope>provided</scope> |
140 | | - </dependency> |
141 | 134 | </dependencies> |
142 | 135 |
|
143 | 136 | <build> |
| 137 | + <pluginManagement> |
| 138 | + <plugins> |
| 139 | + <plugin> |
| 140 | + <groupId>org.apache.maven.plugins</groupId> |
| 141 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 142 | + <configuration> |
| 143 | + <source>8</source> |
| 144 | + </configuration> |
| 145 | + </plugin> |
| 146 | + <plugin> |
| 147 | + <groupId>org.apache.maven.plugins</groupId> |
| 148 | + <artifactId>maven-surefire-plugin</artifactId> |
| 149 | + <version>${maven-surefire-plugin.version}</version> |
| 150 | + </plugin> |
| 151 | + <plugin> |
| 152 | + <groupId>org.apache.maven.plugins</groupId> |
| 153 | + <artifactId>maven-project-info-reports-plugin</artifactId> |
| 154 | + <version>2.9</version> |
| 155 | + </plugin> |
| 156 | + </plugins> |
| 157 | + </pluginManagement> |
144 | 158 | <plugins> |
145 | 159 | <plugin> |
146 | 160 | <groupId>org.sonarsource.sonar-packaging-maven-plugin</groupId> |
147 | 161 | <artifactId>sonar-packaging-maven-plugin</artifactId> |
148 | 162 | <version>1.18.0.372</version> |
149 | 163 | <extensions>true</extensions> |
150 | 164 | <configuration> |
151 | | - <pluginKey>rust</pluginKey> |
| 165 | + <pluginKey>rustlint</pluginKey> |
152 | 166 | <pluginClass>org.elegoff.plugins.rust.RustPlugin</pluginClass> |
153 | 167 | </configuration> |
154 | 168 | </plugin> |
155 | 169 | <plugin> |
156 | 170 | <groupId>org.apache.maven.plugins</groupId> |
157 | 171 | <artifactId>maven-compiler-plugin</artifactId> |
158 | | - <version>3.5.1</version> |
| 172 | + <version>3.6.0</version> |
159 | 173 | <configuration> |
160 | 174 | <source>${jdk.min.version}</source> |
161 | 175 | <target>${jdk.min.version}</target> |
| 176 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 177 | + </configuration> |
| 178 | + </plugin> |
| 179 | + <plugin> |
| 180 | + <groupId>org.apache.maven.plugins</groupId> |
| 181 | + <artifactId>maven-surefire-plugin</artifactId> |
| 182 | + <configuration> |
| 183 | + <includes> |
| 184 | + <include>**/*Test.java</include> |
| 185 | + </includes> |
162 | 186 | </configuration> |
163 | 187 | </plugin> |
164 | 188 | <plugin> |
165 | | - <!-- UTF-8 bundles are not supported by Java, so they must be converted during build --> |
166 | | - <groupId>org.codehaus.mojo</groupId> |
167 | | - <artifactId>native2ascii-maven-plugin</artifactId> |
168 | | - <version>1.0-beta-1</version> |
| 189 | + <groupId>org.apache.maven.plugins</groupId> |
| 190 | + <artifactId>maven-source-plugin</artifactId> |
| 191 | + <version>3.0.1</version> |
169 | 192 | <executions> |
170 | 193 | <execution> |
171 | 194 | <goals> |
172 | | - <goal>native2ascii</goal> |
| 195 | + <goal>jar-no-fork</goal> |
173 | 196 | </goals> |
174 | 197 | </execution> |
175 | 198 | </executions> |
176 | 199 | </plugin> |
| 200 | + <plugin> |
| 201 | + <groupId>org.apache.maven.plugins</groupId> |
| 202 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 203 | + <version>3.1.0</version> |
| 204 | + <executions> |
| 205 | + <execution> |
| 206 | + <phase>prepare-package</phase> |
| 207 | + <goals> |
| 208 | + <goal>javadoc</goal> |
| 209 | + </goals> |
| 210 | + </execution> |
| 211 | + </executions> |
| 212 | + <configuration> |
| 213 | + <!-- optional --> |
| 214 | + <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> |
| 215 | + <!-- to show the private methods in the javadoc --> |
| 216 | + <show>private</show> |
| 217 | + </configuration> |
| 218 | + </plugin> |
177 | 219 | <plugin> |
178 | 220 | <groupId>com.mycila.maven-license-plugin</groupId> |
179 | 221 | <artifactId>maven-license-plugin</artifactId> |
|
204 | 246 | </build> |
205 | 247 | <profiles> |
206 | 248 | <profile> |
207 | | - <id>audit</id> |
| 249 | + <id>coverage</id> |
208 | 250 | <build> |
209 | 251 | <plugins> |
210 | 252 | <plugin> |
|
0 commit comments