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.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>org.codehaus.sonar</groupId>
  6. <artifactId>sonar</artifactId>
  7. <version>3.5-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>sonar-ws-client</artifactId>
  10. <packaging>jar</packaging>
  11. <name>Sonar :: Web Service Client</name>
  12. <description>Java library to request Sonar web services</description>
  13. <properties>
  14. <httpclient4.version>4.2.2</httpclient4.version>
  15. </properties>
  16. <dependencies>
  17. <!-- Don't forget to update configuration of the m-bundle-p (especially Require-Bundle)
  18. according to changes you make on dependencies -->
  19. <dependency>
  20. <groupId>com.googlecode.json-simple</groupId>
  21. <artifactId>json-simple</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>commons-httpclient</groupId>
  25. <artifactId>commons-httpclient</artifactId>
  26. <version>3.1</version>
  27. <optional>true</optional>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.apache.httpcomponents</groupId>
  31. <artifactId>httpclient</artifactId>
  32. <version>${httpclient4.version}</version>
  33. <optional>true</optional>
  34. </dependency>
  35. <!-- unit tests -->
  36. <dependency>
  37. <groupId>junit</groupId>
  38. <artifactId>junit</artifactId>
  39. <scope>test</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.hamcrest</groupId>
  43. <artifactId>hamcrest-all</artifactId>
  44. <scope>test</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.mockito</groupId>
  48. <artifactId>mockito-all</artifactId>
  49. <scope>test</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>commons-io</groupId>
  53. <artifactId>commons-io</artifactId>
  54. <scope>test</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.slf4j</groupId>
  58. <artifactId>slf4j-api</artifactId>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.slf4j</groupId>
  63. <artifactId>jcl-over-slf4j</artifactId>
  64. <scope>test</scope>
  65. </dependency>
  66. <dependency>
  67. <groupId>ch.qos.logback</groupId>
  68. <artifactId>logback-classic</artifactId>
  69. <scope>test</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.mortbay.jetty</groupId>
  73. <artifactId>jetty-servlet-tester</artifactId>
  74. <version>6.1.6</version>
  75. <scope>test</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.easytesting</groupId>
  79. <artifactId>fest-assert</artifactId>
  80. <scope>test</scope>
  81. </dependency>
  82. </dependencies>
  83. <build>
  84. <plugins>
  85. <plugin>
  86. <groupId>org.apache.felix</groupId>
  87. <artifactId>maven-bundle-plugin</artifactId>
  88. <version>2.3.7</version>
  89. <extensions>true</extensions>
  90. <configuration>
  91. <instructions>
  92. <Import-Package>!*</Import-Package>
  93. <Require-Bundle>org.apache.httpcomponents.httpclient;bundle-version="${httpclient4.version}";optional="true",
  94. org.apache.httpcomponents.httpcore;bundle-version="${httpclient4.version}";optional="true",
  95. com.googlecode.json-simple
  96. </Require-Bundle>
  97. <Export-Package>!.,org.sonar.wsclient,
  98. org.sonar.wsclient.connectors,
  99. org.sonar.wsclient.services</Export-Package>
  100. <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
  101. </instructions>
  102. </configuration>
  103. <executions>
  104. <execution>
  105. <id>bundle-manifest</id>
  106. <phase>process-classes</phase>
  107. <goals>
  108. <goal>manifest</goal>
  109. </goals>
  110. </execution>
  111. </executions>
  112. </plugin>
  113. <plugin>
  114. <artifactId>maven-jar-plugin</artifactId>
  115. <configuration>
  116. <archive>
  117. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  118. </archive>
  119. </configuration>
  120. </plugin>
  121. </plugins>
  122. </build>
  123. </project>