检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
取值范围: 只能使用小写英文字符及数字,字符串长度为1-32位。 默认取值: 不涉及。 表2 Query参数 参数 是否必选 参数类型 描述 file_name 是 String 参数解释: 用于模糊搜索的文件名称。 约束限制: 不涉及。 取值范围: 只能使用中英文字符,数字,下划线(_),连字符(-)和点(
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
USERNAME:上传文件使用的用户名,可以从Debian配置文件中获取,参考示例图片。 PASSWORD:上传文件使用的密码,可以从Debian配置文件中获取,参考示例图片。 repoUrl:上传文件使用的url,可以从Debian配置文件中获取,参考示例图片。 “DEBIAN_PACKAGE_NAME”、“
USERNAME:上传文件使用的用户名,可以从Debian配置文件中获取,参考示例图片。 PASSWORD:上传文件使用的密码,可以从Debian配置文件中获取,参考示例图片。 repoUrl:上传文件使用的url,可以从Debian配置文件中获取,参考示例图片。 “DEBIAN_PACKAGE_NAME”、“
通过编译构建将snapshot组件发布到Maven私有依赖库 进入代码仓库,打开pom.xml文件,定义待上传组件的坐标信息(GAV信息)。 构建任务执行时会根据定义识别上传到私有依赖库的组件属性信息。 version:版本号,默认上传release组件。如果需要上传snapshot组件,version值以“-SNAPSHOT”结尾即可,如“1
"password": "********", "domain": { "name": "domainname" } }
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
releaseIdeRepositoryPair:= "testmaven" snapshotIdeRepositoryPair:= "testmaven" descriptionIdeRepositoryPair:= "12" includesPatternIdeRepositoryPair:= "**/*"
仓库id,格式为{region}{domainId}{format}_{sequence}。可以从私有依赖库首页->仓库概览->仓库地址 url 中获取,最后两个"/"中间的字符串即为仓库id。 约束限制: 不涉及。 取值范围: 根据仓库id格式中region, domainId需要为有效值,fo
InternalServerError 表明服务端能被请求访问到,但是不能理解用户的请求。 501 Not Implemented 服务器不支持请求的功能,无法完成请求。 502 Bad Gateway 充当网关或代理的服务器,从远端服务器接收到了一个无效的请求。 503 ServiceUnavailable 被请求的服务无效。
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
"projects": [ { "domain_id": "65382450e8f64ac0870cd180d14e684b", "is_domain": false, "parent_id": "
Artifact中的Maven私有依赖库 在日常开发过程中,开发人员时常需要共享一些组件给团队其他人员,私有依赖库则作为类似共享站的作用(同时也能储存组件),将需要共享的私有组件上传到私有依赖库,其他人员则可以便捷的从私有依赖库获取到这些组件。 本文向您介绍如何上传私有组件到CodeArts
ject/{project_id}/repository中project_id变量的值。 约束限制: 不涉及。 取值范围: 只能使用小写英文字符及数字,字符串长度为32位。 默认取值: 不涉及。 请求参数 无 响应参数 状态码: 200 表2 响应Body参数 参数 参数类型 描述
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
package_type JFrog源仓库类型,配置为“maven”。 repo_type JFrog源仓库类型,配置为“jfrog”。 domain JFrog源仓库地址,例如“http://本地JFrog仓库IP:本地JFrog仓库端口/artifactory”。 repo 需要迁