修改pom文件,添加与上传中央仓库相关的配置
This commit is contained in:
parent
450d8c4e09
commit
6c0b3a3db7
63
pom.xml
63
pom.xml
|
@ -7,13 +7,20 @@
|
|||
<artifactId>autest</artifactId>
|
||||
<version>2.0.0-debug</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>
|
||||
|
@ -47,7 +54,7 @@
|
|||
<artifactId>poi-scratchpad</artifactId>
|
||||
<version>3.17</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- xml解析工具 -->
|
||||
<dependency>
|
||||
<groupId>dom4j</groupId>
|
||||
|
@ -64,7 +71,7 @@
|
|||
<artifactId>commons-lang3</artifactId>
|
||||
<version>3.7</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- 图片识别工具 -->
|
||||
<dependency>
|
||||
<groupId>net.sourceforge.tess4j</groupId>
|
||||
|
@ -123,14 +130,36 @@
|
|||
</dependency>
|
||||
|
||||
<!-- TestNG依赖 -->
|
||||
<dependency>
|
||||
<groupId>org.testng</groupId>
|
||||
<artifactId>testng</artifactId>
|
||||
<version>7.3.0</version>
|
||||
<scope>test</scope>
|
||||
<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>
|
||||
<url>https://gitee.com/pyqone/autest/tree/master</url>
|
||||
</scm>
|
||||
<!-- 开发者信息 -->
|
||||
<developers>
|
||||
<developer>
|
||||
<name>彭宇琦</name>
|
||||
<email>465615774@qq.com</email>
|
||||
<url>>https://gitee.com/pyqone</url>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- 生成javadoc -->
|
||||
|
@ -169,10 +198,10 @@
|
|||
</plugin>
|
||||
<!-- 打包插件,jar包包含依赖包 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>2.4.1</version>
|
||||
<executions>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>2.4.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
|
@ -183,4 +212,14 @@
|
|||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<distributionManagement>
|
||||
<snapshotRepository>
|
||||
<id>ossrh</id>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
</snapshotRepository>
|
||||
<repository>
|
||||
<id>ossrh</id>
|
||||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
</project>
|
||||
|
|
Loading…
Reference in New Issue