maven的pom.xml举例
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>bdd-ssd-test</groupId>
- <artifactId>org.weshare.ssd.test</artifactId>
- <version>2.1-SNAPSHOT</version>
- <properties>
- <spring>4.3.10.RELEASE</spring>
- <mybatis>3.4.1</mybatis>
- <mybaits.spring>1.3.1</mybaits.spring>
- <mysql.connector>8.0.7-dmr</mysql.connector>
- <commons>1.4</commons>
- <dom4j>1.6.1</dom4j>
- <jaxen>1.1.6</jaxen>
- <jsoup>1.10.3</jsoup>
- <fastjson>1.2.35</fastjson>
- <jackson>2.9.0</jackson>
- <log4j2>2.8.2</log4j2>
- <cucumber>1.2.5</cucumber>
- <junit>4.12</junit>
- <gson>2.8.2</gson>
- <cucumber>1.2.5</cucumber>
- <meteorite>1.1.1</meteorite>
- <jsonequals>1.0.1</jsonequals>
- <commons-io>2.5</commons-io>
- <jdk>1.8</jdk>
- <encoding>UTF-8</encoding>
- <maven.clean.plugin>3.0.0</maven.clean.plugin>
- <maven.compiler.plugin>3.6.1</maven.compiler.plugin>
- <maven.deploy.plugin>2.8.2</maven.deploy.plugin>
- <maven.install.plugin>2.5.2</maven.install.plugin>
- <maven.gpg.plugin>1.6</maven.gpg.plugin>
- <maven.jar.plugin>3.0.2</maven.jar.plugin>
- <maven.resources.plugin>3.0.2</maven.resources.plugin>
- <maven.surefire.plugin>2.19.1</maven.surefire.plugin>
- <maven.javadoc.plugin>2.10.4</maven.javadoc.plugin>
- <maven.release.plugin>2.5.3</maven.release.plugin>
- <maven.scm.plugin>1.9.5</maven.scm.plugin>
- <maven.site.plugin>3.6</maven.site.plugin>
- <maven.enforcer.plugin>1.4.1</maven.enforcer.plugin>
- <versions.maven.plugin>2.3</versions.maven.plugin>
- <maven.assembly.plugin>3.0.0</maven.assembly.plugin>
- <maven.source.plugin>3.0.1</maven.source.plugin>
- <maven.jarsigner.plugin>1.4</maven.jarsigner.plugin>
- <!--解决编译时资源文件输出乱码问题:using platform encoding GBK-->
- <!--<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>-->
- </properties>
- <dependencies>
- <!-- spring -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context</artifactId>
- <version>${spring}</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-core</artifactId>
- <version>${spring}</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-beans</artifactId>
- <version>${spring}</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-aop</artifactId>
- <version>${spring}</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-tx</artifactId>
- <version>${spring}</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context-support</artifactId>
- <version>${spring}</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-jdbc</artifactId>
- <version>${spring}</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-web</artifactId>
- <version>${spring}</version>
- </dependency>
- <!-- mybatis -->
- <dependency>
- <groupId>org.mybatis</groupId>
- <artifactId>mybatis</artifactId>
- <version>${mybatis}</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.mybatis</groupId>
- <artifactId>mybatis-spring</artifactId>
- <version>${mybaits.spring}</version>
- <scope>compile</scope>
- </dependency>
- <!-- mysql -->
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>${mysql.connector}</version>
- <scope>compile</scope>
- </dependency>
- <!-- commons -->
- <dependency>
- <groupId>commons-dbcp</groupId>
- <artifactId>commons-dbcp</artifactId>
- <version>${commons}</version>
- <!--<scope>compile</scope>-->
- </dependency>
- <!-- dom4j -->
- <dependency>
- <groupId>dom4j</groupId>
- <artifactId>dom4j</artifactId>
- <version>${dom4j}</version>
- <!--<scope>compile</scope>-->
- </dependency>
- <dependency>
- <groupId>jaxen</groupId>
- <artifactId>jaxen</artifactId>
- <version>${jaxen}</version>
- <!--<scope>compile</scope>-->
- </dependency>
- <!-- jsoup -->
- <dependency>
- <groupId>org.jsoup</groupId>
- <artifactId>jsoup</artifactId>
- <version>${jsoup}</version>
- <!--<scope>compile</scope>-->
- </dependency>
- <!-- log4j2 -->
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-core</artifactId>
- <version>${log4j2}</version>
- <!--<scope>compile</scope>-->
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-api</artifactId>
- <version>${log4j2}</version>
- <!--<scope>compile</scope>-->
- </dependency>
- <!-- junit -->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${junit}</version>
- <!--<scope>compile</scope>-->
- </dependency>
- <!-- gson -->
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- <version>${gson}</version>
- <scope>compile</scope>
- </dependency>
- <!-- cucumber -->
- <dependency>
- <groupId>info.cukes</groupId>
- <artifactId>cucumber-java</artifactId>
- <version>${cucumber}</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>info.cukes</groupId>
- <artifactId>cucumber-junit</artifactId>
- <version>${cucumber}</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>info.cukes</groupId>
- <artifactId>cucumber-core</artifactId>
- <version>${cucumber}</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>info.cukes</groupId>
- <artifactId>cucumber-jvm</artifactId>
- <version>${cucumber}</version>
- <type>pom</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>info.cukes</groupId>
- <artifactId>cucumber-jvm-deps</artifactId>
- <version>1.0.5</version>
- <scope>compile</scope>
- </dependency>
- <!--测试框架包-->
- <dependency>
- <groupId>meteorite</groupId>
- <artifactId>meteorite-constant</artifactId>
- <version>${meteorite}</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/libs/meteorite-constant-${meteorite}.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>meteorite</groupId>
- <artifactId>meteorite-resource</artifactId>
- <version>${meteorite}</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/libs/meteorite-resource-${meteorite}.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>meteorite</groupId>
- <artifactId>meteorite-model</artifactId>
- <version>${meteorite}</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/libs/meteorite-model-${meteorite}.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>meteorite</groupId>
- <artifactId>meteorite-utils</artifactId>
- <version>${meteorite}</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/libs/meteorite-utils-${meteorite}.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>meteorite</groupId>
- <artifactId>meteorite-core</artifactId>
- <version>${meteorite}</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/libs/meteorite-core-${meteorite}.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>meteorite</groupId>
- <artifactId>meteorite-register</artifactId>
- <version>${meteorite}</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/libs/meteorite-register-${meteorite}.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>meteorite</groupId>
- <artifactId>meteorite-load</artifactId>
- <version>${meteorite}</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/libs/meteorite-load-${meteorite}.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>meteorite</groupId>
- <artifactId>meteorite-protocol</artifactId>
- <version>${meteorite}</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/libs/meteorite-protocol-${meteorite}.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>meteorite</groupId>
- <artifactId>meteorite-mybatis</artifactId>
- <version>${meteorite}</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/libs/meteorite-mybatis-${meteorite}.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>meteorite</groupId>
- <artifactId>meteorite-runner</artifactId>
- <version>${meteorite}</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/libs/meteorite-runner-${meteorite}.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>meteorite</groupId>
- <artifactId>meteorite-junit</artifactId>
- <version>${meteorite}</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/libs/meteorite-junit-${meteorite}.jar</systemPath>
- </dependency>
- <!--<dependency> 已经更新为1.11版本-->
- <!--<groupId>org.apache.commons.codec</groupId>-->
- <!--<artifactId>commons.codec</artifactId>-->
- <!--<version>1.1</version>-->
- <!--<scope>system</scope>-->
- <!--<systemPath>${project.basedir}/libs/commons.codec-1.1.jar</systemPath>-->
- <!--</dependency>-->
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- <version>1.11</version>
- </dependency>
- <dependency>
- <groupId>com.github.kvnxiao</groupId>
- <artifactId>jsonequals</artifactId>
- <version>${jsonequals}</version>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>${commons-io}</version>
- </dependency>
- <dependency>
- <groupId>totallylazy</groupId>
- <artifactId>totallylazy</artifactId>
- <version>1001</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/libs/totallylazy-1001.jar</systemPath>
- </dependency>
- <!-- maven-cucumber-reporting依赖包 -->
- <dependency>
- <groupId>net.masterthought</groupId>
- <artifactId>cucumber-reporting</artifactId>
- <version>3.13.0</version>
- </dependency>
- <!--<dependency>-->
- <!--<groupId>org.apache.maven</groupId>-->
- <!--<artifactId>maven-plugin-api</artifactId>-->
- <!--<version>3.3.9</version>-->
- <!--</dependency>-->
- <!--<dependency>-->
- <!--<groupId>org.apache.maven.plugins</groupId>-->
- <!--<artifactId>maven-gpg-plugin</artifactId>-->
- <!--<version>1.6</version>-->
- <!--</dependency>-->
- </dependencies>
- <repositories>
- <repository>
- <id>jitpack.io</id>
- <url>https://jitpack.io</url>
- </repository>
- <!--私服仓库地址-->
- <repository>
- <id>my-nexus-releases</id>
- <name>Nexus Release Repository</name>
- <url>http://10.15.9.182:8081/nexus/content/groups/public</url>
- </repository>
- </repositories>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>${maven.compiler.plugin}</version>
- <configuration>
- <source>${jdk}</source>
- <target>${jdk}</target>
- <encoding>${encoding}</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>${maven.surefire.plugin}</version>
- <configuration>
- <testFailureIgnore>
- true<!-- 因为要执行Cucumber -->
- </testFailureIgnore>
- <!--<includes>-->
- <!--<include>**/TestRun.java</include>-->
- <!--</includes>-->
- </configuration>
- </plugin>
- <!--<plugin>-->
- <!--<groupId>org.apache.maven.plugins</groupId>-->
- <!--<artifactId>maven-surefire-plugin</artifactId>-->
- <!--<version>2.18.1</version>-->
- <!--<configuration>-->
- <!--<testFailureIgnore>true</testFailureIgnore>-->
- <!--<argLine>-Duser.language=en</argLine>-->
- <!--<argLine>-Xmx1024m</argLine>-->
- <!--<argLine>-XX:MaxPermSize=256m</argLine>-->
- <!--<argLine>-Dfile.encoding=UTF-8</argLine>-->
- <!--<useFile>false</useFile>-->
- <!--<includes>-->
- <!--<include>**/SSDTest.java</include>-->
- <!--</includes>-->
- <!--</configuration>-->
- <!--</plugin>-->
- <plugin>
- <groupId>net.masterthought</groupId>
- <artifactId>maven-cucumber-reporting</artifactId>
- <version>3.13.0</version>
- <executions>
- <execution>
- <id>execution</id>
- <phase>verify</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- <configuration>
- <projectName>cucumber-jvm-example</projectName>
- <outputDirectory>${project.build.directory}/reports/cucumber-reports</outputDirectory>
- <cucumberOutput>${project.build.directory}/reports/output.json</cucumberOutput>
- <parallelTesting>false</parallelTesting>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </project>
maven的pom.xml举例的更多相关文章
- (六)Maven之pom.xml文件简单说明
通过前面几部分知识,我们对maven已经有了初步的印象,就像Make的Makefile.Ant的build.xml一样,Maven项目的核心是pom.xml.POM(Project Object Mo ...
- maven 的 pom.xml 文件报错:ArtifactTransferException: Failure to transfer
因为maven下载依赖jar包时,特别慢,所以取消了下载过程,再次打开eclipse时,maven的pom.xml文件报错如下: ArtifactTransferException: Failure ...
- maven的pom.xml深入理解
maven的pom.xml的具体使用和各个xml标签的作用.这样设计的原理是什么? maven实战的第17章-18章是架构方面的知识
- Maven项目pom.xml文件简单解析
Maven项目pom.xml简单解析 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="h ...
- maven项目pom.xml第一行报错
maven项目pom.xml第一行报错 这是第一行:<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi= ...
- 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文件中 < ...
- SSH项目搭建(四)——Maven的pom.xml配置
史上最全的maven的pom.xml文件详解: https://www.cnblogs.com/qq765065332/p/9238135.html 下面的节点有不理解是啥意思的可以到上面链接的文章里 ...
- maven(4)------maven核心pom.xml文件常用元素分析
在maven项目中,pom文件是核心文件 pom.xml: <?xml version="1.0" encoding="UTF-8"?> <p ...
- 史上最全的maven的pom.xml文件详解(转载)
此文出处:史上最全的maven的pom.xml文件详解——阿豪聊干货 <project xmlns="http://maven.apache.org/POM/4.0.0" x ...
随机推荐
- UART串口通信
#include "sys.h" #include "delay.h" #include "usart.h" u8 rdata[]; UAR ...
- Python2.7-hashlib
hashlib模块,实现了支持多种不同哈希算法的接口,不同 hash 算法的构造函数就是算法名,返回的哈希对象都具有相同接口.哈希算法不是加密算法,所以下面提到的加密不是真的加密,因为真的加密需要能够 ...
- python3——print使用
print的初步认识:对于科班出身的或有相关经验的人来说,学习python是相当有趣的事,因为可以做日常任务, 比如自动备份你的MP3:可以做网站,如YouTube就是Python写的:可以做 ...
- Eclipse-设置保存时自动给变量加final
也是针对checkstyle的,在代码检查规范时,所有的变量必须是final.为了解决这个问题,通过以下的设置可以在eclipse保存时,自动给没有加final的变量加上final. Window-& ...
- # 2017-2018-2 20155319《网络对抗技术》Exp9 :Web安全基础
2017-2018-2 20155319<网络对抗技术>Exp9 :Web安全基础 实践过程 webgoat准备 从GitHub上下载jar包(老师的虚拟机中有 无需下载) 拷贝到本地,并 ...
- WPF编程,通过Path类型制作沿路径运动的动画另一种方法。
原文:WPF编程,通过Path类型制作沿路径运动的动画另一种方法. 版权声明:我不生产代码,我只是代码的搬运工. https://blog.csdn.net/qq_43307934/article/d ...
- EZ 2018 03 23 NOIP2018 模拟赛(五)
链接:http://211.140.156.254:2333/contest/65 这次Rating重回Rank18,我是20的守门员(滑稽) 这次题目和数据普遍偏水,我T2打错了一个变量名竟然过了所 ...
- 汇编 MOV -2
知识点: MOV指令 基址 内联汇编 把OD附加到资源管理器右键菜单 一.MOV指令 aaa=0x889977;//MOV DWORD PTR DS:[0x403018],0x8899 ...
- python 回溯法 记录
一直不是太理解回溯法,这几天集中学习了一下,记录如下. 回溯法有"通用的解题法"之称. 1.定义: 也叫试探法,它是一种系统地搜索问题的解的方法. 2.基本思想: 从一条路往前 ...
- C#中二进制、十进制和十六进制互相转换的方法
二进制在C#中无法直接表示,我们一般用0和1的字符串来表示一个数的二进制形式.比如4的二进制为"100".下面介绍C#里面用于进制转换的方法. 十进制转换为二进制(int--> ...