pom.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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>aska</artifactId>
  7. <groupId>com.mofangchuxing</groupId>
  8. <version>1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>aska-main</artifactId>
  12. <dependencies>
  13. <dependency>
  14. <groupId>org.springframework.boot</groupId>
  15. <artifactId>spring-boot-starter-web</artifactId>
  16. <exclusions>
  17. <exclusion>
  18. <artifactId>hibernate-validator</artifactId>
  19. <groupId>org.hibernate</groupId>
  20. </exclusion>
  21. </exclusions>
  22. <version>2.0.2.RELEASE</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.mofangchuxing</groupId>
  26. <artifactId>aska-domain</artifactId>
  27. <version>1.0</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.mofangchuxing</groupId>
  31. <artifactId>aska-service</artifactId>
  32. <version>1.0</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-autoconfigure</artifactId>
  37. </dependency>
  38. </dependencies>
  39. <build>
  40. <finalName>aska</finalName>
  41. <resources>
  42. <resource>
  43. <directory>src/main/java</directory>
  44. <includes>
  45. <include>**/*.xml</include>
  46. </includes>
  47. <filtering>false</filtering>
  48. </resource>
  49. <resource>
  50. <directory>src/main/resources</directory>
  51. <filtering>true</filtering>
  52. </resource>
  53. </resources>
  54. <plugins>
  55. <plugin>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-maven-plugin</artifactId>
  58. </plugin>
  59. <plugin>
  60. <groupId>org.apache.maven.plugins</groupId>
  61. <artifactId>maven-resources-plugin</artifactId>
  62. <configuration>
  63. <encoding>UTF-8</encoding>
  64. <!-- 过滤后缀为pem、pfx的证书文件 -->
  65. <nonFilteredFileExtensions>
  66. <nonFilteredFileExtension>pem</nonFilteredFileExtension>
  67. <nonFilteredFileExtension>pfx</nonFilteredFileExtension>
  68. <nonFilteredFileExtension>p12</nonFilteredFileExtension>
  69. </nonFilteredFileExtensions>
  70. </configuration>
  71. </plugin>
  72. </plugins>
  73. </build>
  74. <properties>
  75. <maven.compiler.source>8</maven.compiler.source>
  76. <maven.compiler.target>8</maven.compiler.target>
  77. </properties>
  78. </project>