pom-cloud.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <parent>
  4. <artifactId>MicroCommunity</artifactId>
  5. <groupId>com.java110</groupId>
  6. <version>1.0-SNAPSHOT</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>service-store</artifactId>
  10. <packaging>jar</packaging>
  11. <name>service-store</name>
  12. <url>http://maven.apache.org</url>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.java110</groupId>
  19. <artifactId>java110-service</artifactId>
  20. </dependency>
  21. </dependencies>
  22. <build>
  23. <finalName>service-store</finalName>
  24. <plugins>
  25. <plugin>
  26. <groupId>org.apache.maven.plugins</groupId>
  27. <artifactId>maven-dependency-plugin</artifactId>
  28. <version>2.10</version>
  29. <executions>
  30. <execution>
  31. <id>unpack</id>
  32. <phase>generate-resources</phase>
  33. <goals>
  34. <goal>unpack</goal>
  35. </goals>
  36. <configuration>
  37. <artifactItems>
  38. <artifactItem>
  39. <groupId>com.java110</groupId>
  40. <artifactId>java110-interface</artifactId>
  41. <version>${microcommunity.version}</version>
  42. <type>jar</type>
  43. <overWrite>true</overWrite>
  44. <outputDirectory>${project.build.directory}/classes</outputDirectory>
  45. </artifactItem>
  46. </artifactItems>
  47. </configuration>
  48. </execution>
  49. </executions>
  50. </plugin>
  51. <plugin>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-maven-plugin</artifactId>
  54. <configuration>
  55. <mainClass>com.java110.store.StoreServiceApplicationStart</mainClass>
  56. </configuration>
  57. </plugin>
  58. </plugins>
  59. </build>
  60. </project>