当前位置: 首页 > news >正文

免费的毕业论文网站怎么让关键词快速上首页

免费的毕业论文网站,怎么让关键词快速上首页,简单新闻网站模板,沙朗镇做网站公司之前有位大佬问我,他说有个第三方的Jar包,在idea导出库中使用,现在要部署上线测试,要如何导进去打包。 我说,不用那么麻烦,搞个Nexus私服,将Jar上传上去,然后配置Maven的setting文件…

之前有位大佬问我,他说有个第三方的Jar包,在idea导出库中使用,现在要部署上线测试,要如何导进去打包。
我说,不用那么麻烦,搞个Nexus私服,将Jar上传上去,然后配置Maven的setting文件指向私服就可以了。

下面介绍Nexus的安装和配置使用。
在这里插入图片描述
环境:

[root@localhost bin]# java -version
openjdk version "1.8.0_382"
OpenJDK Runtime Environment (build 1.8.0_382-b05)
OpenJDK 64-Bit Server VM (build 25.382-b05, mixed mode)

[root@localhost bin]# cat /proc/version
Linux version 3.10.0-1160.71.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Jun 28 15:37:28 UTC 2022
1、安装

下载安装包:

下载地址

在这里插入图片描述

创建目录:

 mkdir nexus

移动压缩包:

mv nexus-3.62.0-01-unix.tar.gz  ./nexus

解压:

tar -xvf nexus-3.62.0-01-unix.tar.gz

在这里插入图片描述
创建目录:

mkdir /usr/local/nexus

移动解压后的文件到新建的目录:

mv nexus-3.62.0-01 /usr/local/nexus/

切换到bin目录:

/usr/local/nexus/nexus-3.62.0-01/bin

在这里插入图片描述

编辑配置文件nexus.rc:

run_as_user="root"

启动nexus:

./nexus run &

在这里插入图片描述
访问:http://192.168.213.5:8081/

在这里插入图片描述

登录:
在这里插入图片描述
提示登录密码在:/usr/local/nexus/sonatype-work/nexus3/admin.password

点击左侧的browse,有各种repository的type:

  • Group:这是一个仓库聚合的概念,用户仓库地址选择Group的地址,即可访问Group中配置的所有仓库资源,访问顺序取决于配置顺序3.x默认Releases,Snapshots,Central,可在web页面配置在web界面点开
  • Hosted:私有仓库,专门用来存储我们自己生成的jar文件
  • Snapshots:本地项目的快照仓库
  • Releases: 本地项目发布的正式版本
  • Proxy:公网上发布的jar 例如:spring
  • Central:中央仓库

在这里插入图片描述

配置maven的setting.xml:

在maven的setting.xml文件中配置私服配置,这种方式配置后所有本地使用该配置的maven项目的pom文件都无需配置私服下载相关配置
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"><servers><server><id>nexus-releases</id><username>deployment</username><password>deployment123</password></server><server><id>nexus-snapshots</id><username>deployment</username><password>deployment123</password></server></servers><mirrors><mirror><id>nexus-releases</id><mirrorOf>*</mirrorOf><url>http://192.168.213.5:8081/content/groups/public/</url><!-- <url>http://repo1.maven.org/maven2/</url> --></mirror><mirror><id>nexus-snapshots</id><mirrorOf>*</mirrorOf><url>http://192.168.213.5:8081/content/repositories/snapshots/</url> <!-- <url>http://repo1.maven.org/maven2/</url> --></mirror></mirrors><profiles><profile><id>nexus</id><repositories>                            <repository><id>nexus-releases</id><url>http://192.168.213.5:8081/content/groups/public/</url> <!-- <url>http://repo1.maven.org/maven2/</url> --><releases><enabled>true</enabled></releases><snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots></repository><repository><id>nexus-snapshots</id><url>http://192.168.213.5:8081/content/repositories/snapshots/</url> <!-- <url>http://repo1.maven.org/maven2/</url> --><releases><enabled>true</enabled></releases><snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots></repository></repositories><pluginRepositories><pluginRepository><id>nexus-releases</id><url>http://192.168.213.5:8081/content/groups/public/</url> <!-- <url>http://repo1.maven.org/maven2/</url> --><releases><enabled>true</enabled></releases><snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots></pluginRepository><pluginRepository><id>nexus-snapshots</id><url>http://192.168.213.5:8081/content/repositories/snapshots/</url> <!-- <url>http://repo1.maven.org/maven2/</url> --><releases><enabled>true</enabled></releases><snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots></pluginRepository>				</pluginRepositories></profile></profiles><activeProfiles><activeProfile>nexus</activeProfile><!--<activeProfile>dev</activeProfile>--></activeProfiles></settings>

在这里插入图片描述

http://www.tj-hxxt.cn/news/2947.html

相关文章:

  • 成华区住房和城乡建设厅网站免费网站排名优化在线
  • wordpress js跳转汉中网站seo
  • 企业网站轮播图怎么做济南优化网站关键词
  • 网页设计大作业模板厦门seo推广
  • 做网站做得好的公司百度快速收录提交工具
  • 政府网站建设水平网络营销策划案
  • 大站网站建设seo查询 站长之家
  • 用jsp做网站一般会用到什么软件seo站内优化培训
  • 深圳手机端网站建设专业公司网站服务器
  • 怎么做网站不会被屏蔽免费建站网站
  • .top和网站宝鸡网站seo
  • 上海杨浦网站建设免费网站流量统计
  • 做彩页素材的网站今日国内最新新闻
  • 怎么做班级网站百度官网网站首页
  • 太古楼角原网站建设如何建立网站服务器
  • 政府工程招标网站杭州seo代理公司
  • 路北网站制作一键关键词优化
  • 淘宝客网站建设任务成人培训机构
  • 用时时彩做网赚的网站是真的吗单页网站怎么优化
  • 建设网站时候应该注意哪些商丘网站seo
  • 网站做跳转谷歌seo运营
  • 日本插画网站有哪些扫描图片找原图
  • 网站里面发消息怎么做超链接网站查询器
  • vs 网站项目网络营销专业是干嘛的
  • 一个企业为什么要建设网站app推广代理
  • 万州哪里有做网站的最新军事新闻今日最新消息
  • 做泥水上哪个网站找事做免费大数据平台
  • 好用的在线设计网站百度关键词优化曝光行者seo
  • 浙江做网站公司排名国外搜索引擎优化
  • 企业网站建设预算表站外推广