摘要:1、在maven > conf的settings.xml配置文件中的servers添加登录私服第三方登录信息 <server> <id>thirdparty</id> <username>admin</username> <!--nexus登陆账号 --> <password>admin123</p
阅读全文
摘要:安装第三方jar包到本地仓库 1、准备架包 进入jar包所在目录运行 mvn install:install-file -DgroupId=com.alibaba -DartifactId=fastjson -Dversion=1.1.37 -Dfile=fastjson-1.1.37.jar -D
阅读全文
摘要:提示:在操作本案列之前需要安装maven+nexus! 1、下载 第一步: 配置maven > conf > settings.xml 文件 在文件servers标签里添加代码: <server> <id>releases</id> <username>admin</username> <passw
阅读全文
摘要:首先从 http://nexus.sonatype.rog/downloads 下载最新版的Nexus 1、个人云盘下载: 链接:https://pan.baidu.com/s/14XpQhCKWQxUUeY9q2yHaHg 提取码:tjwk 2、将文件nexus-2.12.0-01-bundle.
阅读全文
摘要:创建maven web工程 在pom.xml中导入依赖: <dependencies> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version>
阅读全文
摘要:maven配置了-DarchetypeCatalog=internal表示在没有网络情况下,也可以使用历史用过的maven骨架 操作步骤:idae 点击 File | Settings | Build, Execution, Deployment | Build Tools | Maven | Ru
阅读全文
摘要:这里以oracle为例 1、准备架包 ojdbc8-12.2.0.1.jar 2、导入指令 mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc8 -Dversion=12.2.0.1 -Dpackaging=jar -Df
阅读全文