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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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-plugins</groupId>
  6. <artifactId>sonar-runner</artifactId>
  7. <version>2.1-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>sonar-runner-api</artifactId>
  10. <name>Sonar Runner - API</name>
  11. <dependencies>
  12. <!-- Dependencies will be shaded -->
  13. <dependency>
  14. <groupId>commons-io</groupId>
  15. <artifactId>commons-io</artifactId>
  16. <version>2.2</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>commons-codec</groupId>
  20. <artifactId>commons-codec</artifactId>
  21. <version>1.4</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>commons-lang</groupId>
  25. <artifactId>commons-lang</artifactId>
  26. <version>2.4</version>
  27. </dependency>
  28. <!-- Unit tests -->
  29. <dependency>
  30. <groupId>junit</groupId>
  31. <artifactId>junit</artifactId>
  32. <version>4.10</version>
  33. <scope>test</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.easytesting</groupId>
  37. <artifactId>fest-assert</artifactId>
  38. <version>1.4</version>
  39. <scope>test</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.mockito</groupId>
  43. <artifactId>mockito-all</artifactId>
  44. <version>1.9.5</version>
  45. <scope>test</scope>
  46. </dependency>
  47. </dependencies>
  48. <build>
  49. <resources>
  50. <resource>
  51. <directory>src/main/resources</directory>
  52. <filtering>true</filtering>
  53. </resource>
  54. </resources>
  55. <plugins>
  56. <plugin>
  57. <groupId>org.apache.maven.plugins</groupId>
  58. <artifactId>maven-jar-plugin</artifactId>
  59. <configuration>
  60. <archive>
  61. <manifest>
  62. <addClasspath>true</addClasspath>
  63. </manifest>
  64. </archive>
  65. </configuration>
  66. </plugin>
  67. <plugin>
  68. <groupId>org.apache.maven.plugins</groupId>
  69. <artifactId>maven-shade-plugin</artifactId>
  70. <executions>
  71. <execution>
  72. <phase>package</phase>
  73. <goals>
  74. <goal>shade</goal>
  75. </goals>
  76. <configuration>
  77. <createDependencyReducedPom>true</createDependencyReducedPom>
  78. <minimizeJar>true</minimizeJar>
  79. <relocations>
  80. <relocation>
  81. <pattern>org.apache.commons.io</pattern>
  82. <shadedPattern>org.sonar.runner.commonsio</shadedPattern>
  83. </relocation>
  84. <relocation>
  85. <pattern>org.apache.commons.codec</pattern>
  86. <shadedPattern>org.sonar.runner.commonscodec</shadedPattern>
  87. </relocation>
  88. <relocation>
  89. <pattern>org.apache.commons.lang</pattern>
  90. <shadedPattern>org.sonar.runner.commonslang</shadedPattern>
  91. </relocation>
  92. </relocations>
  93. </configuration>
  94. </execution>
  95. </executions>
  96. </plugin>
  97. </plugins>
  98. </build>
  99. </project>