pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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>mldong</artifactId>
  6. <groupId>com.mldong</groupId>
  7. <version>1.0-SNAPSHOT</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <properties>
  11. </properties>
  12. <artifactId>mldong-admin</artifactId>
  13. <dependencies>
  14. <dependency>
  15. <groupId>com.mldong</groupId>
  16. <artifactId>mldong-sys-portal</artifactId>
  17. <version>${parent.version}</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>com.mldong</groupId>
  21. <artifactId>mldong-cms-portal</artifactId>
  22. <version>${parent.version}</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.mldong</groupId>
  26. <artifactId>mldong-snakerflow-portal</artifactId>
  27. <version>${parent.version}</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-web</artifactId>
  32. </dependency>
  33. <!--阿里druid-spring-boot-starter-->
  34. <dependency>
  35. <groupId>com.alibaba</groupId>
  36. <artifactId>druid-spring-boot-starter</artifactId>
  37. </dependency>
  38. <!--连接池-->
  39. <dependency>
  40. <groupId>com.alibaba</groupId>
  41. <artifactId>druid</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-jdbc</artifactId>
  46. </dependency>
  47. <!--实现springboot的热加载-->
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-devtools</artifactId>
  51. <optional>true</optional>
  52. <scope>true</scope>
  53. </dependency>
  54. <!-- MYSQL -->
  55. <dependency>
  56. <groupId>mysql</groupId>
  57. <artifactId>mysql-connector-java</artifactId>
  58. </dependency>
  59. <!-- swaggerui -->
  60. <dependency>
  61. <groupId>io.springfox</groupId>
  62. <artifactId>springfox-swagger2</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>io.springfox</groupId>
  66. <artifactId>springfox-swagger-ui</artifactId>
  67. </dependency>
  68. <!-- knife4j -->
  69. <dependency>
  70. <groupId>com.github.xiaoymin</groupId>
  71. <artifactId>knife4j-spring-boot-starter</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.mldong</groupId>
  75. <artifactId>mldong-token-strategy-redis</artifactId>
  76. <version>${parent.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.mldong</groupId>
  80. <artifactId>mldong-captcha-service</artifactId>
  81. <version>${parent.version}</version>
  82. </dependency>
  83. </dependencies>
  84. <build>
  85. <resources>
  86. <resource>
  87. <directory>src/main/resources</directory>
  88. <includes>
  89. <include>**/*</include>
  90. </includes>
  91. </resource>
  92. <resource>
  93. <directory>src/main/lib</directory>
  94. <targetPath>BOOT-INF/lib/</targetPath>
  95. <includes>
  96. <include>**/*.jar</include>
  97. </includes>
  98. </resource>
  99. <resource>
  100. <directory>src/main/resources</directory>
  101. <targetPath>BOOT-INF/classes/</targetPath>
  102. </resource>
  103. </resources>
  104. <finalName>${project.artifactId}</finalName>
  105. <extensions>
  106. <extension>
  107. <groupId>org.apache.maven.wagon</groupId>
  108. <artifactId>wagon-ssh</artifactId>
  109. <version>2.8</version>
  110. </extension>
  111. </extensions>
  112. <plugins>
  113. <plugin>
  114. <groupId>org.apache.maven.plugins</groupId>
  115. <artifactId>maven-source-plugin</artifactId>
  116. <executions>
  117. <execution>
  118. <id>attach-sources</id>
  119. <goals>
  120. <goal>jar</goal>
  121. </goals>
  122. </execution>
  123. </executions>
  124. </plugin>
  125. <plugin>
  126. <groupId>org.springframework.boot</groupId>
  127. <artifactId>spring-boot-maven-plugin</artifactId>
  128. <!-- 指定主类 -->
  129. <configuration>
  130. <mainClass>com.mldong.MldongAdminApplication</mainClass>
  131. </configuration>
  132. <executions>
  133. <execution>
  134. <goals>
  135. <goal>repackage</goal>
  136. </goals>
  137. </execution>
  138. </executions>
  139. </plugin>
  140. <!-- 跳过单元测试 -->
  141. <plugin>
  142. <groupId>org.apache.maven.plugins</groupId>
  143. <artifactId>maven-surefire-plugin</artifactId>
  144. <configuration>
  145. <skipTests>true</skipTests>
  146. </configuration>
  147. </plugin>
  148. </plugins>
  149. </build>
  150. </project>