pom.xml 2.7 KB

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