pom.xml 2.7 KB

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