The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

353 行
14 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. (c) Copyright 2019 jonathan cobb
  4. For personal or non-commercial use, this code is available under the GNU Affero General Public License, version 3:
  5. https://www.gnu.org/licenses/agpl-3.0.html
  6. For commercial use, please contact jonathan@kyuss.org
  7. -->
  8. <project xmlns="http://maven.apache.org/POM/4.0.0"
  9. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  10. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  11. <modelVersion>4.0.0</modelVersion>
  12. <parent>
  13. <groupId>bubble</groupId>
  14. <artifactId>bubble</artifactId>
  15. <version>1.0.0-SNAPSHOT</version>
  16. </parent>
  17. <artifactId>bubble-server</artifactId>
  18. <version>1.0.0-SNAPSHOT</version>
  19. <repositories>
  20. <repository>
  21. <id>jitpack.io</id>
  22. <url>https://jitpack.io</url>
  23. </repository>
  24. </repositories>
  25. <dependencies>
  26. <dependency>
  27. <groupId>org.cobbzilla</groupId>
  28. <artifactId>wizard-server</artifactId>
  29. <version>1.0.0-SNAPSHOT</version>
  30. <exclusions>
  31. <!-- need to bump version to latest, then refactor AbstractElasticSearchDAO -->
  32. <exclusion>
  33. <groupId>org.elasticsearch</groupId>
  34. <artifactId>elasticsearch</artifactId>
  35. </exclusion>
  36. </exclusions>
  37. </dependency>
  38. <!-- RDBMS persistence -->
  39. <dependency>
  40. <groupId>org.hibernate</groupId>
  41. <artifactId>hibernate-core</artifactId>
  42. <version>${hibernate.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.javassist</groupId>
  46. <artifactId>javassist</artifactId>
  47. <version>${javassist.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>cglib</groupId>
  51. <artifactId>cglib</artifactId>
  52. <version>${cglib.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>${jdbcDriver.postgres.groupId}</groupId>
  56. <artifactId>${jdbcDriver.postgres.artifactId}</artifactId>
  57. <version>${jdbcDriver.postgres.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.cobbzilla</groupId>
  61. <artifactId>templated-mail-sender</artifactId>
  62. <version>1.0.0-SNAPSHOT</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.glassfish.grizzly</groupId>
  66. <artifactId>grizzly-http</artifactId>
  67. <version>${grizzly.version}</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.glassfish.grizzly</groupId>
  71. <artifactId>grizzly-http-server</artifactId>
  72. <version>${grizzly.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.glassfish.grizzly</groupId>
  76. <artifactId>grizzly-http-servlet</artifactId>
  77. <version>${grizzly.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.glassfish.grizzly</groupId>
  81. <artifactId>grizzly-framework-monitoring</artifactId>
  82. <version>${grizzly.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.glassfish.grizzly</groupId>
  86. <artifactId>grizzly-http-monitoring</artifactId>
  87. <version>${grizzly.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.glassfish.grizzly</groupId>
  91. <artifactId>grizzly-http-server-monitoring</artifactId>
  92. <version>${grizzly.version}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.eclipse.jetty</groupId>
  96. <artifactId>jetty-proxy</artifactId>
  97. <version>${jetty.version}</version>
  98. </dependency>
  99. <!--&lt;!&ndash; https://mvnrepository.com/artifact/org.atmosphere/atmosphere-jersey &ndash;&gt;-->
  100. <!--<dependency>-->
  101. <!--<groupId>org.atmosphere</groupId>-->
  102. <!--<artifactId>atmosphere-jersey</artifactId>-->
  103. <!--<version>2.5.4</version>-->
  104. <!--</dependency>-->
  105. <!--<dependency>-->
  106. <!--<groupId>org.atmosphere</groupId>-->
  107. <!--<artifactId>atmosphere-runtime</artifactId>-->
  108. <!--<version>2.5.4</version>-->
  109. <!--</dependency>-->
  110. <!--<dependency>-->
  111. <!--<groupId>org.glassfish.jersey.containers</groupId>-->
  112. <!--<artifactId>jersey-container-servlet</artifactId>-->
  113. <!--<version>2.29</version>-->
  114. <!--</dependency>-->
  115. <!--&lt;!&ndash; https://mvnrepository.com/artifact/org.apache.geronimo.specs/geronimo-servlet_3.0_spec &ndash;&gt;-->
  116. <!--<dependency>-->
  117. <!--<groupId>org.apache.geronimo.specs</groupId>-->
  118. <!--<artifactId>geronimo-servlet_3.0_spec</artifactId>-->
  119. <!--<version>1.0</version>-->
  120. <!--<scope>provided</scope>-->
  121. <!--</dependency>-->
  122. <!--<dependency>-->
  123. <!--<groupId>org.atmosphere.client</groupId>-->
  124. <!--<artifactId>javascript</artifactId>-->
  125. <!--<version>2.3.9</version>-->
  126. <!--<type>war</type>-->
  127. <!--</dependency>-->
  128. <dependency>
  129. <groupId>commons-codec</groupId>
  130. <artifactId>commons-codec</artifactId>
  131. <version>${commons-codec.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>redis.clients</groupId>
  135. <artifactId>jedis</artifactId>
  136. <version>${jedis.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>com.maxmind.geoip2</groupId>
  140. <artifactId>geoip2</artifactId>
  141. <version>2.12.0</version>
  142. <exclusions>
  143. <exclusion>
  144. <groupId>org.apache.httpcomponents</groupId>
  145. <artifactId>httpclient</artifactId>
  146. </exclusion>
  147. <exclusion>
  148. <groupId>org.apache.httpcomponents</groupId>
  149. <artifactId>httpclient</artifactId>
  150. </exclusion>
  151. <exclusion>
  152. <groupId>com.fasterxml.jackson.core</groupId>
  153. <artifactId>jackson-databind</artifactId>
  154. </exclusion>
  155. <exclusion>
  156. <groupId>com.fasterxml.jackson.core</groupId>
  157. <artifactId>jackson-core</artifactId>
  158. </exclusion>
  159. <exclusion>
  160. <groupId>com.fasterxml.jackson.core</groupId>
  161. <artifactId>jackson-annotations</artifactId>
  162. </exclusion>
  163. </exclusions>
  164. </dependency>
  165. <dependency>
  166. <groupId>com.warrenstrange</groupId>
  167. <artifactId>googleauth</artifactId>
  168. <version>1.4.0</version>
  169. <exclusions>
  170. <exclusion>
  171. <groupId>org.apache.httpcomponents</groupId>
  172. <artifactId>httpclient</artifactId>
  173. </exclusion>
  174. </exclusions>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.twilio.sdk</groupId>
  178. <artifactId>twilio</artifactId>
  179. <version>7.44.0</version>
  180. <exclusions>
  181. <exclusion>
  182. <groupId>org.apache.httpcomponents</groupId>
  183. <artifactId>httpcore</artifactId>
  184. </exclusion>
  185. <exclusion>
  186. <groupId>org.apache.httpcomponents</groupId>
  187. <artifactId>httpclient</artifactId>
  188. </exclusion>
  189. <exclusion>
  190. <groupId>com.fasterxml.jackson.core</groupId>
  191. <artifactId>jackson-databind</artifactId>
  192. </exclusion>
  193. <exclusion>
  194. <groupId>com.fasterxml.jackson.core</groupId>
  195. <artifactId>jackson-core</artifactId>
  196. </exclusion>
  197. <exclusion>
  198. <groupId>com.fasterxml.jackson.core</groupId>
  199. <artifactId>jackson-annotations</artifactId>
  200. </exclusion>
  201. </exclusions>
  202. </dependency>
  203. <dependency>
  204. <groupId>com.fasterxml.jackson.dataformat</groupId>
  205. <artifactId>jackson-dataformat-cbor</artifactId>
  206. <version>${jackson.version}</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>com.amazonaws</groupId>
  210. <artifactId>aws-java-sdk-s3</artifactId>
  211. <version>1.11.659</version>
  212. <exclusions>
  213. <exclusion>
  214. <groupId>com.fasterxml.jackson.dataformat</groupId>
  215. <artifactId>jackson-dataformat-cbor</artifactId>
  216. </exclusion>
  217. </exclusions>
  218. </dependency>
  219. <dependency>
  220. <groupId>com.amazonaws</groupId>
  221. <artifactId>aws-java-sdk-route53</artifactId>
  222. <version>1.11.699</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>com.stripe</groupId>
  226. <artifactId>stripe-java</artifactId>
  227. <version>16.2.0</version>
  228. </dependency>
  229. <dependency>
  230. <groupId>org.cobbzilla</groupId>
  231. <artifactId>restex</artifactId>
  232. <version>1.0.1-SNAPSHOT</version>
  233. <scope>test</scope>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.cobbzilla</groupId>
  237. <artifactId>wizard-server-test</artifactId>
  238. <version>1.0.0-SNAPSHOT</version>
  239. <scope>test</scope>
  240. </dependency>
  241. <!--<dependency>-->
  242. <!--<groupId>org.cobbzilla</groupId>-->
  243. <!--<artifactId>wizard-server-test</artifactId>-->
  244. <!--<version>1.0.0-SNAPSHOT</version>-->
  245. <!--</dependency>-->
  246. <!-- https://mvnrepository.com/artifact/io.swagger/swagger-jersey2-jaxrs -->
  247. <dependency>
  248. <groupId>io.swagger</groupId>
  249. <artifactId>swagger-jersey2-jaxrs</artifactId>
  250. <version>1.5.24</version>
  251. <exclusions>
  252. <exclusion>
  253. <groupId>com.fasterxml.jackson.dataformat</groupId>
  254. <artifactId>jackson-dataformat-yaml</artifactId>
  255. </exclusion>
  256. </exclusions>
  257. </dependency>
  258. </dependencies>
  259. <build>
  260. <resources>
  261. <resource>
  262. <directory>src/main/resources</directory>
  263. </resource>
  264. </resources>
  265. <plugins>
  266. <!-- Building the executable uberjar -->
  267. <plugin>
  268. <groupId>org.apache.maven.plugins</groupId>
  269. <artifactId>maven-shade-plugin</artifactId>
  270. <version>2.1</version>
  271. <executions>
  272. <execution>
  273. <phase>package</phase>
  274. <goals><goal>shade</goal></goals>
  275. <configuration>
  276. <transformers>
  277. <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  278. <mainClass>bubble.server.BubbleServer</mainClass>
  279. </transformer>
  280. <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  281. <resource>META-INF/spring.handlers</resource>
  282. </transformer>
  283. <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  284. <resource>META-INF/spring.schemas</resource>
  285. </transformer>
  286. <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
  287. </transformers>
  288. <!-- Exclude signed jars to avoid errors
  289. see: http://stackoverflow.com/a/6743609/1251543
  290. -->
  291. <filters>
  292. <filter>
  293. <artifact>*:*</artifact>
  294. <excludes>
  295. <exclude>META-INF/*.SF</exclude>
  296. <exclude>META-INF/*.DSA</exclude>
  297. <exclude>META-INF/*.RSA</exclude>
  298. </excludes>
  299. </filter>
  300. </filters>
  301. </configuration>
  302. </execution>
  303. </executions>
  304. </plugin>
  305. <!-- update ansible/default_roles.json, copy scripts into jar -->
  306. <plugin>
  307. <groupId>org.codehaus.mojo</groupId>
  308. <artifactId>exec-maven-plugin</artifactId>
  309. <version>1.5.0</version>
  310. <executions>
  311. <execution>
  312. <phase>package</phase>
  313. <goals>
  314. <goal>exec</goal>
  315. </goals>
  316. <configuration>
  317. <executable>${project.basedir}/../bin/prep_bubble_jar</executable>
  318. </configuration>
  319. </execution>
  320. </executions>
  321. </plugin>
  322. </plugins>
  323. </build>
  324. </project>