pom.xml 4.2 KB

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