pom.xml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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>CommonService</artifactId>
  11. <name>CommonService</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. <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. </dependencies>
  29. <build>
  30. <finalName>CommonService</finalName>
  31. <plugins>
  32. <plugin>
  33. <groupId>org.apache.maven.plugins</groupId>
  34. <artifactId>maven-dependency-plugin</artifactId>
  35. <version>2.10</version>
  36. <executions>
  37. <execution>
  38. <id>unpack</id>
  39. <phase>generate-resources</phase>
  40. <goals>
  41. <goal>unpack</goal>
  42. </goals>
  43. <configuration>
  44. <artifactItems>
  45. <artifactItem>
  46. <groupId>com.java110</groupId>
  47. <artifactId>java110-config</artifactId>
  48. <version>${microcommunity.version}</version>
  49. <type>jar</type>
  50. <overWrite>true</overWrite>
  51. <outputDirectory>${project.build.directory}/classes</outputDirectory>
  52. </artifactItem>
  53. </artifactItems>
  54. </configuration>
  55. </execution>
  56. </executions>
  57. </plugin>
  58. <plugin>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-maven-plugin</artifactId>
  61. <configuration>
  62. <mainClass>com.java110.community.CommunityServiceApplicationStart</mainClass>
  63. </configuration>
  64. </plugin>
  65. </plugins>
  66. </build>
  67. </project>