Advertisement
Guest User

unirest-java/pom.xml

a guest
Mar 19th, 2015
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.60 KB | None | 0 0
  1. <?xml version="1.0"?>
  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. <groupId>com.mashape.unirest</groupId>
  5. <artifactId>unirest-java</artifactId>
  6. <packaging>jar</packaging>
  7. <version>1.4.6-SNAPSHOT</version>
  8. <name>unirest-java</name>
  9. <description>Simplified, lightweight HTTP client library</description>
  10. <url>http://unirest.io/</url>
  11.  
  12. <parent>
  13. <groupId>org.sonatype.oss</groupId>
  14. <artifactId>oss-parent</artifactId>
  15. <version>7</version>
  16. </parent>
  17.  
  18. <licenses>
  19. <license>
  20. <name>MIT</name>
  21. <url>http://opensource.org/licenses/MIT</url>
  22. <distribution>repo</distribution>
  23. </license>
  24. </licenses>
  25.  
  26. <scm>
  27. <url>https://github.com/Mashape/unirest-java</url>
  28. <connection>scm:git:[email protected]:Mashape/unirest-java.git</connection>
  29. <developerConnection>scm:git:[email protected]:Mashape/unirest-java.git</developerConnection>
  30. </scm>
  31.  
  32. <developers>
  33. <developer>
  34. <id>mashape</id>
  35. <name>Mashape</name>
  36. <email>[email protected]</email>
  37. <url>https://github.com/Mashape</url>
  38. <organization>Mashape</organization>
  39. <organizationUrl>https://www.mashape.com</organizationUrl>
  40. </developer>
  41. </developers>
  42.  
  43. <properties>
  44. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  45. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  46. </properties>
  47.  
  48. <build>
  49. <plugins>
  50. <plugin>
  51. <groupId>org.apache.maven.plugins</groupId>
  52. <artifactId>maven-shade-plugin</artifactId>
  53. <version>2.2</version>
  54. <executions>
  55. <execution>
  56. <phase>package</phase>
  57. <goals>
  58. <goal>shade</goal>
  59. </goals>
  60. <configuration>
  61. <finalName>${project.artifactId}-${project.version}-withDependency-ShadedForAndroid</finalName>
  62. <artifactSet>
  63. <includes>
  64. <include>com.mashape.unirest:unirest-java</include>
  65. <include>org.apache.httpcomponents:httpclient</include>
  66. <include>org.apache.httpcomponents:httpcore</include>
  67. <include>org.apache.httpcomponents:httpcore-nio</include>
  68. <include>org.apache.httpcomponents:httpasyncclient</include>
  69. <include>org.apache.httpcomponents:httpmime</include>
  70. <include>org.json:json</include>
  71. <include>commons-logging:commons-logging</include>
  72. <include>commons-codec:commons-codec</include>
  73. </includes>
  74. </artifactSet>
  75. <relocations>
  76. <relocation>
  77. <pattern>org.apache.http</pattern>
  78. <shadedPattern>com.mashape.relocation</shadedPattern>
  79. </relocation>
  80. </relocations>
  81. </configuration>
  82. </execution>
  83. </executions>
  84. </plugin>
  85. <plugin>
  86. <groupId>org.apache.maven.plugins</groupId>
  87. <artifactId>maven-compiler-plugin</artifactId>
  88. <version>3.1</version>
  89. <configuration>
  90. <fork>true</fork>
  91. <meminitial>128m</meminitial>
  92. <maxmem>512m</maxmem>
  93. <source>1.5</source>
  94. <target>1.5</target>
  95. <encoding>UTF-8</encoding>
  96. </configuration>
  97. </plugin>
  98. <plugin>
  99. <groupId>org.apache.maven.plugins</groupId>
  100. <artifactId>maven-assembly-plugin</artifactId>
  101. <version>2.4</version>
  102. <configuration>
  103. <descriptorRefs>
  104. <descriptorRef>jar-with-dependencies</descriptorRef>
  105. </descriptorRefs>
  106. </configuration>
  107. </plugin>
  108. <plugin>
  109. <groupId>org.apache.maven.plugins</groupId>
  110. <artifactId>maven-source-plugin</artifactId>
  111. <version>2.2.1</version>
  112. <executions>
  113. <execution>
  114. <id>attach-sources</id>
  115. <goals>
  116. <goal>jar</goal>
  117. </goals>
  118. </execution>
  119. </executions>
  120. </plugin>
  121. <plugin>
  122. <groupId>org.apache.maven.plugins</groupId>
  123. <artifactId>maven-javadoc-plugin</artifactId>
  124. <version>2.9.1</version>
  125. <executions>
  126. <execution>
  127. <id>attach-javadocs</id>
  128. <goals>
  129. <goal>jar</goal>
  130. </goals>
  131. </execution>
  132. </executions>
  133. </plugin>
  134. </plugins>
  135. </build>
  136.  
  137. <dependencies>
  138. <dependency>
  139. <groupId>org.apache.httpcomponents</groupId>
  140. <artifactId>httpclient</artifactId>
  141. <version>4.3.6</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.apache.httpcomponents</groupId>
  145. <artifactId>httpasyncclient</artifactId>
  146. <version>4.0.2</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.apache.httpcomponents</groupId>
  150. <artifactId>httpmime</artifactId>
  151. <version>4.3.6</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.json</groupId>
  155. <artifactId>json</artifactId>
  156. <version>20140107</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>junit</groupId>
  160. <artifactId>junit</artifactId>
  161. <version>4.12</version>
  162. <scope>test</scope>
  163. </dependency>
  164. </dependencies>
  165. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement