公司里一般都有自己的私服,用于管理封装的工具插件等,Nexus2主要是用于maven/gralde仓库的统一管理,Nexus3则添加了npm插件,可以对npm提供支持,其实用于npm仓库管理的还有一个工具sinopia,可惜的是早已停止更新。 下载安装 在官网下载Nexus Repository M ...
分类:
其他好文 时间:
2019-08-01 20:16:40
阅读次数:
472
alimaven aliyun maven http://maven.aliyun.com/nexus/content/groups/public/ central central Maven Repository Switchboard http://repo1.maven.org/maven2/... ...
分类:
其他好文 时间:
2019-07-31 21:37:28
阅读次数:
86
组件声明 在类上声明 @Component、@Configuration、@RestController、@Service、@Repository 等注解,表示这个类需要被注入IoC容器。 1、@Configuration 和 @Bean @Configuration 常用来和 @Bean 配合使用 ...
分类:
编程语言 时间:
2019-07-31 09:16:17
阅读次数:
123
解决Can't finish GitHub sharing process Successfully created project '' on GitHub, but initial push failed:Could not read from remote repository. 本人安装Gi ...
分类:
编程语言 时间:
2019-07-28 19:45:33
阅读次数:
125
介绍 ChartMuseum是一个用Go(Golang)编写的开源Helm Chart Repository服务器 ChartMuseum是一个用Go(Golang)编写的开源Helm Chart Repository服务器,支持云存储后端,包括Google云存储,Amazon S3,Microso ...
分类:
其他好文 时间:
2019-07-28 13:55:35
阅读次数:
414
区别 今天在撸SpringBoot的时候,突然对注解产生了混淆,@MapperScan和@ComponentScan都是扫描包,二者之间有什么区别呢? 首先,@ComponentScan是组件扫描注解,用来扫描@Controller @Service @Repository这类,主要就是定义扫描的路 ...
分类:
移动开发 时间:
2019-07-27 15:41:08
阅读次数:
314
在服务器上sudo git pull 的时候,报错 Please make sure you have the correct access rights and the repository exists. 解决步骤: 1. 输入 ssh-keygen -t rsa -C "bneglect" / ...
分类:
数据库 时间:
2019-07-26 22:51:43
阅读次数:
210
编写自定义SQL基于下面信息:1. SpringData JPA 在为Repository接口生成实现的时候,会查找是否有 "接口名称"+"Impl"的类,如果有的话,就把这个类的方法合并到要生成的实现当中。 假设:要为接口StudentRepository编写自定义sql查询。基于最前面的信息,要 ...
分类:
其他好文 时间:
2019-07-26 19:32:47
阅读次数:
103
参考:https://blog.csdn.net/jingtingfengguo/article/details/51892864,感谢老哥。 从码云克隆项目到新的服务器上,报错: Please make sure you have the correct access rights and the ...
分类:
数据库 时间:
2019-07-22 18:15:41
阅读次数:
116
工作中git常用操作记录,自己用的也不是特别熟练,希望大家多多指教,以后会继续完善。 1. 基础使用# git clone url <asName> 从现有的repository克隆到本地,最后的asName是别名,可选项 #新建本地仓库 (安装git后)在要创建git仓库repository的地方 ...
分类:
其他好文 时间:
2019-07-21 18:43:01
阅读次数:
77