test-traivs-deploy

测试利用travis做maven deploy

License

License

GroupId

GroupId

com.hb0730
ArtifactId

ArtifactId

test-traivs-deploy
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

test-traivs-deploy
测试利用travis做maven deploy

Download test-traivs-deploy

How to add to project

<!-- https://jarcasting.com/artifacts/com.hb0730/test-traivs-deploy/ -->
<dependency>
    <groupId>com.hb0730</groupId>
    <artifactId>test-traivs-deploy</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.hb0730/test-traivs-deploy/
implementation 'com.hb0730:test-traivs-deploy:1.0.0'
// https://jarcasting.com/artifacts/com.hb0730/test-traivs-deploy/
implementation ("com.hb0730:test-traivs-deploy:1.0.0")
'com.hb0730:test-traivs-deploy:jar:1.0.0'
<dependency org="com.hb0730" name="test-traivs-deploy" rev="1.0.0">
  <artifact name="test-traivs-deploy" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.hb0730', module='test-traivs-deploy', version='1.0.0')
)
libraryDependencies += "com.hb0730" % "test-traivs-deploy" % "1.0.0"
[com.hb0730/test-traivs-deploy "1.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

travis deploy maven test

利用Travis CI/CD自动化maven deploy

.tarvis.yml

.tarvis.yml 文件主要是tarvis构建文件,其中节点after_deploy在deploy后去执行bin/deploy.sh脚本

settings.xml

settings.xml主要是配置maven的server节点以便deploy

1

2

参考

travis-deploy配置 deploying-maven-artifacts-from-travis Complete guide to continuous deployment to maven central from Travis CI.

当发布release时,如果是本地是local会出现解密失败,所以放弃此方式自动部署 4746

Versions

Version
1.0.0