pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.7.2</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.syjy</groupId>
  12. <artifactId>calculation-spring-boot-starter</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>calculation</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-test</artifactId>
  27. <scope>test</scope>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.projectlombok</groupId>
  31. <artifactId>lombok</artifactId>
  32. <version>RELEASE</version>
  33. <scope>compile</scope>
  34. </dependency>
  35. <!--mysql 驱动-->
  36. <dependency>
  37. <groupId>mysql</groupId>
  38. <artifactId>mysql-connector-java</artifactId>
  39. </dependency>
  40. <!-- druid 连接池 -->
  41. <dependency>
  42. <groupId>com.alibaba</groupId>
  43. <artifactId>druid-spring-boot-starter</artifactId>
  44. <version>1.1.20</version>
  45. </dependency>
  46. <!-- java规则引擎(表达式解析器) -->
  47. <dependency>
  48. <groupId>com.googlecode.aviator</groupId>
  49. <artifactId>aviator</artifactId>
  50. <version>5.2.5</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-jdbc</artifactId>
  55. <version>RELEASE</version>
  56. <scope>compile</scope>
  57. </dependency>
  58. <!--fast json 版本-->
  59. <dependency>
  60. <groupId>com.alibaba</groupId>
  61. <artifactId>fastjson</artifactId>
  62. <version>1.2.69</version>
  63. </dependency>
  64. <!--负责从properties文件中读取配置信息-->
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-configuration-processor</artifactId>
  68. <version>2.7.2</version>
  69. </dependency>
  70. <!--实现自动化配置-->
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-autoconfigure</artifactId>
  74. <version>2.7.2</version>
  75. </dependency>
  76. <!--生成sql脚本工具-->
  77. <dependency>
  78. <groupId>cn.hutool</groupId>
  79. <artifactId>hutool-all</artifactId>
  80. <version>5.3.5</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>commons-io</groupId>
  84. <artifactId>commons-io</artifactId>
  85. <version>2.6</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  90. </dependency>
  91. </dependencies>
  92. <build>
  93. <plugins>
  94. <plugin>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-maven-plugin</artifactId>
  97. <configuration>
  98. <skip>true</skip>
  99. <mainClass>com.syjy.calculate.CalculationApplication</mainClass>
  100. </configuration>
  101. <executions>
  102. <execution>
  103. <goals>
  104. <goal>repackage</goal>
  105. </goals>
  106. </execution>
  107. </executions>
  108. </plugin>
  109. <!--跳过test类-->
  110. <plugin>
  111. <groupId>org.apache.maven.plugins</groupId>
  112. <artifactId>maven-surefire-plugin</artifactId>
  113. <version>2.21.0</version>
  114. <configuration>
  115. <skipTests>true</skipTests>
  116. </configuration>
  117. </plugin>
  118. </plugins>
  119. </build>
  120. </project>