pom.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.hcloud.microserver</groupId>
  6. <artifactId>sys-manage-client</artifactId>
  7. <version>${sys.managerclient.version}</version>
  8. <packaging>jar</packaging>
  9. <name>sys-manage-client</name>
  10. <description>Demo project for Spring Boot</description>
  11. <parent>
  12. <groupId>com.hcloud.microserver</groupId>
  13. <artifactId>carbon-sys</artifactId>
  14. <version>0.0.1-SNAPSHOT</version>
  15. <!-- <relativePath>../../car</relativePath>-->
  16. </parent>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.hcloud.microserver</groupId>
  20. <artifactId>common-core</artifactId>
  21. <version>${common.core.version}</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>com.github.pagehelper</groupId>
  25. <artifactId>pagehelper-spring-boot-starter</artifactId>
  26. </dependency>
  27. </dependencies>
  28. <build>
  29. <plugins>
  30. <plugin>
  31. <groupId>org.apache.maven.plugins</groupId>
  32. <artifactId>maven-surefire-plugin</artifactId>
  33. <version>2.18.1</version>
  34. <!-- <version>3.6.1</version>-->
  35. <configuration>
  36. <skipTests>true</skipTests>
  37. </configuration>
  38. </plugin>
  39. <plugin>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-maven-plugin</artifactId>
  42. <executions>
  43. <execution>
  44. <goals>
  45. <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中 -->
  46. </goals>
  47. <!--可以生成不含依赖包的不可执行Jar包 -->
  48. <configuration>
  49. <classifier>exec</classifier>
  50. </configuration>
  51. </execution>
  52. </executions>
  53. </plugin>
  54. </plugins>
  55. </build>
  56. </project>