pom.xml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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>CommentService</artifactId>
  11. <name>CommentService</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. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.java110</groupId>
  20. <artifactId>java110-service</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.java110</groupId>
  24. <artifactId>java110-event</artifactId>
  25. </dependency>
  26. </dependencies>
  27. <build>
  28. <finalName>CommentService</finalName>
  29. <plugins>
  30. <plugin>
  31. <groupId>org.apache.maven.plugins</groupId>
  32. <artifactId>maven-dependency-plugin</artifactId>
  33. <version>2.10</version>
  34. <executions>
  35. <execution>
  36. <id>unpack</id>
  37. <phase>generate-resources</phase>
  38. <goals>
  39. <goal>unpack</goal>
  40. </goals>
  41. <configuration>
  42. <artifactItems>
  43. <artifactItem>
  44. <groupId>com.java110</groupId>
  45. <artifactId>java110-config</artifactId>
  46. <version>${microcommunity.version}</version>
  47. <type>jar</type>
  48. <overWrite>true</overWrite>
  49. <outputDirectory>${project.build.directory}/classes</outputDirectory>
  50. </artifactItem>
  51. </artifactItems>
  52. </configuration>
  53. </execution>
  54. </executions>
  55. </plugin>
  56. <plugin>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-maven-plugin</artifactId>
  59. <configuration>
  60. <mainClass>com.java110.comment.CommentServiceApplicationStart</mainClass>
  61. </configuration>
  62. </plugin>
  63. </plugins>
  64. </build>
  65. </project>