pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.2.2.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.liangjian</groupId>
  12. <artifactId>web-common-starter</artifactId>
  13. <version>0.0.2-SNAPSHOT</version>
  14. <name>web-common-starter</name>
  15. <description>亮剑网站系统的通用starter</description>
  16. <properties>
  17. <java.version>11</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <!-- jpa -->
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-data-jpa</artifactId>
  28. </dependency>
  29. <!-- mybatis-plus -->
  30. <dependency>
  31. <groupId>com.baomidou</groupId>
  32. <artifactId>mybatis-plus-boot-starter</artifactId>
  33. <version>3.3.0</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-autoconfigure</artifactId>
  38. <version>2.2.2.RELEASE</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-test</artifactId>
  43. <scope>test</scope>
  44. <exclusions>
  45. <exclusion>
  46. <groupId>org.junit.vintage</groupId>
  47. <artifactId>junit-vintage-engine</artifactId>
  48. </exclusion>
  49. </exclusions>
  50. </dependency>
  51. </dependencies>
  52. <distributionManagement>
  53. <repository>
  54. <id>liangjian-192.168.50.41</id>
  55. <url>http://192.168.50.41:8081/repository/liangjian-host/</url>
  56. </repository>
  57. </distributionManagement>
  58. <build>
  59. <plugins>
  60. <!--打包带源码-->
  61. <plugin>
  62. <groupId>org.apache.maven.plugins</groupId>
  63. <artifactId>maven-source-plugin</artifactId>
  64. <executions>
  65. <execution>
  66. <id>attach-sources</id>
  67. <goals>
  68. <goal>jar</goal>
  69. </goals>
  70. </execution>
  71. </executions>
  72. </plugin>
  73. <plugin>
  74. <groupId>org.apache.maven.plugins</groupId>
  75. <artifactId>maven-compiler-plugin</artifactId>
  76. <configuration>
  77. <source>${java.version}</source>
  78. <target>${java.version}</target>
  79. </configuration>
  80. </plugin>
  81. <!-- javadoc -->
  82. <plugin>
  83. <groupId>org.apache.maven.plugins</groupId>
  84. <artifactId>maven-javadoc-plugin</artifactId>
  85. <version>3.1.1</version>
  86. <configuration>
  87. <reportOutputDirectory>./javadocs</reportOutputDirectory>
  88. <destDir>${project.version}</destDir>
  89. <encoding>UTF-8</encoding>
  90. <charset>UTF-8</charset>
  91. <docencoding>UTF-8</docencoding>
  92. </configuration>
  93. </plugin>
  94. </plugins>
  95. </build>
  96. </project>