pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>qhiot-api</artifactId>
  7. <groupId>com.qhiot</groupId>
  8. <version>1.0.1</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>com.qhiot</groupId>
  12. <artifactId>qhiot-api-core</artifactId>
  13. <version>1.0.1</version>
  14. <packaging>jar</packaging>
  15. <dependencies>
  16. <dependency>
  17. <groupId>com.qhiot</groupId>
  18. <artifactId>qhiot-transport-db</artifactId>
  19. <version>1.0.1</version>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.qhiot</groupId>
  23. <artifactId>qhiot-transport-web</artifactId>
  24. <version>1.0.1</version>
  25. </dependency>
  26. </dependencies>
  27. <build>
  28. <resources>
  29. <resource>
  30. <directory>src/main/java</directory>
  31. <excludes>
  32. <exclude>**/*.java</exclude>
  33. </excludes>
  34. </resource>
  35. <resource>
  36. <directory>src/main/resources</directory>
  37. </resource>
  38. </resources>
  39. <plugins>
  40. <plugin>
  41. <groupId>org.apache.maven.plugins</groupId>
  42. <artifactId>maven-jar-plugin</artifactId>
  43. <version>2.6</version>
  44. <configuration>
  45. <archive>
  46. <index>true</index>
  47. <manifest>
  48. <addClasspath>true</addClasspath>
  49. </manifest>
  50. </archive>
  51. <useDefaultManifestFile>true</useDefaultManifestFile>
  52. </configuration>
  53. </plugin>
  54. <!--<plugin>-->
  55. <!--<groupId>org.apache.maven.plugins</groupId>-->
  56. <!--<artifactId>maven-javadoc-plugin</artifactId>-->
  57. <!--<version>2.10.4</version>-->
  58. <!--<configuration>-->
  59. <!--<aggregate>true</aggregate>-->
  60. <!--<failOnError>false</failOnError>-->
  61. <!--&lt;!&ndash; JDK 8 &ndash;&gt;-->
  62. <!--&lt;!&ndash;-->
  63. <!--<additionalparam>-Xdoclint:none</additionalparam>-->
  64. <!--&ndash;&gt;-->
  65. <!--</configuration>-->
  66. <!--<executions>-->
  67. <!--<execution>-->
  68. <!--<id>attach-javadocs</id>-->
  69. <!--<goals>-->
  70. <!--<goal>jar</goal>-->
  71. <!--</goals>-->
  72. <!--</execution>-->
  73. <!--</executions>-->
  74. <!--</plugin>-->
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-dependency-plugin</artifactId>
  78. <executions>
  79. <execution>
  80. <id>copy</id>
  81. <phase>package</phase>
  82. <goals>
  83. <goal>copy-dependencies</goal>
  84. </goals>
  85. <configuration>
  86. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  87. </configuration>
  88. </execution>
  89. </executions>
  90. </plugin>
  91. </plugins>
  92. </build>
  93. <distributionManagement>
  94. <repository>
  95. <id>releases</id>
  96. <url>http://116.62.67.134:9000/nexus/content/repositories/releases</url>
  97. </repository>
  98. </distributionManagement>
  99. </project>