dockers安装Nexus,指定访问路径(默认为/;在使用Nginx做反向代理时,最好指定访问路径),并在容器外持久化数据,避免Nexus容器升级后数据丢失。 安装并启动 docker run -d -p 8081:8081 --name nexus -v nexus-data:/nexus-da ...
分类:
其他好文 时间:
2020-07-13 21:14:21
阅读次数:
73
在build.gradle文件里 换程阿里云的即可: repositories { mavenLocal() maven { // url = 'http://nexus.vfinance.cn:9081/content/groups/public/' url = 'http://maven.ali ...
分类:
其他好文 时间:
2020-07-11 13:06:40
阅读次数:
128
pom.xml文件报错 { Failure to transfer org.springframework.boot:spring-boot-maven-plugin:pom:2.1.0.RELEASE from http://maven.aliyun.com/nexus/content/group ...
分类:
其他好文 时间:
2020-07-04 20:38:56
阅读次数:
61
去掉代理 2 去掉build.gradle中的 google,与jcenter,替换为阿里云 //google() //jcenter() 替换为 maven { url 'https://maven.aliyun.com/nexus/content/repositories/google' } m ...
分类:
移动开发 时间:
2020-07-02 00:02:16
阅读次数:
81
下载 https://www.sonatype.com/download-oss-sonatype TIPS: 推荐使用迅雷下载,用浏览器下载可能会失败。 安装 安装JDK 安装JDK的过程就不在这里缀述了。 解压下载的 Nexus Repository OSS tar -zxvf latest-u ...
分类:
系统相关 时间:
2020-07-01 22:02:32
阅读次数:
100
apply plugin: 'com.android.application' buildscript { repositories { maven{ url'http://maven.aliyun.com/nexus/content/groups/public/' } maven{ url'htt ...
分类:
移动开发 时间:
2020-07-01 12:50:02
阅读次数:
77
1.登录nexus 默认用户名和密码 admin admin123 2.点击上图配置图标 3.点击blob Stores 4.点击 create blob store 填写name 点击创建存储空间 5.创建仓库 hosted(私有仓库):用于发布个人开发的npm组件proxy(代理仓库):可以代理 ...
分类:
其他好文 时间:
2020-06-30 10:34:21
阅读次数:
115
在登录自有npm库的时候发现输入正确的账号密码,依然会报错 Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager" 在尝试网上提供方法后没有得到解决, 然后尝试输入一个错误的密码,发现得到的结果相同, ...
分类:
其他好文 时间:
2020-06-29 11:43:57
阅读次数:
549
添加如下配置到对应的pom.xml文件里<repositories> <repository> <id>nexus-snapshots</id> <url>http:/ipaddr:8081/nexus/content/repositories/snapshots</url> <snapshots> ...
分类:
其他好文 时间:
2020-06-29 11:28:58
阅读次数:
174
问题: 用AndroidStudio创建no Activity project,发现项目没有Sync成功,而且右键菜单new没有activity。 解决: 因为没有sync,需要修改下build.gradle,可以用阿里镜像: build.gradle repositories { //google ...
分类:
移动开发 时间:
2020-06-26 01:32:33
阅读次数:
246