pom.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.uas.ps</groupId>
  7. <artifactId>ps-parent</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>ps-lottery</artifactId>
  11. <version>0.0.1-SNAPSHOT</version>
  12. <packaging>jar</packaging>
  13. <name>ps-lottery</name>
  14. <description>A project for lottery</description>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. <java.version>1.8</java.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-data-redis</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>mysql</groupId>
  31. <artifactId>mysql-connector-java</artifactId>
  32. <scope>runtime</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-test</artifactId>
  37. <scope>test</scope>
  38. </dependency>
  39. <!--jpa-->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-data-jpa</artifactId>
  43. </dependency>
  44. <!--druid-->
  45. <dependency>
  46. <groupId>com.alibaba</groupId>
  47. <artifactId>druid</artifactId>
  48. </dependency>
  49. <!--fastjosn-->
  50. <dependency>
  51. <groupId>com.alibaba</groupId>
  52. <artifactId>fastjson</artifactId>
  53. </dependency>
  54. <!--ps-parent-->
  55. <dependency>
  56. <groupId>com.uas.ps</groupId>
  57. <artifactId>ps-core</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.uas.ps</groupId>
  61. <artifactId>ps-httplog</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.usoft.framework</groupId>
  65. <artifactId>usoft-bizcode-utils</artifactId>
  66. <version>${profile}-1.0-SNAPSHOT</version>
  67. </dependency>
  68. </dependencies>
  69. <profiles>
  70. <profile>
  71. <!-- 开发环境 -->
  72. <id>dev</id>
  73. <activation>
  74. <activeByDefault>true</activeByDefault>
  75. </activation>
  76. <properties>
  77. <profile>dev</profile>
  78. </properties>
  79. </profile>
  80. <profile>
  81. <!-- 测试环境 -->
  82. <id>test</id>
  83. <properties>
  84. <profile>test</profile>
  85. </properties>
  86. </profile>
  87. <profile>
  88. <!-- 生产环境 -->
  89. <id>prod</id>
  90. <properties>
  91. <profile>prod</profile>
  92. </properties>
  93. </profile>
  94. </profiles>
  95. <build>
  96. <plugins>
  97. <plugin>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-maven-plugin</artifactId>
  100. </plugin>
  101. <plugin>
  102. <groupId>org.apache.maven.plugins</groupId>
  103. <artifactId>maven-surefire-plugin</artifactId>
  104. <configuration>
  105. <testFailureIgnore>true</testFailureIgnore>
  106. </configuration>
  107. </plugin>
  108. </plugins>
  109. </build>
  110. </project>