pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.jpsoft.lotteryActivity</groupId>
  7. <artifactId>lotteryActivity-parent</artifactId>
  8. <version>1.0.0</version>
  9. <modules>
  10. <module>common</module>
  11. <module>server</module>
  12. </modules>
  13. <packaging>pom</packaging>
  14. <description>周年抽奖活动项目</description>
  15. <properties>
  16. <java.version>1.8</java.version>
  17. <lombok.version>1.18.16</lombok.version>
  18. <maven.compiler.source>8</maven.compiler.source>
  19. <maven.compiler.target>8</maven.compiler.target>
  20. </properties>
  21. <parent>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-parent</artifactId>
  24. <version>2.2.1.RELEASE</version>
  25. <relativePath/> <!-- lookup parent from repository -->
  26. </parent>
  27. <dependencies>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-devtools</artifactId>
  31. <scope>runtime</scope>
  32. <optional>true</optional>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-test</artifactId>
  41. <scope>test</scope>
  42. <exclusions>
  43. <exclusion>
  44. <groupId>org.junit.vintage</groupId>
  45. <artifactId>junit-vintage-engine</artifactId>
  46. </exclusion>
  47. </exclusions>
  48. </dependency>
  49. <!--logging start-->
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-logging</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.lazyluke</groupId>
  56. <artifactId>log4jdbc-remix</artifactId>
  57. <version>0.2.7</version>
  58. </dependency>
  59. <!--logging end-->
  60. <dependency>
  61. <groupId>org.projectlombok</groupId>
  62. <artifactId>lombok</artifactId>
  63. <version>${lombok.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>cn.hutool</groupId>
  67. <artifactId>hutool-all</artifactId>
  68. <version>5.6.7</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.baomidou</groupId>
  72. <artifactId>mybatis-plus-generator</artifactId>
  73. <version>3.5.1</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.baomidou</groupId>
  77. <artifactId>mybatis-plus-boot-starter</artifactId>
  78. <version>3.4.3.4</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.apache.velocity</groupId>
  82. <artifactId>velocity-engine-core</artifactId>
  83. <version>2.0</version>
  84. </dependency>
  85. </dependencies>
  86. <build>
  87. <plugins>
  88. <plugin>
  89. <groupId>org.apache.maven.plugins</groupId>
  90. <artifactId>maven-surefire-plugin</artifactId>
  91. <version>2.16</version>
  92. <configuration>
  93. <includes>
  94. <include>**/*TestForPack.java</include>
  95. </includes>
  96. <argLine>-Xmx256M</argLine>
  97. </configuration>
  98. <dependencies>
  99. <dependency>
  100. <groupId>org.apache.maven.surefire</groupId>
  101. <artifactId>surefire-junit47</artifactId>
  102. <version>2.16</version>
  103. </dependency>
  104. </dependencies>
  105. </plugin>
  106. </plugins>
  107. </build>
  108. </project>