|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 |
| -<project xmlns="http://maven.apache.org/POM/4.0.0" |
3 |
| - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 |
| - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 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/xsd/maven-4.0.0.xsd"> |
5 | 4 | <parent>
|
6 | 5 | <groupId>org.sonatype.oss</groupId>
|
7 | 6 | <artifactId>oss-parent</artifactId>
|
|
281 | 280 | </execution>
|
282 | 281 | </executions>
|
283 | 282 | </plugin>
|
284 |
| - <!-- |
285 |
| - <plugin> |
286 |
| - <groupId>org.apache.maven.plugins</groupId> |
287 |
| - <artifactId>maven-shade-plugin</artifactId> |
288 |
| - <version>1.2.1</version> |
289 |
| - <executions> |
290 |
| - <execution> |
291 |
| - <phase>package</phase> |
292 |
| - <goals> |
293 |
| - <goal>shade</goal> |
294 |
| - </goals> |
295 |
| - <configuration> |
296 |
| - <shadedArtifactAttached>true</shadedArtifactAttached> |
297 |
| - <shadedClassifierName>shaded</shadedClassifierName> |
298 |
| - <artifactSet> |
299 |
| - <excludes> |
300 |
| - <exclude>commons-codec:commons-codec</exclude> |
301 |
| - <exclude>commons-lang:commons-lang</exclude> |
302 |
| - <exclude>commons-logging:commons-logging</exclude> |
303 |
| - <exclude>junit:junit</exclude> |
304 |
| - <exclude>log4j:log4j</exclude> |
305 |
| - </excludes> |
306 |
| - </artifactSet> |
307 |
| - <transformers> |
308 |
| - <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> |
309 |
| - <transformer implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer" /> |
310 |
| - <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" /> |
311 |
| - </transformers> |
312 |
| - </configuration> |
313 |
| - </execution> |
314 |
| - </executions> |
315 |
| - </plugin> |
316 |
| - --> |
317 |
| - <!-- |
318 |
| - <plugin> |
319 |
| - <groupId>org.codehaus.mojo</groupId> |
320 |
| - <artifactId>clirr-maven-plugin</artifactId> |
321 |
| - <version>2.3</version> |
322 |
| - <configuration> |
323 |
| - <excludes> |
324 |
| - <exclude>**/NettyAsyncHttpProvider$*</exclude> |
325 |
| - <exclude>**/AsyncHandler$STATE</exclude> |
326 |
| - <exclude>**/ProxyServer$Protocol</exclude> |
327 |
| - <exclude>**/Realm$AuthScheme</exclude> |
328 |
| - <exclude>**/SimpleAsyncHttpClient$ErrorDocumentBehaviour</exclude> |
329 |
| - <exclude>**/SpnegoEngine</exclude> |
330 |
| - <exclude>**/Request</exclude> |
331 |
| - <exclude>**/Request$EntityWriter</exclude> |
332 |
| - <exclude>**/RequestBuilderBase</exclude> |
333 |
| - <exclude>**/Response</exclude> |
334 |
| - <exclude>**/Response$*</exclude> |
335 |
| - <exclude>**/FilterContext</exclude> |
336 |
| - <exclude>**/FilterContext$*</exclude> |
337 |
| - <exclude>**/NettyResponseFuture</exclude> |
338 |
| - <exclude>**/**ResponseBodyPart</exclude> |
339 |
| - <exclude>**/**WebSocket</exclude> |
340 |
| - </excludes> |
341 |
| - </configuration> |
342 |
| - <executions> |
343 |
| - <execution> |
344 |
| - <id>check-api-compat</id> |
345 |
| - <phase>verify</phase> |
346 |
| - <goals> |
347 |
| - <goal>check-no-fork</goal> |
348 |
| - </goals> |
349 |
| - </execution> |
350 |
| - </executions> |
351 |
| - </plugin> |
352 |
| - --> |
| 283 | + <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> |
| 284 | + <version>1.2.1</version> <executions> <execution> <phase>package</phase> |
| 285 | + <goals> <goal>shade</goal> </goals> <configuration> <shadedArtifactAttached>true</shadedArtifactAttached> |
| 286 | + <shadedClassifierName>shaded</shadedClassifierName> <artifactSet> <excludes> |
| 287 | + <exclude>commons-codec:commons-codec</exclude> <exclude>commons-lang:commons-lang</exclude> |
| 288 | + <exclude>commons-logging:commons-logging</exclude> <exclude>junit:junit</exclude> |
| 289 | + <exclude>log4j:log4j</exclude> </excludes> </artifactSet> <transformers> |
| 290 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" |
| 291 | + /> <transformer implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer" |
| 292 | + /> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" |
| 293 | + /> </transformers> </configuration> </execution> </executions> </plugin> --> |
| 294 | + <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>clirr-maven-plugin</artifactId> |
| 295 | + <version>2.3</version> <configuration> <excludes> <exclude>**/NettyAsyncHttpProvider$*</exclude> |
| 296 | + <exclude>**/AsyncHandler$STATE</exclude> <exclude>**/ProxyServer$Protocol</exclude> |
| 297 | + <exclude>**/Realm$AuthScheme</exclude> <exclude>**/SimpleAsyncHttpClient$ErrorDocumentBehaviour</exclude> |
| 298 | + <exclude>**/SpnegoEngine</exclude> <exclude>**/Request</exclude> <exclude>**/Request$EntityWriter</exclude> |
| 299 | + <exclude>**/RequestBuilderBase</exclude> <exclude>**/Response</exclude> <exclude>**/Response$*</exclude> |
| 300 | + <exclude>**/FilterContext</exclude> <exclude>**/FilterContext$*</exclude> |
| 301 | + <exclude>**/NettyResponseFuture</exclude> <exclude>**/**ResponseBodyPart</exclude> |
| 302 | + <exclude>**/**WebSocket</exclude> </excludes> </configuration> <executions> |
| 303 | + <execution> <id>check-api-compat</id> <phase>verify</phase> <goals> <goal>check-no-fork</goal> |
| 304 | + </goals> </execution> </executions> </plugin> --> |
353 | 305 | </plugins>
|
354 | 306 | </build>
|
355 | 307 | <reporting>
|
|
376 | 328 | <version>1.0.3</version>
|
377 | 329 | </docletArtifact>
|
378 | 330 | <additionalparam>
|
379 |
| - -hdf project.name "${project.name} ${project.version}" |
380 |
| - -d ${project.reporting.outputDirectory}/apidocs |
| 331 | + -hdf project.name "${project.name} |
| 332 | + ${project.version}" |
| 333 | + -d |
| 334 | + ${project.reporting.outputDirectory}/apidocs |
381 | 335 | </additionalparam>
|
382 | 336 | </configuration>
|
383 | 337 | <reportSets>
|
|
460 | 414 | <profile>
|
461 | 415 | <id>test-output</id>
|
462 | 416 | <properties>
|
463 |
| - <surefire.redirectTestOutputToFile>false |
464 |
| - </surefire.redirectTestOutputToFile> |
| 417 | + <surefire.redirectTestOutputToFile>false</surefire.redirectTestOutputToFile> |
465 | 418 | </properties>
|
466 | 419 | </profile>
|
467 | 420 | </profiles>
|
|
499 | 452 | <dependency>
|
500 | 453 | <groupId>ch.qos.logback</groupId>
|
501 | 454 | <artifactId>logback-classic</artifactId>
|
502 |
| - <version>1.0.13</version> |
| 455 | + <version>${logback.version}</version> |
503 | 456 | <scope>test</scope>
|
504 | 457 | </dependency>
|
505 | 458 | <dependency>
|
506 | 459 | <groupId>log4j</groupId>
|
507 | 460 | <artifactId>log4j</artifactId>
|
508 |
| - <version>1.2.13</version> |
| 461 | + <version>${log4j.version}</version> |
509 | 462 | <scope>test</scope>
|
510 | 463 | </dependency>
|
511 | 464 | <dependency>
|
512 | 465 | <groupId>org.testng</groupId>
|
513 | 466 | <artifactId>testng</artifactId>
|
514 |
| - <version>5.8</version> |
| 467 | + <version>${testng.version}</version> |
515 | 468 | <scope>test</scope>
|
516 |
| - <classifier>jdk15</classifier> |
517 | 469 | </dependency>
|
518 | 470 | <dependency>
|
519 | 471 | <groupId>org.eclipse.jetty</groupId>
|
520 | 472 | <artifactId>jetty-server</artifactId>
|
521 |
| - <version>8.1.1.v20120215</version> |
| 473 | + <version>${jetty.version}</version> |
522 | 474 | <scope>test</scope>
|
523 | 475 | </dependency>
|
524 | 476 | <dependency>
|
525 | 477 | <groupId>org.eclipse.jetty</groupId>
|
526 | 478 | <artifactId>jetty-servlet</artifactId>
|
527 |
| - <version>8.1.1.v20120215</version> |
| 479 | + <version>${jetty.version}</version> |
528 | 480 | <scope>test</scope>
|
529 | 481 | </dependency>
|
530 | 482 | <dependency>
|
531 | 483 | <groupId>org.eclipse.jetty</groupId>
|
532 | 484 | <artifactId>jetty-websocket</artifactId>
|
533 |
| - <version>8.1.1.v20120215</version> |
| 485 | + <version>${jetty.version}</version> |
534 | 486 | <scope>test</scope>
|
535 | 487 | </dependency>
|
536 | 488 | <dependency>
|
537 | 489 | <groupId>org.eclipse.jetty</groupId>
|
538 | 490 | <artifactId>jetty-servlets</artifactId>
|
539 |
| - <version>8.1.1.v20120215</version> |
| 491 | + <version>${jetty.version}</version> |
540 | 492 | <scope>test</scope>
|
541 | 493 | </dependency>
|
542 | 494 | <dependency>
|
543 | 495 | <groupId>org.eclipse.jetty</groupId>
|
544 | 496 | <artifactId>jetty-security</artifactId>
|
545 |
| - <version>8.1.1.v20120215</version> |
| 497 | + <version>${jetty.version}</version> |
546 | 498 | <scope>test</scope>
|
547 | 499 | </dependency>
|
548 | 500 | <dependency>
|
549 | 501 | <groupId>org.apache.tomcat</groupId>
|
550 | 502 | <artifactId>coyote</artifactId>
|
551 |
| - <version>6.0.29</version> |
| 503 | + <version>${tomcat.version}</version> |
552 | 504 | <scope>test</scope>
|
553 | 505 | </dependency>
|
554 | 506 | <dependency>
|
555 | 507 | <groupId>org.apache.tomcat</groupId>
|
556 | 508 | <artifactId>catalina</artifactId>
|
557 |
| - <version>6.0.29</version> |
| 509 | + <version>${tomcat.version}</version> |
558 | 510 | <scope>test</scope>
|
559 | 511 | <exclusions>
|
560 | 512 | <exclusion>
|
561 |
| - <artifactId>servlet-api</artifactId> |
562 | 513 | <groupId>org.apache.tomcat</groupId>
|
| 514 | + <artifactId>servlet-api</artifactId> |
563 | 515 | </exclusion>
|
564 | 516 | </exclusions>
|
565 | 517 | </dependency>
|
566 | 518 | <dependency>
|
567 | 519 | <groupId>commons-io</groupId>
|
568 | 520 | <artifactId>commons-io</artifactId>
|
569 |
| - <version>2.0.1</version> |
| 521 | + <version>${commons-io.version}</version> |
570 | 522 | <scope>test</scope>
|
571 | 523 | </dependency>
|
572 | 524 | <dependency>
|
573 | 525 | <groupId>commons-fileupload</groupId>
|
574 | 526 | <artifactId>commons-fileupload</artifactId>
|
575 |
| - <version>1.2.2</version> |
| 527 | + <version>${commons-fileupload.version}</version> |
576 | 528 | <scope>test</scope>
|
577 | 529 | </dependency>
|
578 | 530 | </dependencies>
|
579 | 531 | <properties>
|
580 |
| - <distMgmtSnapshotsUrl> |
581 |
| - http://oss.sonatype.org/content/repositories/snapshots |
582 |
| - </distMgmtSnapshotsUrl> |
| 532 | + <distMgmtSnapshotsUrl>http://oss.sonatype.org/content/repositories/snapshots</distMgmtSnapshotsUrl> |
583 | 533 | <surefire.redirectTestOutputToFile>true
|
584 | 534 | </surefire.redirectTestOutputToFile>
|
585 | 535 | <source.property>1.6</source.property>
|
586 | 536 | <target.property>1.6</target.property>
|
587 | 537 | <surefire.version>2.16</surefire.version>
|
| 538 | + <logback.version>1.0.13</logback.version> |
| 539 | + <log4j.version>1.2.17</log4j.version> |
| 540 | + <testng.version>6.8.5</testng.version> |
| 541 | + <jetty.version>8.1.1.v20120215</jetty.version> |
| 542 | + <tomcat.version>6.0.29</tomcat.version> |
| 543 | + <commons-io.version>2.4</commons-io.version> |
| 544 | + <commons-fileupload.version>1.3</commons-fileupload.version> |
588 | 545 | </properties>
|
589 | 546 | </project>
|
590 | 547 |
|
0 commit comments