pom.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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>PropertyService</artifactId>
  11. <packaging>jar</packaging>
  12. <name>PropertyService</name>
  13. <!-- FIXME change it to the project's website -->
  14. <url>http://www.example.com</url>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <maven.compiler.source>1.7</maven.compiler.source>
  18. <maven.compiler.target>1.7</maven.compiler.target>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>junit</groupId>
  23. <artifactId>junit</artifactId>
  24. <version>4.11</version>
  25. <scope>test</scope>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.java110</groupId>
  29. <artifactId>java110-service</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.java110</groupId>
  33. <artifactId>java110-event</artifactId>
  34. </dependency>
  35. </dependencies>
  36. <build>
  37. <finalName>PropertyService</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-config</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.property.PropertyServiceApplicationStart</mainClass>
  70. </configuration>
  71. </plugin>
  72. </plugins>
  73. </build>
  74. </project>