cn.canos:canos-guava

Canos Root Pom Project. Every Canos Project must explicitly or implicitly extends from this pom.

License

License

Categories

Categories

Guava General Purpose Libraries Utility
GroupId

GroupId

cn.canos
ArtifactId

ArtifactId

canos-guava
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

Canos Root Pom Project. Every Canos Project must explicitly or implicitly extends from this pom.

Download canos-guava

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
com.google.guava : guava jar
org.slf4j : slf4j-api jar

test (2)

Group / Artifact Type Version
junit : junit jar
org.slf4j : slf4j-jdk14 jar

Project Modules

There are no modules declared in this project.

canos-super-rule

super rule for canos java projects

推送到maven中央仓储步骤

  1. 更新本地maven配置
  <servers>
    <server>
      <id>ossrh</id>
      <username>{username}</username>
      <password>{password}</password>
    </server>
  </servers>
  1. 安装到本地仓储(注意,这个安装到本地的包不能直接部署到中行仓储)
mvn clean install
  1. 部署到中央仓储(需要在这个命令里面生产签名)
mvn clean deploy -Dgpg.skip=false

更新 2019-01-25

继承自super-rule的项目,每次maven clean install的时候,都要输入gpg密钥,这个比较麻烦。

因此,增加如下配置,默认跳过此插件。

<configuration>
    <skip>${gpg.skip}</skip>
</configuration>

需要push到maven中央仓储的时候,再从命令行使此值为true

cn.canos

Versions

Version
1.0.1
1.0.0