pom.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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-vote</artifactId>
  11. <version>0.0.1-SNAPSHOT</version>
  12. <packaging>jar</packaging>
  13. <name>ps-vote</name>
  14. <description>Spring Boot project for vote</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-configuration-processor</artifactId>
  28. <optional>true</optional>
  29. </dependency>
  30. <dependency>
  31. <groupId>mysql</groupId>
  32. <artifactId>mysql-connector-java</artifactId>
  33. <scope>runtime</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-test</artifactId>
  38. <scope>test</scope>
  39. </dependency>
  40. <!--jpa-->
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-data-jpa</artifactId>
  44. </dependency>
  45. <!--druid-->
  46. <dependency>
  47. <groupId>com.alibaba</groupId>
  48. <artifactId>druid</artifactId>
  49. </dependency>
  50. <!--fastjosn-->
  51. <dependency>
  52. <groupId>com.alibaba</groupId>
  53. <artifactId>fastjson</artifactId>
  54. </dependency>
  55. <!--ps-parent-->
  56. <dependency>
  57. <groupId>com.uas.ps</groupId>
  58. <artifactId>ps-core</artifactId>
  59. </dependency>
  60. </dependencies>
  61. <profiles>
  62. <profile>
  63. <!-- 开发环境 -->
  64. <id>dev</id>
  65. <activation>
  66. <activeByDefault>true</activeByDefault>
  67. </activation>
  68. <properties>
  69. <profile>dev</profile>
  70. </properties>
  71. </profile>
  72. <profile>
  73. <!-- 测试环境 -->
  74. <id>test</id>
  75. <properties>
  76. <profile>test</profile>
  77. </properties>
  78. </profile>
  79. <profile>
  80. <!-- 生产环境 -->
  81. <id>prod</id>
  82. <properties>
  83. <profile>prod</profile>
  84. </properties>
  85. </profile>
  86. </profiles>
  87. <build>
  88. <plugins>
  89. <plugin>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-maven-plugin</artifactId>
  92. </plugin>
  93. </plugins>
  94. </build>
  95. </project>