pom.xml 4.0 KB

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