You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 2.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. 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. <parent>
  5. <groupId>org.codehaus.sonar.runner</groupId>
  6. <artifactId>sonar-runner</artifactId>
  7. <version>2.2-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>sonar-runner-impl</artifactId>
  10. <name>Sonar Runner - Implementation</name>
  11. <dependencies>
  12. <dependency>
  13. <groupId>org.codehaus.sonar</groupId>
  14. <artifactId>sonar-home</artifactId>
  15. </dependency>
  16. <dependency>
  17. <groupId>${pom.groupId}</groupId>
  18. <artifactId>sonar-runner-batch</artifactId>
  19. <version>${pom.version}</version>
  20. <scope>provided</scope>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.google.code.findbugs</groupId>
  24. <artifactId>jsr305</artifactId>
  25. <scope>provided</scope>
  26. </dependency>
  27. <!-- unit tests -->
  28. <dependency>
  29. <groupId>junit</groupId>
  30. <artifactId>junit</artifactId>
  31. <scope>test</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.easytesting</groupId>
  35. <artifactId>fest-assert</artifactId>
  36. <scope>test</scope>
  37. </dependency>
  38. </dependencies>
  39. <build>
  40. <plugins>
  41. <plugin>
  42. <groupId>org.apache.maven.plugins</groupId>
  43. <artifactId>maven-dependency-plugin</artifactId>
  44. <executions>
  45. <execution>
  46. <id>copy</id>
  47. <phase>process-resources</phase>
  48. <goals>
  49. <goal>copy</goal>
  50. </goals>
  51. <configuration>
  52. <artifactItems>
  53. <artifactItem>
  54. <groupId>${pom.groupId}</groupId>
  55. <artifactId>sonar-runner-batch</artifactId>
  56. <version>${pom.version}</version>
  57. <type>jar</type>
  58. <overWrite>false</overWrite>
  59. <outputDirectory>${pom.build.outputDirectory}</outputDirectory>
  60. <destFileName>sonar-runner-batch.jar</destFileName>
  61. </artifactItem>
  62. </artifactItems>
  63. <overWriteReleases>true</overWriteReleases>
  64. <overWriteSnapshots>true</overWriteSnapshots>
  65. </configuration>
  66. </execution>
  67. </executions>
  68. </plugin>
  69. <plugin>
  70. <groupId>org.apache.maven.plugins</groupId>
  71. <artifactId>maven-shade-plugin</artifactId>
  72. <executions>
  73. <execution>
  74. <phase>package</phase>
  75. <goals>
  76. <goal>shade</goal>
  77. </goals>
  78. <configuration>
  79. <createDependencyReducedPom>true</createDependencyReducedPom>
  80. <minimizeJar>true</minimizeJar>
  81. </configuration>
  82. </execution>
  83. </executions>
  84. </plugin>
  85. </plugins>
  86. </build>
  87. </project>