pom.xml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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-report</artifactId>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.bstek.ureport</groupId>
  15. <artifactId>ureport2-console</artifactId>
  16. <version>2.2.9</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>javax</groupId>
  20. <artifactId>javaee-api</artifactId>
  21. <version>7.0</version>
  22. <scope>provided</scope>
  23. </dependency>
  24. </dependencies>
  25. <build>
  26. <resources>
  27. <resource>
  28. <directory>src/main/java</directory>
  29. <excludes>
  30. <exclude>**/*.java</exclude>
  31. </excludes>
  32. </resource>
  33. <resource>
  34. <directory>src/main/resources</directory>
  35. </resource>
  36. </resources>
  37. <plugins>
  38. <plugin>
  39. <groupId>org.apache.maven.plugins</groupId>
  40. <artifactId>maven-jar-plugin</artifactId>
  41. <version>2.6</version>
  42. <configuration>
  43. <archive>
  44. <index>true</index>
  45. <manifest>
  46. <addClasspath>true</addClasspath>
  47. </manifest>
  48. </archive>
  49. <useDefaultManifestFile>true</useDefaultManifestFile>
  50. </configuration>
  51. </plugin>
  52. <plugin>
  53. <groupId>org.apache.maven.plugins</groupId>
  54. <artifactId>maven-dependency-plugin</artifactId>
  55. <executions>
  56. <execution>
  57. <id>copy</id>
  58. <phase>package</phase>
  59. <goals>
  60. <goal>copy-dependencies</goal>
  61. </goals>
  62. <configuration>
  63. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  64. </configuration>
  65. </execution>
  66. </executions>
  67. </plugin>
  68. </plugins>
  69. </build>
  70. <distributionManagement>
  71. <repository>
  72. <id>releases</id>
  73. <url>http://116.62.67.134:9000/nexus/content/repositories/releases</url>
  74. </repository>
  75. </distributionManagement>
  76. </project>