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 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <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">
  2. <modelVersion>4.0.0</modelVersion>
  3. <parent>
  4. <groupId>org.codehaus.sonar.runner</groupId>
  5. <artifactId>sonar-runner</artifactId>
  6. <version>2.5-SNAPSHOT</version>
  7. </parent>
  8. <artifactId>sonar-runner-impl</artifactId>
  9. <name>SonarQube Runner - Implementation</name>
  10. <dependencies>
  11. <dependency>
  12. <groupId>com.github.kevinsawicki</groupId>
  13. <artifactId>http-request</artifactId>
  14. </dependency>
  15. <dependency>
  16. <groupId>com.google.code.findbugs</groupId>
  17. <artifactId>jsr305</artifactId>
  18. <scope>provided</scope>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.codehaus.sonar</groupId>
  22. <artifactId>sonar-home</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>commons-io</groupId>
  26. <artifactId>commons-io</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>${project.groupId}</groupId>
  30. <artifactId>sonar-runner-batch</artifactId>
  31. <version>${project.version}</version>
  32. <scope>provided</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>${project.groupId}</groupId>
  36. <artifactId>sonar-runner-batch-interface</artifactId>
  37. <version>${project.version}</version>
  38. </dependency>
  39. <!-- unit tests -->
  40. <dependency>
  41. <groupId>junit</groupId>
  42. <artifactId>junit</artifactId>
  43. <scope>test</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.easytesting</groupId>
  47. <artifactId>fest-assert</artifactId>
  48. <scope>test</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.mockito</groupId>
  52. <artifactId>mockito-all</artifactId>
  53. <scope>test</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.assertj</groupId>
  57. <artifactId>assertj-core</artifactId>
  58. <version>1.7.1</version>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.mortbay.jetty</groupId>
  63. <artifactId>jetty</artifactId>
  64. <version>6.1.25</version>
  65. <scope>test</scope>
  66. </dependency>
  67. </dependencies>
  68. <build>
  69. <plugins>
  70. <plugin>
  71. <groupId>org.apache.maven.plugins</groupId>
  72. <artifactId>maven-dependency-plugin</artifactId>
  73. <executions>
  74. <execution>
  75. <id>copy</id>
  76. <phase>process-resources</phase>
  77. <goals>
  78. <goal>copy</goal>
  79. </goals>
  80. <configuration>
  81. <artifactItems>
  82. <artifactItem>
  83. <groupId>${project.groupId}</groupId>
  84. <artifactId>sonar-runner-batch</artifactId>
  85. <version>${project.version}</version>
  86. <type>jar</type>
  87. <overWrite>false</overWrite>
  88. <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  89. <destFileName>sonar-runner-batch.jar</destFileName>
  90. </artifactItem>
  91. </artifactItems>
  92. <overWriteReleases>true</overWriteReleases>
  93. <overWriteSnapshots>true</overWriteSnapshots>
  94. </configuration>
  95. </execution>
  96. </executions>
  97. </plugin>
  98. <plugin>
  99. <groupId>org.apache.maven.plugins</groupId>
  100. <artifactId>maven-shade-plugin</artifactId>
  101. <executions>
  102. <execution>
  103. <phase>package</phase>
  104. <goals>
  105. <goal>shade</goal>
  106. </goals>
  107. <configuration>
  108. <createDependencyReducedPom>true</createDependencyReducedPom>
  109. <minimizeJar>true</minimizeJar>
  110. <relocations>
  111. <relocation>
  112. <pattern>com.github.kevinsawicki.http</pattern>
  113. <shadedPattern>org.sonar.runner.kevinsawicki</shadedPattern>
  114. </relocation>
  115. <relocation>
  116. <pattern>org.apache.commons.io</pattern>
  117. <shadedPattern>org.sonar.runner.commonsio</shadedPattern>
  118. </relocation>
  119. <relocation>
  120. <pattern>org.sonar.home</pattern>
  121. <shadedPattern>org.sonar.runner.home</shadedPattern>
  122. </relocation>
  123. </relocations>
  124. </configuration>
  125. </execution>
  126. </executions>
  127. </plugin>
  128. </plugins>
  129. </build>
  130. </project>