pom.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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. <parent>
  5. <artifactId>MicroCommunity</artifactId>
  6. <groupId>com.java110</groupId>
  7. <version>1.0-SNAPSHOT</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>springboot</artifactId>
  11. <name>springboot</name>
  12. <!-- FIXME change it to the project's website -->
  13. <url>http://www.example.com</url>
  14. <properties>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <maven.compiler.source>1.7</maven.compiler.source>
  17. <maven.compiler.target>1.7</maven.compiler.target>
  18. <hc.version>1.0-SNAPSHOT</hc.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>junit</groupId>
  23. <artifactId>junit</artifactId>
  24. <version>4.11</version>
  25. <scope>test</scope>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.java110</groupId>
  29. <artifactId>service-community</artifactId>
  30. <version>${hc.version}</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.java110</groupId>
  34. <artifactId>service-common</artifactId>
  35. <version>${hc.version}</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.java110</groupId>
  39. <artifactId>service-dev</artifactId>
  40. <version>${hc.version}</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.java110</groupId>
  44. <artifactId>service-fee</artifactId>
  45. <version>${hc.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.java110</groupId>
  49. <artifactId>service-job</artifactId>
  50. <version>${hc.version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.java110</groupId>
  54. <artifactId>service-oa</artifactId>
  55. <version>${hc.version}</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.java110</groupId>
  59. <artifactId>service-acct</artifactId>
  60. <version>${hc.version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.java110</groupId>
  64. <artifactId>service-report</artifactId>
  65. <version>${hc.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.java110</groupId>
  69. <artifactId>service-store</artifactId>
  70. <version>${hc.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.java110</groupId>
  74. <artifactId>service-user</artifactId>
  75. <version>${hc.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-websocket</artifactId>
  80. </dependency>
  81. </dependencies>
  82. <build>
  83. <finalName>springboot</finalName>
  84. <plugins>
  85. <plugin>
  86. <groupId>org.apache.maven.plugins</groupId>
  87. <artifactId>maven-dependency-plugin</artifactId>
  88. <version>2.10</version>
  89. <executions>
  90. <execution>
  91. <id>unpack</id>
  92. <phase>generate-resources</phase>
  93. <goals>
  94. <goal>unpack</goal>
  95. </goals>
  96. <configuration>
  97. <artifactItems>
  98. <artifactItem>
  99. <groupId>com.java110</groupId>
  100. <artifactId>java110-interface</artifactId>
  101. <version>${microcommunity.version}</version>
  102. <type>jar</type>
  103. <overWrite>true</overWrite>
  104. <outputDirectory>${project.build.directory}/classes</outputDirectory>
  105. </artifactItem>
  106. </artifactItems>
  107. </configuration>
  108. </execution>
  109. </executions>
  110. </plugin>
  111. <plugin>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-maven-plugin</artifactId>
  114. <configuration>
  115. <mainClass>com.java110.api.ApiApplicationStart</mainClass>
  116. </configuration>
  117. </plugin>
  118. <plugin>
  119. <groupId>org.apache.maven.plugins</groupId>
  120. <artifactId>maven-javadoc-plugin</artifactId>
  121. <version>2.10.4</version>
  122. <configuration>
  123. <aggregate>true</aggregate>
  124. <reportOutputDirectory>../javadocs</reportOutputDirectory>
  125. <destDir>security-javadoc</destDir>
  126. <javadocExecutable>${java.home}bin/javadoc</javadocExecutable>
  127. <tags>
  128. <tag>
  129. <name>Description</name>
  130. <placement>a</placement>
  131. <head>功能描述:</head>
  132. </tag>
  133. </tags>
  134. </configuration>
  135. </plugin>
  136. </plugins>
  137. </build>
  138. </project>