pom.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  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>railway</artifactId>
  7. <groupId>com.railway</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>railway-generator</artifactId>
  12. <name>railway generator</name>
  13. <description>微服务-代码生成</description>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.springframework.boot</groupId>
  17. <artifactId>spring-boot-starter-web</artifactId>
  18. <version>2.2.13.RELEASE</version>
  19. </dependency>
  20. <dependency>
  21. <groupId>com.alibaba</groupId>
  22. <artifactId>fastjson</artifactId>
  23. <version>1.2.44</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-configuration-processor</artifactId>
  28. <version>2.2.13.RELEASE</version>
  29. <optional>true</optional>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-devtools</artifactId>
  34. <version>2.2.13.RELEASE</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>cn.hutool</groupId>
  38. <artifactId>hutool-all</artifactId>
  39. <version>4.1.12</version>
  40. </dependency>
  41. <!-- lombok -->
  42. <dependency>
  43. <groupId>org.projectlombok</groupId>
  44. <artifactId>lombok</artifactId>
  45. <version>1.18.2</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>log4j</groupId>
  49. <artifactId>log4j</artifactId>
  50. <version>1.2.16</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.commons</groupId>
  54. <artifactId>commons-lang3</artifactId>
  55. <version>3.8</version>
  56. </dependency>
  57. <!-- freemarker -->
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-freemarker</artifactId>
  61. <version>2.2.13.RELEASE</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>javax.xml.bind</groupId>
  65. <artifactId>jaxb-api</artifactId>
  66. <version>2.3.0</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.sun.xml.bind</groupId>
  70. <artifactId>jaxb-impl</artifactId>
  71. <version>2.3.0</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.sun.xml.bind</groupId>
  75. <artifactId>jaxb-core</artifactId>
  76. <version>2.3.0</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>javax.activation</groupId>
  80. <artifactId>activation</artifactId>
  81. <version>1.1.1</version>
  82. </dependency>
  83. </dependencies>
  84. <build>
  85. <!--解决idea打包没有xml-->
  86. <resources>
  87. <resource>
  88. <directory>src/main/java</directory>
  89. <includes>
  90. <include>**/*.properties</include>
  91. <include>**/*.xml</include>
  92. </includes>
  93. <filtering>false</filtering>
  94. </resource>
  95. <resource>
  96. <directory>src/main/resources</directory>
  97. </resource>
  98. </resources>
  99. <plugins>
  100. <plugin>
  101. <groupId>org.apache.maven.plugins</groupId>
  102. <artifactId>maven-compiler-plugin</artifactId>
  103. <version>3.1</version>
  104. <configuration>
  105. <skip>true</skip>
  106. <compilerId>javac</compilerId>
  107. <source>1.8</source>
  108. <target>1.8</target>
  109. <encoding>UTF-8</encoding>
  110. <compilerVersion>1.8</compilerVersion>
  111. <verbose>true</verbose>
  112. <optimize>true</optimize>
  113. </configuration>
  114. <dependencies>
  115. <dependency>
  116. <groupId>org.codehaus.plexus</groupId>
  117. <artifactId>plexus-compiler-eclipse</artifactId>
  118. <version>2.2</version>
  119. </dependency>
  120. </dependencies>
  121. </plugin>
  122. <plugin>
  123. <groupId>org.apache.maven.plugins</groupId>
  124. <artifactId>maven-resources-plugin</artifactId>
  125. <version>3.0.1</version>
  126. <configuration>
  127. <!--<failOnMissingWebXml>false</failOnMissingWebXml>-->
  128. <includeEmptyDirs>true</includeEmptyDirs>
  129. </configuration>
  130. </plugin>
  131. <plugin>
  132. <groupId>org.apache.maven.plugins</groupId>
  133. <artifactId>maven-war-plugin</artifactId>
  134. <version>2.1.1</version>
  135. <configuration>
  136. <failOnMissingWebXml>false</failOnMissingWebXml>
  137. <warSourceExcludes>upload/**</warSourceExcludes>
  138. </configuration>
  139. </plugin>
  140. <plugin>
  141. <groupId>org.springframework.boot</groupId>
  142. <artifactId>spring-boot-maven-plugin</artifactId>
  143. <version>2.2.13.RELEASE</version>
  144. <executions>
  145. <execution>
  146. <goals>
  147. <goal>repackage</goal>
  148. </goals>
  149. </execution>
  150. </executions>
  151. </plugin>
  152. </plugins>
  153. </build>
  154. </project>