pom-cloud.xml 4.1 KB

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