ailink ble wifi 服务端加解密工具类
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <artifactId>utils-test</artifactId>
  5. <groupId>com.inet</groupId>
  6. <version>1.0</version>
  7. <packaging>jar</packaging>
  8. <name>utils-test</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  13. </properties>
  14. <dependencies>
  15. <dependency>
  16. <groupId>commons-lang</groupId>
  17. <artifactId>commons-lang</artifactId>
  18. <version>2.5</version>
  19. </dependency>
  20. </dependencies>
  21. <build>
  22. <plugins>
  23. <!-- compiler插件, 设定JDK版本 -->
  24. <plugin>
  25. <groupId>org.apache.maven.plugins</groupId>
  26. <artifactId>maven-compiler-plugin</artifactId>
  27. <version>2.5.1</version>
  28. <configuration>
  29. <source>${jdk.version}</source>
  30. <target>${jdk.version}</target>
  31. <showWarnings>true</showWarnings>
  32. </configuration>
  33. </plugin>
  34. <plugin>
  35. <groupId>org.eclipse.m2e</groupId>
  36. <artifactId>lifecycle-mapping</artifactId>
  37. <version>1.0.0</version>
  38. <configuration>
  39. <lifecycleMappingMetadata>
  40. <pluginExecutions>
  41. <pluginExecution>
  42. <pluginExecutionFilter>
  43. <groupId>org.apache.maven.plugins</groupId>
  44. <artifactId>maven-enforcer-plugin</artifactId>
  45. <versionRange>[1.0.0,)</versionRange>
  46. <goals>
  47. <goal>enforce</goal>
  48. </goals>
  49. </pluginExecutionFilter>
  50. <action>
  51. <ignore />
  52. </action>
  53. </pluginExecution>
  54. </pluginExecutions>
  55. </lifecycleMappingMetadata>
  56. </configuration>
  57. </plugin>
  58. <!-- enforcer插件, 设定环境与依赖的规则 -->
  59. <plugin>
  60. <groupId>org.apache.maven.plugins</groupId>
  61. <artifactId>maven-enforcer-plugin</artifactId>
  62. <version>1.1.1</version>
  63. <executions>
  64. <execution>
  65. <id>enforce-banned-dependencies</id>
  66. <goals>
  67. <goal>enforce</goal>
  68. </goals>
  69. <configuration>
  70. <rules>
  71. <bannedDependencies>
  72. <searchTransitive>true</searchTransitive>
  73. <!-- 避免引入过期的jar包 -->
  74. <excludes>
  75. <!-- <exclude>commons-logging</exclude> -->
  76. <exclude>aspectj:aspectj*</exclude>
  77. <exclude>org.springframework:2.*</exclude>
  78. <exclude>org.springframework:3.0.*</exclude>
  79. </excludes>
  80. </bannedDependencies>
  81. </rules>
  82. <fail>true</fail>
  83. </configuration>
  84. </execution>
  85. </executions>
  86. </plugin>
  87. <!-- resource插件 -->
  88. <plugin>
  89. <groupId>org.apache.maven.plugins</groupId>
  90. <artifactId>maven-resources-plugin</artifactId>
  91. <version>2.5</version>
  92. <configuration>
  93. <encoding>UTF-8</encoding>
  94. </configuration>
  95. </plugin>
  96. <!-- clean插件 -->
  97. <plugin>
  98. <groupId>org.apache.maven.plugins</groupId>
  99. <artifactId>maven-clean-plugin</artifactId>
  100. <version>2.5</version>
  101. </plugin>
  102. <!-- ant插件 -->
  103. <plugin>
  104. <groupId>org.apache.maven.plugins</groupId>
  105. <artifactId>maven-antrun-plugin</artifactId>
  106. <version>1.7</version>
  107. </plugin>
  108. <plugin>
  109. <groupId>org.codehaus.mojo</groupId>
  110. <artifactId>sonar-maven-plugin</artifactId>
  111. <version>2.0</version>
  112. </plugin>
  113. <!-- dependency插件 -->
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-dependency-plugin</artifactId>
  117. <version>2.4</version>
  118. </plugin>
  119. <!-- 增加functional test的Source目录 -->
  120. <plugin>
  121. <groupId>org.codehaus.mojo</groupId>
  122. <artifactId>build-helper-maven-plugin</artifactId>
  123. <version>1.7</version>
  124. <executions>
  125. <execution>
  126. <id>add-functional-source</id>
  127. <phase>generate-sources</phase>
  128. <goals>
  129. <goal>add-test-source</goal>
  130. </goals>
  131. <configuration>
  132. <sources>
  133. <source>src/test/functional</source>
  134. </sources>
  135. </configuration>
  136. </execution>
  137. </executions>
  138. </plugin>
  139. </plugins>
  140. </build>
  141. </project>