|
15 | 15 | <groupId>com.offbytwo.jenkins</groupId> |
16 | 16 | <artifactId>jenkins-client</artifactId> |
17 | 17 | <version>0.3.1-SNAPSHOT</version> |
18 | | - <packaging>jar</packaging> |
19 | 18 |
|
20 | 19 | <parent> |
21 | 20 | <groupId>org.sonatype.oss</groupId> |
|
28 | 27 | < developerConnection>scm:git: [email protected]:RisingOak/jenkins-client.git</ developerConnection> |
29 | 28 | <url>https://github.com/RisingOak/jenkins-client</url> |
30 | 29 | </scm> |
| 30 | + <distributionManagement> |
| 31 | + <site> |
| 32 | + <id>github</id> |
| 33 | + < url>scm:git: [email protected]:RisingOak/jenkins-client.git</ url> |
| 34 | + </site> |
| 35 | + </distributionManagement> |
31 | 36 |
|
32 | 37 | <properties> |
33 | 38 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
145 | 150 | <build> |
146 | 151 | <pluginManagement> |
147 | 152 | <plugins> |
| 153 | + <plugin> |
| 154 | + <groupId>org.apache.maven.plugins</groupId> |
| 155 | + <artifactId>maven-source-plugin</artifactId> |
| 156 | + <version>2.4</version> |
| 157 | + <executions> |
| 158 | + <!-- |
| 159 | + ! here we override the super-pom attach-sources execution id which |
| 160 | + ! calls sources:jar goal. That goals forks the lifecycle, |
| 161 | + ! causing the generate-sources phase to be called twice for the install goal. |
| 162 | + --> |
| 163 | + <execution> |
| 164 | + <id>attach-sources</id> |
| 165 | + <phase>DISABLE_FORKED_LIFECYCLE_MSOURCES-13</phase> |
| 166 | + </execution> |
| 167 | + </executions> |
| 168 | + </plugin> |
148 | 169 | <plugin> |
149 | 170 | <groupId>org.apache.maven.plugins</groupId> |
150 | 171 | <artifactId>maven-surefire-plugin</artifactId> |
|
173 | 194 | <artifactId>maven-compiler-plugin</artifactId> |
174 | 195 | <version>3.3</version> |
175 | 196 | </plugin> |
| 197 | + <!-- |
| 198 | + ! The gpg plugin is already defined in oss-parent |
| 199 | + --> |
| 200 | + <plugin> |
| 201 | + <groupId>org.apache.maven.plugins</groupId> |
| 202 | + <artifactId>maven-gpg-plugin</artifactId> |
| 203 | + <version>1.5</version> |
| 204 | + </plugin> |
| 205 | + <plugin> |
| 206 | + <groupId>org.apache.maven.plugins</groupId> |
| 207 | + <artifactId>maven-scm-publish-plugin</artifactId> |
| 208 | + <version>1.1</version> |
| 209 | + <configuration> |
| 210 | + <scmBranch>gh-pages</scmBranch> |
| 211 | + </configuration> |
| 212 | + </plugin> |
176 | 213 | </plugins> |
177 | 214 | </pluginManagement> |
178 | 215 | <plugins> |
|
195 | 232 | </build> |
196 | 233 |
|
197 | 234 | <reporting> |
198 | | - <plugins> |
| 235 | + <plugins> |
| 236 | + <plugin> |
| 237 | + <groupId>org.apache.maven.plugins</groupId> |
| 238 | + <artifactId>maven-surefire-report-plugin</artifactId> |
| 239 | + <version>2.18.1</version> |
| 240 | + <reportSets> |
| 241 | + <reportSet> |
| 242 | + <reports> |
| 243 | + <report>failsafe-report-only</report> |
| 244 | + <report>report</report> |
| 245 | + </reports> |
| 246 | + </reportSet> |
| 247 | + </reportSets> |
| 248 | + </plugin> |
| 249 | + <plugin> |
| 250 | + <groupId>org.apache.maven.plugins</groupId> |
| 251 | + <artifactId>maven-project-info-reports-plugin</artifactId> |
| 252 | + <version>2.8</version> |
| 253 | + </plugin> |
199 | 254 | <plugin> |
200 | 255 | <groupId>org.apache.maven.plugins</groupId> |
201 | 256 | <artifactId>maven-pmd-plugin</artifactId> |
202 | | - <version>2.7.1</version> |
| 257 | + <version>3.5</version> |
| 258 | + <configuration> |
| 259 | + <targetJdk>${maven.compiler.target}</targetJdk> |
| 260 | + </configuration> |
203 | 261 | </plugin> |
204 | 262 | <plugin> |
205 | 263 | <groupId>org.codehaus.mojo</groupId> |
206 | 264 | <artifactId>cobertura-maven-plugin</artifactId> |
207 | | - <version>2.5.2</version> |
| 265 | + <version>2.7</version> |
208 | 266 | </plugin> |
209 | 267 | <plugin> |
210 | 268 | <groupId>org.codehaus.mojo</groupId> |
211 | 269 | <artifactId>findbugs-maven-plugin</artifactId> |
212 | 270 | <version>2.5.2</version> |
213 | 271 | </plugin> |
| 272 | + <plugin> |
| 273 | + <groupId>org.apache.maven.plugins</groupId> |
| 274 | + <artifactId>maven-jxr-plugin</artifactId> |
| 275 | + <version>2.5</version> |
| 276 | + </plugin> |
214 | 277 | </plugins> |
215 | 278 | </reporting> |
216 | 279 |
|
|
225 | 288 | </activation> |
226 | 289 | <build> |
227 | 290 | <plugins> |
| 291 | + <!-- MSOURCES-13 related workaround overriding super-pom --> |
228 | 292 | <plugin> |
229 | | - <groupId>org.apache.maven.plugins</groupId> |
230 | | - <artifactId>maven-source-plugin</artifactId> |
231 | | - <version>2.2.1</version> |
232 | | - <executions> |
233 | | - <execution> |
234 | | - <id>attach-sources</id> |
235 | | - <goals> |
236 | | - <goal>jar</goal> |
237 | | - </goals> |
238 | | - </execution> |
239 | | - </executions> |
| 293 | + <inherited>true</inherited> |
| 294 | + <artifactId>maven-source-plugin</artifactId> |
| 295 | + <executions> |
| 296 | + <execution> |
| 297 | + <id>attach-sources-no-fork</id> |
| 298 | + <goals> |
| 299 | + <goal>jar-no-fork</goal> |
| 300 | + </goals> |
| 301 | + </execution> |
| 302 | + </executions> |
240 | 303 | </plugin> |
241 | | - |
242 | 304 | <plugin> |
243 | 305 | <groupId>org.apache.maven.plugins</groupId> |
244 | 306 | <artifactId>maven-javadoc-plugin</artifactId> |
245 | | - <version>2.9</version> |
| 307 | + <version>2.10.3</version> |
246 | 308 | <executions> |
247 | 309 | <execution> |
248 | 310 | <id>attach-javadocs</id> |
|
252 | 314 | </execution> |
253 | 315 | </executions> |
254 | 316 | </plugin> |
255 | | - |
256 | 317 | <plugin> |
257 | 318 | <groupId>org.apache.maven.plugins</groupId> |
258 | 319 | <artifactId>maven-gpg-plugin</artifactId> |
259 | | - <version>1.4</version> |
| 320 | + <version>1.5</version> |
260 | 321 | <executions> |
261 | 322 | <execution> |
262 | 323 | <id>sign-artifacts</id> |
|
0 commit comments