pom.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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>com.fasterxml.jackson.core</groupId>
  43. <artifactId>jackson-annotations</artifactId>
  44. </dependency>
  45. <!-- <dependency>-->
  46. <!-- <groupId>org.springframework.data</groupId>-->
  47. <!-- <artifactId>spring-data-redis</artifactId>-->
  48. <!-- <scope>compile</scope>-->
  49. <!-- </dependency>-->
  50. </dependencies>
  51. <build>
  52. <plugins>
  53. <!-- 要将源码放上去,需要加入这个插件 -->
  54. <plugin>
  55. <artifactId>maven-source-plugin</artifactId>
  56. <version>3.2.0</version>
  57. <configuration>
  58. <attach>true</attach>
  59. </configuration>
  60. <executions>
  61. <execution>
  62. <phase>compile</phase>
  63. <goals>
  64. <goal>jar</goal>
  65. </goals>
  66. </execution>
  67. </executions>
  68. </plugin>
  69. </plugins>
  70. </build>
  71. </project>