pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>com.banggood.scm</groupId>
  4. <artifactId>unsalable</artifactId>
  5. <version>0.0.1-SNAPSHOT</version>
  6. <packaging>pom</packaging>
  7. <parent>
  8. <groupId>org.springframework.boot</groupId>
  9. <artifactId>spring-boot-starter-parent</artifactId>
  10. <version>1.5.3.RELEASE</version>
  11. <relativePath /> <!-- lookup parent from repository -->
  12. </parent>
  13. <modules>
  14. <module>unsalable-common</module>
  15. <module>unsalable-api</module>
  16. <module>unsalable-mock</module>
  17. <module>unsalable-web</module>
  18. </modules>
  19. <properties>
  20. <java.version>1.8</java.version>
  21. <file.encoding>UTF-8</file.encoding>
  22. <!-- 文件拷贝时的编码 -->
  23. <project.build.sourceEncoding>${file.encoding}</project.build.sourceEncoding>
  24. <project.reporting.outputEncoding>${file.encoding}</project.reporting.outputEncoding>
  25. <!-- 编译时的编码 -->
  26. <maven.compiler.encoding>${file.encoding}</maven.compiler.encoding>
  27. <spring-framework.version>4.3.8.RELEASE</spring-framework.version>
  28. <spring-platform.version>Brussels-SR2</spring-platform.version>
  29. <spring-data.version>Ingalls-SR4</spring-data.version>
  30. <shiro.version>1.3.2</shiro.version>
  31. <activiti.version>5.22.0</activiti.version>
  32. <cxf.version>3.1.9</cxf.version>
  33. <lucene.version>4.10.4</lucene.version>
  34. <thymeleaf.version>3.0.6.RELEASE</thymeleaf.version>
  35. <thymeleaf-layout-dialect.version>2.2.1</thymeleaf-layout-dialect.version>
  36. <springfox.version>2.7.0</springfox.version>
  37. <fastjson.version>1.2.33</fastjson.version>
  38. </properties>
  39. <dependencyManagement>
  40. <dependencies>
  41. <dependency>
  42. <groupId>io.spring.platform</groupId>
  43. <artifactId>platform-bom</artifactId>
  44. <version>${spring-platform.version}</version>
  45. <scope>import</scope>
  46. <type>pom</type>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework</groupId>
  50. <artifactId>spring-framework-bom</artifactId>
  51. <version>${spring-framework.version}</version>
  52. <scope>import</scope>
  53. <type>pom</type>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.data</groupId>
  57. <artifactId>spring-data-releasetrain</artifactId>
  58. <version>${spring-data.version}</version>
  59. <scope>import</scope>
  60. <type>pom</type>
  61. </dependency>
  62. </dependencies>
  63. </dependencyManagement>
  64. <build>
  65. <plugins>
  66. <plugin>
  67. <groupId>org.apache.maven.plugins</groupId>
  68. <artifactId>maven-compiler-plugin</artifactId>
  69. <configuration>
  70. <source>${java.version}</source>
  71. <target>${java.version}</target>
  72. <encoding>${file.encoding}</encoding>
  73. <showDeprecation>true</showDeprecation>
  74. <showWarnings>true</showWarnings>
  75. <fork>true</fork>
  76. </configuration>
  77. </plugin>
  78. <plugin>
  79. <groupId>org.apache.maven.plugins</groupId>
  80. <artifactId>maven-surefire-plugin</artifactId>
  81. <configuration>
  82. <skipTests>true</skipTests>
  83. </configuration>
  84. </plugin>
  85. <!-- 生成可执行jar包的配置 -->
  86. <!--<plugin>-->
  87. <!--<groupId>org.apache.maven.plugins</groupId>-->
  88. <!--<artifactId>maven-jar-plugin</artifactId>-->
  89. <!--</plugin>-->
  90. <!-- 生成可执行war包的配置 -->
  91. <!--<plugin>-->
  92. <!--<groupId>org.apache.maven.plugins</groupId>-->
  93. <!--<artifactId>maven-war-plugin</artifactId>-->
  94. <!--<configuration>-->
  95. <!--<failOnMissingWebXml>false</failOnMissingWebXml>-->
  96. <!--</configuration>-->
  97. <!--</plugin>-->
  98. </plugins>
  99. </build>
  100. </project>