pom.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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>OrderService</artifactId>
  11. <name>OrderService</name>
  12. <!-- FIXME change it to the project's website -->
  13. <url>http://maven.apache.org</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. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>com.java110</groupId>
  22. <artifactId>java110-service</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.java110</groupId>
  26. <artifactId>java110-event</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>com.java110</groupId>
  30. <artifactId>java110-config</artifactId>
  31. <scope>provided</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.java110</groupId>
  35. <artifactId>java110-logAgent</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>junit</groupId>
  39. <artifactId>junit</artifactId>
  40. <version>4.11</version>
  41. <scope>test</scope>
  42. </dependency>
  43. </dependencies>
  44. <build>
  45. <finalName>OrderService</finalName>
  46. <plugins>
  47. <plugin>
  48. <groupId>org.apache.maven.plugins</groupId>
  49. <artifactId>maven-dependency-plugin</artifactId>
  50. <version>2.10</version>
  51. <executions>
  52. <execution>
  53. <id>unpack</id>
  54. <phase>generate-resources</phase>
  55. <goals>
  56. <goal>unpack</goal>
  57. </goals>
  58. <configuration>
  59. <artifactItems>
  60. <artifactItem>
  61. <groupId>com.java110</groupId>
  62. <artifactId>java110-config</artifactId>
  63. <version>${microcommunity.version}</version>
  64. <type>jar</type>
  65. <overWrite>true</overWrite>
  66. <outputDirectory>${project.build.directory}/classes</outputDirectory>
  67. </artifactItem>
  68. </artifactItems>
  69. </configuration>
  70. </execution>
  71. </executions>
  72. </plugin>
  73. <plugin>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-maven-plugin</artifactId>
  76. <configuration>
  77. <mainClass>com.java110.order.OrderServiceApplicationStart</mainClass>
  78. </configuration>
  79. </plugin>
  80. <plugin>
  81. <groupId>org.apache.maven.plugins</groupId>
  82. <artifactId>maven-javadoc-plugin</artifactId>
  83. <version>2.10.4</version>
  84. <configuration>
  85. <aggregate>true</aggregate>
  86. <reportOutputDirectory>../javadocs</reportOutputDirectory>
  87. <destDir>security-javadoc</destDir>
  88. <javadocExecutable>${java.home}bin/javadoc</javadocExecutable>
  89. <tags>
  90. <tag>
  91. <name>Description</name>
  92. <placement>a</placement>
  93. <head>功能描述:</head>
  94. </tag>
  95. </tags>
  96. </configuration>
  97. </plugin>
  98. </plugins>
  99. </build>
  100. </project>