A self hosted chat application with end-to-end encrypted messaging.
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.

196 lines
6.3 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>org.springframework.boot</groupId>
  6. <artifactId>spring-boot-starter-parent</artifactId>
  7. <version>2.1.8.RELEASE</version>
  8. <relativePath />
  9. </parent>
  10. <groupId>org.ros</groupId>
  11. <artifactId>Chatto</artifactId>
  12. <version>0.0.1-SNAPSHOT</version>
  13. <packaging>jar</packaging>
  14. <name>chatto</name>
  15. <description>A self hosted minimal E2E chat application</description>
  16. <properties>
  17. <java.version>11</java.version>
  18. <gruntArg></gruntArg>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-data-jpa</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-devtools</artifactId>
  32. <scope>runtime</scope>
  33. <optional>true</optional>
  34. </dependency>
  35. <dependency>
  36. <groupId>mysql</groupId>
  37. <artifactId>mysql-connector-java</artifactId>
  38. <scope>runtime</scope>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-tomcat</artifactId>
  43. <scope>provided</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-test</artifactId>
  48. <scope>test</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-security</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.security</groupId>
  60. <artifactId>spring-security-test</artifactId>
  61. <scope>test</scope>
  62. </dependency>
  63. <!-- <dependency>
  64. <groupId>com.github.ulisesbocchio</groupId>
  65. <artifactId>jasypt-spring-boot-starter</artifactId>
  66. <version>2.1.2</version>
  67. </dependency> -->
  68. <dependency>
  69. <groupId>org.projectlombok</groupId>
  70. <artifactId>lombok</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.modelmapper</groupId>
  74. <artifactId>modelmapper</artifactId>
  75. <version>2.3.5</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-cache</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.ehcache</groupId>
  83. <artifactId>ehcache</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>javax.cache</groupId>
  87. <artifactId>cache-api</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>javax.xml.bind</groupId>
  91. <artifactId>jaxb-api</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.glassfish.jaxb</groupId>
  95. <artifactId>jaxb-runtime</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.thymeleaf.extras</groupId>
  99. <artifactId>thymeleaf-extras-springsecurity5</artifactId>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.flywaydb</groupId>
  103. <artifactId>flyway-core</artifactId>
  104. <scope>compile</scope>
  105. </dependency>
  106. </dependencies>
  107. <build>
  108. <plugins>
  109. <plugin>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-maven-plugin</artifactId>
  112. </plugin>
  113. <plugin>
  114. <groupId>org.codehaus.mojo</groupId>
  115. <artifactId>properties-maven-plugin</artifactId>
  116. <version>1.0.0</version>
  117. <executions>
  118. <execution>
  119. <phase>initialize</phase>
  120. <goals>
  121. <goal>read-project-properties</goal>
  122. </goals>
  123. <configuration>
  124. <files>
  125. <file>src/main/resources/application.properties</file>
  126. </files>
  127. </configuration>
  128. </execution>
  129. </executions>
  130. </plugin>
  131. <plugin>
  132. <groupId>org.flywaydb</groupId>
  133. <artifactId>flyway-maven-plugin</artifactId>
  134. <version>5.2.4</version>
  135. <!-- <executions>
  136. <execution>
  137. <phase>generate-sources</phase>
  138. <goals>
  139. <goal>migrate</goal>
  140. </goals>
  141. </execution>
  142. </executions> -->
  143. <configuration>
  144. <driver>${spring.datasource.driverClassName}</driver>
  145. <url>jdbc:mysql://${chatto.datasource.url}:${chatto.datasource.port}/${chatto.datasource.database-name}</url>
  146. <user>${chatto.datasource.username}</user>
  147. <password>${chatto.datasource.password}</password>
  148. </configuration>
  149. </plugin>
  150. <plugin>
  151. <groupId>com.github.eirslett</groupId>
  152. <artifactId>frontend-maven-plugin</artifactId>
  153. <version>1.9.1</version>
  154. <configuration>
  155. <workingDirectory>.</workingDirectory>
  156. </configuration>
  157. <executions>
  158. <execution>
  159. <id>install node and yarn</id>
  160. <goals>
  161. <goal>install-node-and-yarn</goal>
  162. </goals>
  163. <configuration>
  164. <nodeVersion>v12.10.0</nodeVersion>
  165. <yarnVersion>v1.21.1</yarnVersion>
  166. </configuration>
  167. </execution>
  168. <execution>
  169. <id>yarn install</id>
  170. <goals>
  171. <goal>yarn</goal>
  172. </goals>
  173. </execution>
  174. <execution>
  175. <id>watch</id>
  176. <goals>
  177. <goal>yarn</goal>
  178. </goals>
  179. <phase>none</phase>
  180. <configuration>
  181. <arguments>run watch</arguments>
  182. </configuration>
  183. </execution>
  184. <execution>
  185. <id>grunt-browserify</id>
  186. <goals>
  187. <goal>grunt</goal>
  188. </goals>
  189. <configuration>
  190. <arguments>${gruntArg}</arguments>
  191. </configuration>
  192. </execution>
  193. </executions>
  194. </plugin>
  195. </plugins>
  196. </build>
  197. </project>