pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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-app</artifactId>
  7. <groupId>com.qhiot</groupId>
  8. <version>1.0.1</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>qhiot-global-waterquality</artifactId>
  12. <dependencies>
  13. <dependency>
  14. <groupId>org.springframework</groupId>
  15. <artifactId>spring-context</artifactId>
  16. <version>${springframework.version}</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.springframework</groupId>
  20. <artifactId>spring-web</artifactId>
  21. <version>${springframework.version}</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>com.qhiot</groupId>
  25. <artifactId>qhiot-core</artifactId>
  26. <version>1.0.1</version>
  27. <scope>compile</scope>
  28. </dependency>
  29. <dependency>
  30. <groupId>javax.servlet</groupId>
  31. <artifactId>javax.servlet-api</artifactId>
  32. <version>3.1.0</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.qhiot</groupId>
  36. <artifactId>qhiot-db</artifactId>
  37. <version>1.0.1</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.qhiot</groupId>
  41. <artifactId>qhiot-cache</artifactId>
  42. <version>1.0.1</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.qhiot</groupId>
  46. <artifactId>qhiot-webcore</artifactId>
  47. <version>1.0.1</version>
  48. <scope>compile</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.qhiot</groupId>
  52. <artifactId>qhiot-cm</artifactId>
  53. <version>1.0.1</version>
  54. <scope>compile</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.alibaba</groupId>
  58. <artifactId>fastjson</artifactId>
  59. <version>1.2.29</version>
  60. <scope>compile</scope>
  61. </dependency>
  62. </dependencies>
  63. <packaging>jar</packaging>
  64. <properties>
  65. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  66. </properties>
  67. <build>
  68. <resources>
  69. <resource>
  70. <directory>src/main/java</directory>
  71. <excludes>
  72. <exclude>**/*.java</exclude>
  73. </excludes>
  74. </resource>
  75. <resource>
  76. <directory>src/main/resources</directory>
  77. </resource>
  78. </resources>
  79. <plugins>
  80. <plugin>
  81. <groupId>org.apache.maven.plugins</groupId>
  82. <artifactId>maven-jar-plugin</artifactId>
  83. <version>2.6</version>
  84. <configuration>
  85. <archive>
  86. <index>true</index>
  87. <manifest>
  88. <addClasspath>true</addClasspath>
  89. </manifest>
  90. </archive>
  91. <useDefaultManifestFile>true</useDefaultManifestFile>
  92. </configuration>
  93. </plugin>
  94. <plugin>
  95. <groupId>org.apache.maven.plugins</groupId>
  96. <artifactId>maven-dependency-plugin</artifactId>
  97. <executions>
  98. <execution>
  99. <id>copy</id>
  100. <phase>package</phase>
  101. <goals>
  102. <goal>copy-dependencies</goal>
  103. </goals>
  104. <configuration>
  105. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  106. </configuration>
  107. </execution>
  108. </executions>
  109. </plugin>
  110. </plugins>
  111. </build>
  112. <distributionManagement>
  113. <repository>
  114. <id>releases</id>
  115. <url>http://116.62.67.134:9000/nexus/content/repositories/releases</url>
  116. </repository>
  117. </distributionManagement>
  118. </project>