pom.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>nb-root</artifactId>
  7. <groupId>com.tuoren</groupId>
  8. <version>1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>nb-admin</artifactId>
  13. <dependencies>
  14. <!-- 核心模块 -->
  15. <dependency>
  16. <groupId>com.tuoren</groupId>
  17. <artifactId>nb-framework</artifactId>
  18. </dependency>
  19. <!-- OSS文件存储模块 -->
  20. <dependency>
  21. <groupId>com.tuoren</groupId>
  22. <artifactId>nb-oss</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-test</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>junit</groupId>
  30. <artifactId>junit</artifactId>
  31. </dependency>
  32. </dependencies>
  33. <!--<build>-->
  34. <!--<plugins>-->
  35. <!--<plugin>-->
  36. <!--<groupId>org.springframework.boot</groupId>-->
  37. <!--<artifactId>spring-boot-maven-plugin</artifactId>-->
  38. <!--</plugin>-->
  39. <!--</plugins>-->
  40. <!--</build>-->
  41. <build>
  42. <plugins>
  43. <plugin>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-maven-plugin</artifactId>
  46. <configuration>
  47. <mainClass>com.coffee.admin.AdminApplication</mainClass>
  48. </configuration>
  49. <executions>
  50. <execution>
  51. <goals>
  52. <goal>repackage</goal>
  53. </goals>
  54. </execution>
  55. </executions>
  56. </plugin>
  57. <!-- 跳过单元测试 -->
  58. <plugin>
  59. <groupId>org.apache.maven.plugins</groupId>
  60. <artifactId>maven-surefire-plugin</artifactId>
  61. <configuration>
  62. <skipTests>true</skipTests>
  63. </configuration>
  64. </plugin>
  65. </plugins>
  66. </build>
  67. </project>