pom.xml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <artifactId>ce-datamonitorsystem</artifactId>
  7. <groupId>com.creditease.moniter</groupId>
  8. <version>1.0</version>
  9. <relativePath>../com.creditease.uav.superpom</relativePath>
  10. </parent>
  11. <artifactId>com.creditease.uav.threadanalysis</artifactId>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.creditease.moniter</groupId>
  15. <artifactId>com.creditease.uav.helper</artifactId>
  16. </dependency>
  17. <dependency>
  18. <groupId>com.creditease.moniter</groupId>
  19. <artifactId>com.creditease.uav.base</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.creditease.moniter</groupId>
  23. <artifactId>com.creditease.uav.messaging</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.creditease.moniter</groupId>
  27. <artifactId>com.creditease.uav.elasticsearch.client</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.creditease.moniter</groupId>
  31. <artifactId>com.creditease.uav.logging</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.creditease.moniter</groupId>
  35. <artifactId>com.creditease.uav.httpasync</artifactId>
  36. </dependency>
  37. <!-- <dependency> <groupId>com.creditease.moniter</groupId> <artifactId>com.creditease.uav.elasticsearch.client</artifactId>
  38. </dependency> -->
  39. </dependencies>
  40. <build>
  41. <plugins>
  42. <!--把findbug绑定到install周期,每次install的时候强制进行findbug检查,不过不能build成功 -->
  43. <plugin>
  44. <groupId>org.codehaus.mojo</groupId>
  45. <artifactId>findbugs-maven-plugin</artifactId>
  46. <!--2.5会有时间转换的问题 -->
  47. <version>3.0.4</version>
  48. <configuration>
  49. <threshold>High</threshold>
  50. <effort>Default</effort>
  51. <findbugsXmlOutput>true</findbugsXmlOutput>
  52. <findbugsXmlOutputDirectory>${basedir}/target</findbugsXmlOutputDirectory>
  53. <excludeFilterFile>${basedir}/findbugs.exclude.xml</excludeFilterFile>
  54. <!--<includeFilterFile>${basedir}\findbugs.include.xml</includeFilterFile> -->
  55. </configuration>
  56. <executions>
  57. <execution>
  58. <id>attach-source</id>
  59. <phase>install</phase>
  60. <!-- 要绑定到的生命周期的阶段 -->
  61. <goals>
  62. <!-- 要绑定的插件的目标 -->
  63. <goal>check</goal>
  64. </goals>
  65. </execution>
  66. </executions>
  67. </plugin>
  68. <plugin>
  69. <artifactId>maven-compiler-plugin</artifactId>
  70. <configuration>
  71. <source>1.7</source>
  72. <target>1.7</target>
  73. <encoding>UTF-8</encoding>
  74. </configuration>
  75. </plugin>
  76. </plugins>
  77. </build>
  78. </project>