Source code for a classified ads website
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 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  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"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.lebokeh</groupId>
  7. <artifactId>parent</artifactId>
  8. <version>1.0.0-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>lebokeh-docs</artifactId>
  11. <packaging>war</packaging>
  12. <name>LeBokeh Swagger</name>
  13. <properties>
  14. <war.warName>${project.version}</war.warName>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>${project.groupId}</groupId>
  19. <artifactId>lebokeh-alerts</artifactId>
  20. <classifier>classes</classifier>
  21. <scope>provided</scope>
  22. </dependency>
  23. <dependency>
  24. <groupId>${project.groupId}</groupId>
  25. <artifactId>lebokeh-libcore</artifactId>
  26. <scope>provided</scope>
  27. </dependency>
  28. <dependency>
  29. <groupId>${project.groupId}</groupId>
  30. <artifactId>lebokeh-enum</artifactId>
  31. <classifier>classes</classifier>
  32. <scope>provided</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>${project.groupId}</groupId>
  36. <artifactId>lebokeh-filters</artifactId>
  37. <classifier>classes</classifier>
  38. <scope>provided</scope>
  39. </dependency>
  40. <dependency>
  41. <groupId>${project.groupId}</groupId>
  42. <artifactId>lebokeh-items</artifactId>
  43. <classifier>classes</classifier>
  44. <scope>provided</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>${project.groupId}</groupId>
  48. <artifactId>lebokeh-messages</artifactId>
  49. <classifier>classes</classifier>
  50. <scope>provided</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>${project.groupId}</groupId>
  54. <artifactId>lebokeh-pictures</artifactId>
  55. <classifier>classes</classifier>
  56. <scope>provided</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>${project.groupId}</groupId>
  60. <artifactId>lebokeh-frauds</artifactId>
  61. <classifier>classes</classifier>
  62. <scope>provided</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>${project.groupId}</groupId>
  66. <artifactId>lebokeh-bid</artifactId>
  67. <classifier>classes</classifier>
  68. <scope>provided</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>${project.groupId}</groupId>
  72. <artifactId>lebokeh-users</artifactId>
  73. <classifier>classes</classifier>
  74. <scope>provided</scope>
  75. </dependency>
  76. <dependency>
  77. <groupId>${project.groupId}</groupId>
  78. <artifactId>lebokeh-auth</artifactId>
  79. <classifier>classes</classifier>
  80. <scope>provided</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.github.kongchen</groupId>
  84. <artifactId>swagger-maven-plugin</artifactId>
  85. <scope>provided</scope>
  86. </dependency>
  87. </dependencies>
  88. <build>
  89. <plugins>
  90. <plugin>
  91. <groupId>com.github.kongchen</groupId>
  92. <artifactId>swagger-maven-plugin</artifactId>
  93. <configuration>
  94. <apiSources>
  95. <apiSource>
  96. <swaggerApiReader>com.lebokeh.doc.CustomReader</swaggerApiReader>
  97. <locations>${project.groupId}</locations>
  98. <schemes>https</schemes>
  99. <host>api.yourdomain.tld</host>
  100. <basePath>/</basePath>
  101. <info>
  102. <title>REST API</title>
  103. <version>${project.version}</version>
  104. <description>
  105. Welcome on the YourDomain.tld REST service
  106. documentation page,
  107. you'll find how to use our web service to
  108. build your own application.
  109. We
  110. use a secure, scalable and reliable microservices
  111. infrastructure with encryption, caching and load-balancing
  112. servers ;
  113. according to our last benchmarks we can handle yet
  114. **150 transactions per second**.
  115. </description>
  116. <termsOfService>
  117. This service is provided FOR FREE on a AS IS
  118. basis, without warranties or conditions of any kind.
  119. You're NOT
  120. ALLOWED to either massively extract or automatically alterate
  121. the content of the responses from the servers.
  122. You are solely
  123. responsible of the content of the requests sent to the servers
  124. and ASSUME ANY RISKS
  125. associated with privacy or confidentiality
  126. infringement.
  127. </termsOfService>
  128. <contact>
  129. <name>YourDomain.tld Support</name>
  130. <email>support@yourdomain.tld</email>
  131. <url>https://yourdomain.tld</url>
  132. </contact>
  133. <license>
  134. <url>http://www.gnu.org/licenses/agpl-3.0.html</url>
  135. <name>![GNU Affero General Public License
  136. 3.0](/agplv3.png)</name>
  137. </license>
  138. </info>
  139. <templatePath>${project.build.directory}/classes/swagger/strapdown.html.hbs</templatePath>
  140. <outputPath>${project.build.directory}/generated-doc/index.html</outputPath>
  141. <swaggerDirectory>${project.build.directory}/generated-doc/data</swaggerDirectory>
  142. </apiSource>
  143. </apiSources>
  144. </configuration>
  145. <executions>
  146. <execution>
  147. <phase>compile</phase>
  148. <goals>
  149. <goal>generate</goal>
  150. </goals>
  151. </execution>
  152. </executions>
  153. </plugin>
  154. <plugin>
  155. <groupId>org.apache.maven.plugins</groupId>
  156. <artifactId>maven-war-plugin</artifactId>
  157. <version>2.6</version>
  158. <configuration>
  159. <webResources>
  160. <resource>
  161. <directory>${project.build.directory}/generated-doc</directory>
  162. </resource>
  163. </webResources>
  164. </configuration>
  165. </plugin>
  166. <plugin>
  167. <groupId>org.apache.maven.plugins</groupId>
  168. <artifactId>maven-dependency-plugin</artifactId>
  169. <executions>
  170. <execution>
  171. <id>copy</id>
  172. <phase>prepare-package</phase>
  173. <goals>
  174. <goal>copy</goal>
  175. </goals>
  176. <configuration>
  177. <artifactItems>
  178. <artifactItem>
  179. <groupId>${project.groupId}</groupId>
  180. <artifactId>lebokeh-alerts</artifactId>
  181. <classifier>sources</classifier>
  182. <outputDirectory>${project.build.directory}/generated-doc/sources</outputDirectory>
  183. <destFileName>lebokeh-alerts.zip</destFileName>
  184. </artifactItem>
  185. <artifactItem>
  186. <groupId>${project.groupId}</groupId>
  187. <artifactId>lebokeh-libclient</artifactId>
  188. <classifier>sources</classifier>
  189. <outputDirectory>${project.build.directory}/generated-doc/sources/lib</outputDirectory>
  190. <destFileName>lebokeh-libclient.zip</destFileName>
  191. </artifactItem>
  192. <artifactItem>
  193. <groupId>${project.groupId}</groupId>
  194. <artifactId>lebokeh-libcore</artifactId>
  195. <classifier>sources</classifier>
  196. <outputDirectory>${project.build.directory}/generated-doc/sources/lib</outputDirectory>
  197. <destFileName>lebokeh-libcore.zip</destFileName>
  198. </artifactItem>
  199. <artifactItem>
  200. <groupId>${project.groupId}</groupId>
  201. <artifactId>lebokeh-frauds</artifactId>
  202. <classifier>sources</classifier>
  203. <outputDirectory>${project.build.directory}/generated-doc/sources</outputDirectory>
  204. <destFileName>lebokeh-frauds.zip</destFileName>
  205. </artifactItem>
  206. <artifactItem>
  207. <groupId>${project.groupId}</groupId>
  208. <artifactId>lebokeh-libfile</artifactId>
  209. <classifier>sources</classifier>
  210. <outputDirectory>${project.build.directory}/generated-doc/sources/lib</outputDirectory>
  211. <destFileName>lebokeh-libfile.zip</destFileName>
  212. </artifactItem>
  213. <artifactItem>
  214. <groupId>${project.groupId}</groupId>
  215. <artifactId>lebokeh-libnav</artifactId>
  216. <classifier>sources</classifier>
  217. <outputDirectory>${project.build.directory}/generated-doc/sources/lib</outputDirectory>
  218. <destFileName>lebokeh-libnav.zip</destFileName>
  219. </artifactItem>
  220. <artifactItem>
  221. <groupId>${project.groupId}</groupId>
  222. <artifactId>lebokeh-enum</artifactId>
  223. <classifier>sources</classifier>
  224. <outputDirectory>${project.build.directory}/generated-doc/sources</outputDirectory>
  225. <destFileName>lebokeh-enum.zip</destFileName>
  226. </artifactItem>
  227. <artifactItem>
  228. <groupId>${project.groupId}</groupId>
  229. <artifactId>lebokeh-filters</artifactId>
  230. <classifier>sources</classifier>
  231. <outputDirectory>${project.build.directory}/generated-doc/sources</outputDirectory>
  232. <destFileName>lebokeh-filters.zip</destFileName>
  233. </artifactItem>
  234. <artifactItem>
  235. <groupId>${project.groupId}</groupId>
  236. <artifactId>lebokeh-items</artifactId>
  237. <classifier>sources</classifier>
  238. <outputDirectory>${project.build.directory}/generated-doc/sources</outputDirectory>
  239. <destFileName>lebokeh-items.zip</destFileName>
  240. </artifactItem>
  241. <artifactItem>
  242. <groupId>${project.groupId}</groupId>
  243. <artifactId>lebokeh-messages</artifactId>
  244. <classifier>sources</classifier>
  245. <outputDirectory>${project.build.directory}/generated-doc/sources</outputDirectory>
  246. <destFileName>lebokeh-messages.zip</destFileName>
  247. </artifactItem>
  248. <artifactItem>
  249. <groupId>${project.groupId}</groupId>
  250. <artifactId>lebokeh-pictures</artifactId>
  251. <classifier>sources</classifier>
  252. <outputDirectory>${project.build.directory}/generated-doc/sources</outputDirectory>
  253. <destFileName>lebokeh-pictures.zip</destFileName>
  254. </artifactItem>
  255. <artifactItem>
  256. <groupId>${project.groupId}</groupId>
  257. <artifactId>lebokeh-libsecurity</artifactId>
  258. <classifier>sources</classifier>
  259. <outputDirectory>${project.build.directory}/generated-doc/sources/lib</outputDirectory>
  260. <destFileName>lebokeh-libsecurity.zip</destFileName>
  261. </artifactItem>
  262. <artifactItem>
  263. <groupId>${project.groupId}</groupId>
  264. <artifactId>lebokeh-libsecurity-extra</artifactId>
  265. <classifier>sources</classifier>
  266. <outputDirectory>${project.build.directory}/generated-doc/sources/lib</outputDirectory>
  267. <destFileName>lebokeh-libsecurity-extra.zip</destFileName>
  268. </artifactItem>
  269. <artifactItem>
  270. <groupId>${project.groupId}</groupId>
  271. <artifactId>lebokeh-libmail</artifactId>
  272. <classifier>sources</classifier>
  273. <outputDirectory>${project.build.directory}/generated-doc/sources/lib</outputDirectory>
  274. <destFileName>lebokeh-libmail.zip</destFileName>
  275. </artifactItem>
  276. <artifactItem>
  277. <groupId>${project.groupId}</groupId>
  278. <artifactId>lebokeh-bid</artifactId>
  279. <classifier>sources</classifier>
  280. <outputDirectory>${project.build.directory}/generated-doc/sources</outputDirectory>
  281. <destFileName>lebokeh-bid.zip</destFileName>
  282. </artifactItem>
  283. <artifactItem>
  284. <groupId>${project.groupId}</groupId>
  285. <artifactId>lebokeh-users</artifactId>
  286. <classifier>sources</classifier>
  287. <outputDirectory>${project.build.directory}/generated-doc/sources</outputDirectory>
  288. <destFileName>lebokeh-users.zip</destFileName>
  289. </artifactItem>
  290. <artifactItem>
  291. <groupId>${project.groupId}</groupId>
  292. <artifactId>lebokeh-auth</artifactId>
  293. <classifier>sources</classifier>
  294. <outputDirectory>${project.build.directory}/generated-doc/sources</outputDirectory>
  295. <destFileName>lebokeh-auth.zip</destFileName>
  296. </artifactItem>
  297. </artifactItems>
  298. </configuration>
  299. </execution>
  300. </executions>
  301. </plugin>
  302. </plugins>
  303. <resources>
  304. <resource>
  305. <directory>src/main/resources</directory>
  306. <filtering>true</filtering>
  307. </resource>
  308. </resources>
  309. </build>
  310. </project>