pom.xml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. <parent>
  5. <artifactId>mall</artifactId>
  6. <groupId>com.txz</groupId>
  7. <version>1.0.0-SNAPSHOT</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>mall-api</artifactId>
  11. <version>1.0.0-SNAPSHOT</version>
  12. <dependencies>
  13. <dependency>
  14. <groupId>org.projectlombok</groupId>
  15. <artifactId>lombok</artifactId>
  16. <version>1.18.10</version>
  17. <scope>provided</scope>
  18. </dependency>
  19. <dependency>
  20. <groupId>com.alibaba</groupId>
  21. <artifactId>fastjson</artifactId>
  22. <version>1.2.69</version>
  23. <scope>compile</scope>
  24. </dependency>
  25. <dependency>
  26. <groupId>cn.hutool</groupId>
  27. <artifactId>hutool-all</artifactId>
  28. <version>RELEASE</version>
  29. <scope>compile</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>io.swagger</groupId>
  33. <artifactId>swagger-annotations</artifactId>
  34. <version>1.6.2</version>
  35. <scope>compile</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>javax.validation</groupId>
  39. <artifactId>validation-api</artifactId>
  40. </dependency>
  41. <!-- <dependency>-->
  42. <!-- <groupId>org.springframework.data</groupId>-->
  43. <!-- <artifactId>spring-data-redis</artifactId>-->
  44. <!-- <scope>compile</scope>-->
  45. <!-- </dependency>-->
  46. </dependencies>
  47. <build>
  48. <plugins>
  49. <!-- 要将源码放上去,需要加入这个插件 -->
  50. <plugin>
  51. <artifactId>maven-source-plugin</artifactId>
  52. <version>3.2.0</version>
  53. <configuration>
  54. <attach>true</attach>
  55. </configuration>
  56. <executions>
  57. <execution>
  58. <phase>compile</phase>
  59. <goals>
  60. <goal>jar</goal>
  61. </goals>
  62. </execution>
  63. </executions>
  64. </plugin>
  65. </plugins>
  66. </build>
  67. </project>