277 lines
7.6 KiB
XML
277 lines
7.6 KiB
XML
<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>com.gitee.pyqone</groupId>
|
||
<artifactId>autest</artifactId>
|
||
<version>2.0.0</version>
|
||
<packaging>jar</packaging>
|
||
|
||
<url>https://gitee.com/pyqone/autest</url>
|
||
<description>简化在测试工作中会使用到的代码,并提供工具类来辅助测试工作,提高测试工作的效率。</description>
|
||
<name>autest</name>
|
||
|
||
<properties>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
|
||
<java.version>1.8</java.version>
|
||
<maven.compiler.source>${java.version}</maven.compiler.source>
|
||
<maven.compiler.target>${java.version}</maven.compiler.target>
|
||
<maven.deploy.skip>true</maven.deploy.skip>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
<!-- selenium工具 -->
|
||
<dependency>
|
||
<groupId>org.seleniumhq.selenium</groupId>
|
||
<artifactId>selenium-java</artifactId>
|
||
<version>3.141.0</version>
|
||
</dependency>
|
||
|
||
<!-- csv读取工具 -->
|
||
<dependency>
|
||
<groupId>com.opencsv</groupId>
|
||
<artifactId>opencsv</artifactId>
|
||
<version>4.1</version>
|
||
</dependency>
|
||
|
||
<!-- office读取工具POI -->
|
||
<dependency>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi</artifactId>
|
||
<version>3.17</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi-ooxml</artifactId>
|
||
<version>3.17</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi-scratchpad</artifactId>
|
||
<version>3.17</version>
|
||
</dependency>
|
||
|
||
<!-- xml解析工具 -->
|
||
<dependency>
|
||
<groupId>org.dom4j</groupId>
|
||
<artifactId>dom4j</artifactId>
|
||
<version>2.1.3</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>jaxen</groupId>
|
||
<artifactId>jaxen</artifactId>
|
||
<version>1.1-beta-6</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-lang3</artifactId>
|
||
<version>3.7</version>
|
||
</dependency>
|
||
|
||
<!-- 图片识别工具 -->
|
||
<dependency>
|
||
<groupId>net.sourceforge.tess4j</groupId>
|
||
<artifactId>tess4j</artifactId>
|
||
<version>4.5.1</version>
|
||
</dependency>
|
||
|
||
<!-- json工具 -->
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>fastjson</artifactId>
|
||
<version>1.2.61</version>
|
||
</dependency>
|
||
|
||
<!-- 数据库连接依赖包 -->
|
||
<dependency>
|
||
<groupId>com.github.noraui</groupId>
|
||
<artifactId>ojdbc7</artifactId>
|
||
<version>12.1.0.2</version>
|
||
</dependency>
|
||
|
||
<!-- HttpClient 用于接口测试 -->
|
||
<dependency>
|
||
<groupId>org.apache.httpcomponents</groupId>
|
||
<artifactId>httpclient</artifactId>
|
||
<version>4.5.12</version>
|
||
</dependency>
|
||
|
||
<!-- 解析html -->
|
||
<dependency>
|
||
<groupId>org.jsoup</groupId>
|
||
<artifactId>jsoup</artifactId>
|
||
<version>1.13.1</version>
|
||
</dependency>
|
||
|
||
<!--spring aop + aspectj 切面 -->
|
||
<dependency>
|
||
<groupId>org.springframework</groupId>
|
||
<artifactId>spring-aop</artifactId>
|
||
<version>5.2.7.RELEASE</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework</groupId>
|
||
<artifactId>spring-core</artifactId>
|
||
<version>5.2.7.RELEASE</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.aspectj</groupId>
|
||
<artifactId>aspectjrt</artifactId>
|
||
<version>1.9.5</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.aspectj</groupId>
|
||
<artifactId>aspectjweaver</artifactId>
|
||
<version>1.9.5</version>
|
||
</dependency>
|
||
|
||
<!-- TestNG依赖 -->
|
||
<dependency>
|
||
<groupId>org.testng</groupId>
|
||
<artifactId>testng</artifactId>
|
||
<version>7.3.0</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<!-- 许可证信息 -->
|
||
<licenses>
|
||
<!-- Apache许可证 -->
|
||
<license>
|
||
<name>BSD 3-clause "New" or "Revised" License</name>
|
||
<url>https://opensource.org/licenses/BSD-3-Clause</url>
|
||
</license>
|
||
</licenses>
|
||
|
||
<!-- SCM信息 -> git在gitee上托管 -->
|
||
<scm>
|
||
<tag>master</tag>
|
||
<connection>scm:git:https://gitee.com/pyqone/autest.git</connection>
|
||
<developerConnection>scm:git:https://gitee.com/pyqone/autest.git</developerConnection>
|
||
<url>https://gitee.com/pyqone/autest.git</url>
|
||
</scm>
|
||
|
||
<!-- 开发者信息 -->
|
||
<developers>
|
||
<developer>
|
||
<name>彭宇琦</name>
|
||
<email>465615774@qq.com</email>
|
||
<url>>https://gitee.com/pyqone</url>
|
||
</developer>
|
||
</developers>
|
||
|
||
<build>
|
||
<plugins>
|
||
<!-- 生成javadoc -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-javadoc-plugin</artifactId>
|
||
<version>3.0.0</version>
|
||
<configuration>
|
||
<aggregate>true</aggregate>
|
||
<doclint>none</doclint>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<id>attach-javadocs</id>
|
||
<goals>
|
||
<goal>jar</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<!-- 生成sources源码包的插件 -->
|
||
<plugin>
|
||
<artifactId>maven-source-plugin</artifactId>
|
||
<version>2.4</version>
|
||
<configuration>
|
||
<attach>true</attach>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>jar-no-fork</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<!-- 打包插件,jar包包含依赖包 -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-shade-plugin</artifactId>
|
||
<version>2.4.1</version>
|
||
<executions>
|
||
<execution>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>shade</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<!-- 上传nexus系统插件 -->
|
||
<plugin>
|
||
<groupId>org.sonatype.plugins</groupId>
|
||
<artifactId>nexus-staging-maven-plugin</artifactId>
|
||
<version>1.6.7</version>
|
||
<extensions>true</extensions>
|
||
<configuration>
|
||
<serverId>oss-pyq-release</serverId>
|
||
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
||
<autoReleaseAfterClose>false</autoReleaseAfterClose>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-jar-plugin</artifactId>
|
||
<version>2.4</version>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-clean-plugin</artifactId>
|
||
<version>2.5</version>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<version>2.5.1</version>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-deploy-plugin</artifactId>
|
||
<version>2.7</version>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-gpg-plugin</artifactId>
|
||
<version>1.6</version>
|
||
<executions>
|
||
<execution>
|
||
<id>sign-artifacts</id>
|
||
<phase>verify</phase>
|
||
<goals>
|
||
<goal>sign</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
<distributionManagement>
|
||
<snapshotRepository>
|
||
<id>oss-pyq-release</id>
|
||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||
</snapshotRepository>
|
||
<repository>
|
||
<id>oss-pyq-release</id>
|
||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
||
</repository>
|
||
</distributionManagement>
|
||
</project>
|