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. <modelVersion>4.0.0</modelVersion>
  6. <groupId>bdd-ssd-test</groupId>
  7. <artifactId>org.weshare.ssd.test</artifactId>
  8. <version>2.1-SNAPSHOT</version>
  9.  
  10. <properties>
  11. <spring>4.3.10.RELEASE</spring>
  12. <mybatis>3.4.1</mybatis>
  13. <mybaits.spring>1.3.1</mybaits.spring>
  14. <mysql.connector>8.0.7-dmr</mysql.connector>
  15. <commons>1.4</commons>
  16. <dom4j>1.6.1</dom4j>
  17. <jaxen>1.1.6</jaxen>
  18. <jsoup>1.10.3</jsoup>
  19. <fastjson>1.2.35</fastjson>
  20. <jackson>2.9.0</jackson>
  21. <log4j2>2.8.2</log4j2>
  22. <cucumber>1.2.5</cucumber>
  23. <junit>4.12</junit>
  24. <gson>2.8.2</gson>
  25. <cucumber>1.2.5</cucumber>
  26. <meteorite>1.1.1</meteorite>
  27. <jsonequals>1.0.1</jsonequals>
  28. <commons-io>2.5</commons-io>
  29. <jdk>1.8</jdk>
  30. <encoding>UTF-8</encoding>
  31. <maven.clean.plugin>3.0.0</maven.clean.plugin>
  32. <maven.compiler.plugin>3.6.1</maven.compiler.plugin>
  33. <maven.deploy.plugin>2.8.2</maven.deploy.plugin>
  34. <maven.install.plugin>2.5.2</maven.install.plugin>
  35. <maven.gpg.plugin>1.6</maven.gpg.plugin>
  36. <maven.jar.plugin>3.0.2</maven.jar.plugin>
  37. <maven.resources.plugin>3.0.2</maven.resources.plugin>
  38. <maven.surefire.plugin>2.19.1</maven.surefire.plugin>
  39. <maven.javadoc.plugin>2.10.4</maven.javadoc.plugin>
  40. <maven.release.plugin>2.5.3</maven.release.plugin>
  41. <maven.scm.plugin>1.9.5</maven.scm.plugin>
  42. <maven.site.plugin>3.6</maven.site.plugin>
  43. <maven.enforcer.plugin>1.4.1</maven.enforcer.plugin>
  44. <versions.maven.plugin>2.3</versions.maven.plugin>
  45. <maven.assembly.plugin>3.0.0</maven.assembly.plugin>
  46. <maven.source.plugin>3.0.1</maven.source.plugin>
  47. <maven.jarsigner.plugin>1.4</maven.jarsigner.plugin>
  48. <!--解决编译时资源文件输出乱码问题:using platform encoding GBK-->
  49. <!--<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>-->
  50. </properties>
  51.  
  52. <dependencies>
  53. <!-- spring -->
  54. <dependency>
  55. <groupId>org.springframework</groupId>
  56. <artifactId>spring-context</artifactId>
  57. <version>${spring}</version>
  58. <scope>compile</scope>
  59. </dependency>
  60.  
  61. <dependency>
  62. <groupId>org.springframework</groupId>
  63. <artifactId>spring-core</artifactId>
  64. <version>${spring}</version>
  65. <scope>compile</scope>
  66. </dependency>
  67.  
  68. <dependency>
  69. <groupId>org.springframework</groupId>
  70. <artifactId>spring-beans</artifactId>
  71. <version>${spring}</version>
  72. <scope>compile</scope>
  73. </dependency>
  74.  
  75. <dependency>
  76. <groupId>org.springframework</groupId>
  77. <artifactId>spring-aop</artifactId>
  78. <version>${spring}</version>
  79. <scope>compile</scope>
  80. </dependency>
  81.  
  82. <dependency>
  83. <groupId>org.springframework</groupId>
  84. <artifactId>spring-tx</artifactId>
  85. <version>${spring}</version>
  86. <scope>compile</scope>
  87. </dependency>
  88.  
  89. <dependency>
  90. <groupId>org.springframework</groupId>
  91. <artifactId>spring-context-support</artifactId>
  92. <version>${spring}</version>
  93. <scope>compile</scope>
  94. </dependency>
  95.  
  96. <dependency>
  97. <groupId>org.springframework</groupId>
  98. <artifactId>spring-jdbc</artifactId>
  99. <version>${spring}</version>
  100. <scope>compile</scope>
  101. </dependency>
  102.  
  103. <dependency>
  104. <groupId>org.springframework</groupId>
  105. <artifactId>spring-web</artifactId>
  106. <version>${spring}</version>
  107. </dependency>
  108.  
  109. <!-- mybatis -->
  110. <dependency>
  111. <groupId>org.mybatis</groupId>
  112. <artifactId>mybatis</artifactId>
  113. <version>${mybatis}</version>
  114. <scope>compile</scope>
  115. </dependency>
  116.  
  117. <dependency>
  118. <groupId>org.mybatis</groupId>
  119. <artifactId>mybatis-spring</artifactId>
  120. <version>${mybaits.spring}</version>
  121. <scope>compile</scope>
  122. </dependency>
  123.  
  124. <!-- mysql -->
  125. <dependency>
  126. <groupId>mysql</groupId>
  127. <artifactId>mysql-connector-java</artifactId>
  128. <version>${mysql.connector}</version>
  129. <scope>compile</scope>
  130. </dependency>
  131.  
  132. <!-- commons -->
  133. <dependency>
  134. <groupId>commons-dbcp</groupId>
  135. <artifactId>commons-dbcp</artifactId>
  136. <version>${commons}</version>
  137. <!--<scope>compile</scope>-->
  138. </dependency>
  139.  
  140. <!-- dom4j -->
  141. <dependency>
  142. <groupId>dom4j</groupId>
  143. <artifactId>dom4j</artifactId>
  144. <version>${dom4j}</version>
  145. <!--<scope>compile</scope>-->
  146. </dependency>
  147.  
  148. <dependency>
  149. <groupId>jaxen</groupId>
  150. <artifactId>jaxen</artifactId>
  151. <version>${jaxen}</version>
  152. <!--<scope>compile</scope>-->
  153. </dependency>
  154.  
  155. <!-- jsoup -->
  156. <dependency>
  157. <groupId>org.jsoup</groupId>
  158. <artifactId>jsoup</artifactId>
  159. <version>${jsoup}</version>
  160. <!--<scope>compile</scope>-->
  161. </dependency>
  162.  
  163. <!-- log4j2 -->
  164. <dependency>
  165. <groupId>org.apache.logging.log4j</groupId>
  166. <artifactId>log4j-core</artifactId>
  167. <version>${log4j2}</version>
  168. <!--<scope>compile</scope>-->
  169. </dependency>
  170.  
  171. <dependency>
  172. <groupId>org.apache.logging.log4j</groupId>
  173. <artifactId>log4j-api</artifactId>
  174. <version>${log4j2}</version>
  175. <!--<scope>compile</scope>-->
  176. </dependency>
  177.  
  178. <!-- junit -->
  179. <dependency>
  180. <groupId>junit</groupId>
  181. <artifactId>junit</artifactId>
  182. <version>${junit}</version>
  183. <!--<scope>compile</scope>-->
  184. </dependency>
  185.  
  186. <!-- gson -->
  187. <dependency>
  188. <groupId>com.google.code.gson</groupId>
  189. <artifactId>gson</artifactId>
  190. <version>${gson}</version>
  191. <scope>compile</scope>
  192. </dependency>
  193.  
  194. <!-- cucumber -->
  195. <dependency>
  196. <groupId>info.cukes</groupId>
  197. <artifactId>cucumber-java</artifactId>
  198. <version>${cucumber}</version>
  199. <scope>compile</scope>
  200. </dependency>
  201. <dependency>
  202. <groupId>info.cukes</groupId>
  203. <artifactId>cucumber-junit</artifactId>
  204. <version>${cucumber}</version>
  205. <scope>compile</scope>
  206. </dependency>
  207. <dependency>
  208. <groupId>info.cukes</groupId>
  209. <artifactId>cucumber-core</artifactId>
  210. <version>${cucumber}</version>
  211. <scope>compile</scope>
  212. </dependency>
  213. <dependency>
  214. <groupId>info.cukes</groupId>
  215. <artifactId>cucumber-jvm</artifactId>
  216. <version>${cucumber}</version>
  217. <type>pom</type>
  218. <scope>compile</scope>
  219. </dependency>
  220. <dependency>
  221. <groupId>info.cukes</groupId>
  222. <artifactId>cucumber-jvm-deps</artifactId>
  223. <version>1.0.5</version>
  224. <scope>compile</scope>
  225. </dependency>
  226.  
  227. <!--测试框架包-->
  228. <dependency>
  229. <groupId>meteorite</groupId>
  230. <artifactId>meteorite-constant</artifactId>
  231. <version>${meteorite}</version>
  232. <scope>system</scope>
  233. <systemPath>${project.basedir}/libs/meteorite-constant-${meteorite}.jar</systemPath>
  234. </dependency>
  235.  
  236. <dependency>
  237. <groupId>meteorite</groupId>
  238. <artifactId>meteorite-resource</artifactId>
  239. <version>${meteorite}</version>
  240. <scope>system</scope>
  241. <systemPath>${project.basedir}/libs/meteorite-resource-${meteorite}.jar</systemPath>
  242. </dependency>
  243.  
  244. <dependency>
  245. <groupId>meteorite</groupId>
  246. <artifactId>meteorite-model</artifactId>
  247. <version>${meteorite}</version>
  248. <scope>system</scope>
  249. <systemPath>${project.basedir}/libs/meteorite-model-${meteorite}.jar</systemPath>
  250. </dependency>
  251.  
  252. <dependency>
  253. <groupId>meteorite</groupId>
  254. <artifactId>meteorite-utils</artifactId>
  255. <version>${meteorite}</version>
  256. <scope>system</scope>
  257. <systemPath>${project.basedir}/libs/meteorite-utils-${meteorite}.jar</systemPath>
  258. </dependency>
  259.  
  260. <dependency>
  261. <groupId>meteorite</groupId>
  262. <artifactId>meteorite-core</artifactId>
  263. <version>${meteorite}</version>
  264. <scope>system</scope>
  265. <systemPath>${project.basedir}/libs/meteorite-core-${meteorite}.jar</systemPath>
  266. </dependency>
  267.  
  268. <dependency>
  269. <groupId>meteorite</groupId>
  270. <artifactId>meteorite-register</artifactId>
  271. <version>${meteorite}</version>
  272. <scope>system</scope>
  273. <systemPath>${project.basedir}/libs/meteorite-register-${meteorite}.jar</systemPath>
  274. </dependency>
  275.  
  276. <dependency>
  277. <groupId>meteorite</groupId>
  278. <artifactId>meteorite-load</artifactId>
  279. <version>${meteorite}</version>
  280. <scope>system</scope>
  281. <systemPath>${project.basedir}/libs/meteorite-load-${meteorite}.jar</systemPath>
  282. </dependency>
  283.  
  284. <dependency>
  285. <groupId>meteorite</groupId>
  286. <artifactId>meteorite-protocol</artifactId>
  287. <version>${meteorite}</version>
  288. <scope>system</scope>
  289. <systemPath>${project.basedir}/libs/meteorite-protocol-${meteorite}.jar</systemPath>
  290. </dependency>
  291.  
  292. <dependency>
  293. <groupId>meteorite</groupId>
  294. <artifactId>meteorite-mybatis</artifactId>
  295. <version>${meteorite}</version>
  296. <scope>system</scope>
  297. <systemPath>${project.basedir}/libs/meteorite-mybatis-${meteorite}.jar</systemPath>
  298. </dependency>
  299.  
  300. <dependency>
  301. <groupId>meteorite</groupId>
  302. <artifactId>meteorite-runner</artifactId>
  303. <version>${meteorite}</version>
  304. <scope>system</scope>
  305. <systemPath>${project.basedir}/libs/meteorite-runner-${meteorite}.jar</systemPath>
  306. </dependency>
  307.  
  308. <dependency>
  309. <groupId>meteorite</groupId>
  310. <artifactId>meteorite-junit</artifactId>
  311. <version>${meteorite}</version>
  312. <scope>system</scope>
  313. <systemPath>${project.basedir}/libs/meteorite-junit-${meteorite}.jar</systemPath>
  314. </dependency>
  315.  
  316. <!--<dependency> 已经更新为1.11版本-->
  317. <!--<groupId>org.apache.commons.codec</groupId>-->
  318. <!--<artifactId>commons.codec</artifactId>-->
  319. <!--<version>1.1</version>-->
  320. <!--<scope>system</scope>-->
  321. <!--<systemPath>${project.basedir}/libs/commons.codec-1.1.jar</systemPath>-->
  322. <!--</dependency>-->
  323. <dependency>
  324. <groupId>commons-codec</groupId>
  325. <artifactId>commons-codec</artifactId>
  326. <version>1.11</version>
  327. </dependency>
  328. <dependency>
  329. <groupId>com.github.kvnxiao</groupId>
  330. <artifactId>jsonequals</artifactId>
  331. <version>${jsonequals}</version>
  332. </dependency>
  333. <dependency>
  334. <groupId>commons-io</groupId>
  335. <artifactId>commons-io</artifactId>
  336. <version>${commons-io}</version>
  337. </dependency>
  338. <dependency>
  339. <groupId>totallylazy</groupId>
  340. <artifactId>totallylazy</artifactId>
  341. <version>1001</version>
  342. <scope>system</scope>
  343. <systemPath>${project.basedir}/libs/totallylazy-1001.jar</systemPath>
  344. </dependency>
  345.  
  346. <!-- maven-cucumber-reporting依赖包 -->
  347. <dependency>
  348. <groupId>net.masterthought</groupId>
  349. <artifactId>cucumber-reporting</artifactId>
  350. <version>3.13.0</version>
  351. </dependency>
  352. <!--<dependency>-->
  353. <!--<groupId>org.apache.maven</groupId>-->
  354. <!--<artifactId>maven-plugin-api</artifactId>-->
  355. <!--<version>3.3.9</version>-->
  356. <!--</dependency>-->
  357. <!--<dependency>-->
  358. <!--<groupId>org.apache.maven.plugins</groupId>-->
  359. <!--<artifactId>maven-gpg-plugin</artifactId>-->
  360. <!--<version>1.6</version>-->
  361. <!--</dependency>-->
  362.  
  363. </dependencies>
  364.  
  365. <repositories>
  366. <repository>
  367. <id>jitpack.io</id>
  368. <url>https://jitpack.io</url>
  369. </repository>
  370. <!--私服仓库地址-->
  371. <repository>
  372. <id>my-nexus-releases</id>
  373. <name>Nexus Release Repository</name>
  374. <url>http://10.15.9.182:8081/nexus/content/groups/public</url>
  375. </repository>
  376. </repositories>
  377.  
  378. <build>
  379. <plugins>
  380. <plugin>
  381. <artifactId>maven-compiler-plugin</artifactId>
  382. <version>${maven.compiler.plugin}</version>
  383. <configuration>
  384. <source>${jdk}</source>
  385. <target>${jdk}</target>
  386. <encoding>${encoding}</encoding>
  387. </configuration>
  388. </plugin>
  389. <plugin>
  390. <groupId>org.apache.maven.plugins</groupId>
  391. <artifactId>maven-surefire-plugin</artifactId>
  392. <version>${maven.surefire.plugin}</version>
  393. <configuration>
  394. <testFailureIgnore>
  395. true<!-- 因为要执行Cucumber -->
  396. </testFailureIgnore>
  397. <!--<includes>-->
  398. <!--<include>**/TestRun.java</include>-->
  399. <!--</includes>-->
  400. </configuration>
  401. </plugin>
  402.  
  403. <!--<plugin>-->
  404. <!--<groupId>org.apache.maven.plugins</groupId>-->
  405. <!--<artifactId>maven-surefire-plugin</artifactId>-->
  406. <!--<version>2.18.1</version>-->
  407. <!--<configuration>-->
  408. <!--<testFailureIgnore>true</testFailureIgnore>-->
  409. <!--<argLine>-Duser.language=en</argLine>-->
  410. <!--<argLine>-Xmx1024m</argLine>-->
  411. <!--<argLine>-XX:MaxPermSize=256m</argLine>-->
  412. <!--<argLine>-Dfile.encoding=UTF-8</argLine>-->
  413. <!--<useFile>false</useFile>-->
  414. <!--<includes>-->
  415. <!--<include>**/SSDTest.java</include>-->
  416. <!--</includes>-->
  417. <!--</configuration>-->
  418. <!--</plugin>-->
  419.  
  420. <plugin>
  421. <groupId>net.masterthought</groupId>
  422. <artifactId>maven-cucumber-reporting</artifactId>
  423. <version>3.13.0</version>
  424. <executions>
  425. <execution>
  426. <id>execution</id>
  427. <phase>verify</phase>
  428. <goals>
  429. <goal>generate</goal>
  430. </goals>
  431. <configuration>
  432. <projectName>cucumber-jvm-example</projectName>
  433. <outputDirectory>${project.build.directory}/reports/cucumber-reports</outputDirectory>
  434. <cucumberOutput>${project.build.directory}/reports/output.json</cucumberOutput>
  435. <parallelTesting>false</parallelTesting>
  436. </configuration>
  437. </execution>
  438. </executions>
  439. </plugin>
  440. </plugins>
  441. </build>
  442. </project>

maven的pom.xml举例的更多相关文章

  1. (六)Maven之pom.xml文件简单说明

    通过前面几部分知识,我们对maven已经有了初步的印象,就像Make的Makefile.Ant的build.xml一样,Maven项目的核心是pom.xml.POM(Project Object Mo ...

  2. maven 的 pom.xml 文件报错:ArtifactTransferException: Failure to transfer

    因为maven下载依赖jar包时,特别慢,所以取消了下载过程,再次打开eclipse时,maven的pom.xml文件报错如下: ArtifactTransferException: Failure ...

  3. maven的pom.xml深入理解

    maven的pom.xml的具体使用和各个xml标签的作用.这样设计的原理是什么? maven实战的第17章-18章是架构方面的知识

  4. Maven项目pom.xml文件简单解析

    Maven项目pom.xml简单解析 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="h ...

  5. maven项目pom.xml第一行报错

    maven项目pom.xml第一行报错 这是第一行:<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi= ...

  6. java maven项目 pom.xml plugin 报错, build path 找不到 jconsole-1.8.0.jar 和 tools-1.8.0.jar 包

    maven项目pom.xml突然报错,在Java Build Path 中并没有引用的jar包出现在了Maven Dependencies的依赖包中. 这个错误直接导致了pom.xml文件中 < ...

  7. SSH项目搭建(四)——Maven的pom.xml配置

    史上最全的maven的pom.xml文件详解: https://www.cnblogs.com/qq765065332/p/9238135.html 下面的节点有不理解是啥意思的可以到上面链接的文章里 ...

  8. maven(4)------maven核心pom.xml文件常用元素分析

    在maven项目中,pom文件是核心文件 pom.xml: <?xml version="1.0" encoding="UTF-8"?> <p ...

  9. 史上最全的maven的pom.xml文件详解(转载)

    此文出处:史上最全的maven的pom.xml文件详解——阿豪聊干货 <project xmlns="http://maven.apache.org/POM/4.0.0" x ...

随机推荐

  1. UART串口通信

    #include "sys.h" #include "delay.h" #include "usart.h" u8 rdata[]; UAR ...

  2. Python2.7-hashlib

    hashlib模块,实现了支持多种不同哈希算法的接口,不同 hash 算法的构造函数就是算法名,返回的哈希对象都具有相同接口.哈希算法不是加密算法,所以下面提到的加密不是真的加密,因为真的加密需要能够 ...

  3. python3——print使用

        print的初步认识:对于科班出身的或有相关经验的人来说,学习python是相当有趣的事,因为可以做日常任务, 比如自动备份你的MP3:可以做网站,如YouTube就是Python写的:可以做 ...

  4. Eclipse-设置保存时自动给变量加final

    也是针对checkstyle的,在代码检查规范时,所有的变量必须是final.为了解决这个问题,通过以下的设置可以在eclipse保存时,自动给没有加final的变量加上final. Window-& ...

  5. # 2017-2018-2 20155319《网络对抗技术》Exp9 :Web安全基础

    2017-2018-2 20155319<网络对抗技术>Exp9 :Web安全基础 实践过程 webgoat准备 从GitHub上下载jar包(老师的虚拟机中有 无需下载) 拷贝到本地,并 ...

  6. WPF编程,通过Path类型制作沿路径运动的动画另一种方法。

    原文:WPF编程,通过Path类型制作沿路径运动的动画另一种方法. 版权声明:我不生产代码,我只是代码的搬运工. https://blog.csdn.net/qq_43307934/article/d ...

  7. EZ 2018 03 23 NOIP2018 模拟赛(五)

    链接:http://211.140.156.254:2333/contest/65 这次Rating重回Rank18,我是20的守门员(滑稽) 这次题目和数据普遍偏水,我T2打错了一个变量名竟然过了所 ...

  8. 汇编 MOV -2

    知识点:  MOV指令  基址  内联汇编  把OD附加到资源管理器右键菜单 一.MOV指令 aaa=0x889977;//MOV DWORD PTR DS:[0x403018],0x8899 ...

  9. python 回溯法 记录

    一直不是太理解回溯法,这几天集中学习了一下,记录如下. 回溯法有"通用的解题法"之称. 1.定义:  也叫试探法,它是一种系统地搜索问题的解的方法. 2.基本思想:  从一条路往前 ...

  10. C#中二进制、十进制和十六进制互相转换的方法

    二进制在C#中无法直接表示,我们一般用0和1的字符串来表示一个数的二进制形式.比如4的二进制为"100".下面介绍C#里面用于进制转换的方法. 十进制转换为二进制(int--> ...