pom.xml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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>CommonService</artifactId>
  10. <packaging>jar</packaging>
  11. <name>CommonService</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. <plugins>
  24. <plugin>
  25. <groupId>org.apache.maven.plugins</groupId>
  26. <artifactId>maven-dependency-plugin</artifactId>
  27. <version>2.10</version>
  28. <executions>
  29. <execution>
  30. <id>unpack</id>
  31. <phase>generate-resources</phase>
  32. <goals>
  33. <goal>unpack</goal>
  34. </goals>
  35. <configuration>
  36. <artifactItems>
  37. <artifactItem>
  38. <groupId>com.java110</groupId>
  39. <artifactId>java110-config</artifactId>
  40. <version>${microcommunity.version}</version>
  41. <type>jar</type>
  42. <overWrite>true</overWrite>
  43. <outputDirectory>${project.build.directory}/classes</outputDirectory>
  44. </artifactItem>
  45. </artifactItems>
  46. </configuration>
  47. </execution>
  48. </executions>
  49. </plugin>
  50. </plugins>
  51. </build>
  52. </project>