pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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>Api</artifactId>
  11. <name>Api</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-config</artifactId>
  27. <scope>provided</scope>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.java110</groupId>
  31. <artifactId>java110-event</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>junit</groupId>
  35. <artifactId>junit</artifactId>
  36. <version>4.11</version>
  37. <scope>test</scope>
  38. </dependency>
  39. </dependencies>
  40. <build>
  41. <finalName>Api</finalName>
  42. <plugins>
  43. <plugin>
  44. <groupId>org.apache.maven.plugins</groupId>
  45. <artifactId>maven-dependency-plugin</artifactId>
  46. <version>2.10</version>
  47. <executions>
  48. <execution>
  49. <id>unpack</id>
  50. <phase>generate-resources</phase>
  51. <goals>
  52. <goal>unpack</goal>
  53. </goals>
  54. <configuration>
  55. <artifactItems>
  56. <artifactItem>
  57. <groupId>com.java110</groupId>
  58. <artifactId>java110-config</artifactId>
  59. <version>${microcommunity.version}</version>
  60. <type>jar</type>
  61. <overWrite>true</overWrite>
  62. <outputDirectory>${project.build.directory}/classes</outputDirectory>
  63. </artifactItem>
  64. </artifactItems>
  65. </configuration>
  66. </execution>
  67. </executions>
  68. </plugin>
  69. <plugin>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-maven-plugin</artifactId>
  72. <configuration>
  73. <mainClass>com.java110.api.ApiApplicationStart</mainClass>
  74. </configuration>
  75. </plugin>
  76. <plugin>
  77. <groupId>org.apache.maven.plugins</groupId>
  78. <artifactId>maven-javadoc-plugin</artifactId>
  79. <version>2.10.4</version>
  80. <configuration>
  81. <aggregate>true</aggregate>
  82. <reportOutputDirectory>../javadocs</reportOutputDirectory>
  83. <destDir>security-javadoc</destDir>
  84. <javadocExecutable>${java.home}bin/javadoc</javadocExecutable>
  85. <tags>
  86. <tag>
  87. <name>Description</name>
  88. <placement>a</placement>
  89. <head>功能描述:</head>
  90. </tag>
  91. </tags>
  92. </configuration>
  93. </plugin>
  94. </plugins>
  95. </build>
  96. </project>