`
chenfeicqq
  • 浏览: 257304 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

修改Nexus的工作目录(sonatype-work)

阅读更多

 

最近搭建Maven本地私服,下载了内置Jetty的Nexus,发现按照网上介绍的方法尝试迁移Nexus的工作目录,发现有时有效,有时又无效,经过一下午的研究后,最终确定下面的解决方案。。

 

一、如果下载的是WAR包版,请修改:

%Nexus_HOME%/conf/nexus.properties

nexus-work=${bundleBasedir}/../../sonatype-work/nexus

 

二、如果下载的是内置Jetty版,请修改:

1、start-nexus方式启动

%Nexus_HOME%/conf/nexus.properties

nexus-work=${bundleBasedir}/../../sonatype-work/nexus

 

2、console-nexus方式启动

直接添加环境变量PLEXUS_NEXUS_WORK

 

建议:如果不建议有一个dos窗口的话,添加环境变量后,每次使用console-nexus的方式启动,好处是每次升级Nexus后不用修改配置文件。

 

 

测试环境:Win7 64位 + Nexus2.0.6

 

如果您有更好的方法,拍砖吧,大家一起进步,吼~。

 

原创:转载请注明出处http://chenfeicqq.iteye.com/blog/1595516

0
0
分享到:
评论

相关推荐

    sonatype-work\nexus

    sonatype-work\nexus.rar sonatype-work\nexus.rar sonatype-work\nexus.rar sonatype-work\nexus.rar

    sonatype-nexus-docker:Sonatype Nexus OSS 的 Docker 镜像

    /opt/sonatype-work -p 8081:8081 --name nexus griff/sonatype-nexus选项/环境变量该图像支持选项 NEXUS_WEBAPP_CONTEXT_PATH,您可以在运行图像时将其设置为环境变量,该图像设置 web 应用程序在启动服务器时使用...

    nexus-3.19.1-01-win64

    最新版本的nexus, (请大家重点看这里:是windows版本的),因为官网下载困难,通过一些途径给下载了下来,以方便大家自行搭建私服,需要的自取哦

    nexus-3.7.1-02-win64.zip

    sonatype-work (下载的文件会放到这个目录下) 运行 cmd cd D:\Program Files\nexus-3.7.1-02-win64\nexus-3.7.1-02\bin nexus.exe /run 另外 运行nexus.exe /install Nexus Service命令,可以...

    Nexus spring common jdbc-driver 库

    三方库 spring3 common-* jdbc-driver等等 附件解压到 {NEXUS}\sonatype-work\nexus\storage

    nexus-3.24.0-win64.zip

    nexus下载慢的朋友或者下载失败的朋友福利 如何安装:https://blog.csdn.net/tkgup/article/details/107133603 登录时的密码不再是admin123,安装后生成在nexus-3.24.0\sonatype-work\nexus3下的admin.password中

    nexus-gitlab-token-auth-plugin:使用 Gitlab 用户令牌的 Nexus 身份验证

    在 sonatype-work/nexus/plugin-repository 下解压包 (target/nexus-gitlab-token-auth-plugin-0.1.0-SNAPSHOT-bundle.zip) 将sample/gitlab-plugin.xml复制并编辑到: sonatype-work/nexus/conf/gitlab-plugin.xml...

    C:\Users\issuser\Desktop\nexus-win版和unix版本组合.zip

    maven 搭建nexus私服仓库,解压压缩文件放到D盘下,配置环境量,修改配置文件中D:\nexus-...还是不行的话,查看一下日志分析报错找到原因,日志路径是:D:\nexus-2.12.0-01-bundle\sonatype-work\nexus\logs\nexus.log

    nexus-3.13.0-01-unix.tar.gz

    unix nexus-3.13.0-01下载地址,也可以去官网下载 https://download.sonatype.com/nexus/3/latest-unix.tar.gz

    使用Nexus2搭建Maven私服配置说明.doc

    安装Nexus由于服务器为window 2003 x86版本的,不能支持nexus 3.0,下载2.13版本的文件解压到指定文件夹中,加压后nexus文件中包含,两个文件夹:sonatype-work(私服上的文件默认存放路径)和nexus-2.13.0-01...

    【Nexus】搭建maven私服

    想要搭建私服首先要下载Nexus 将下载好的包通过xftp放进服务器 [root@iZ2zeii2ibu8vy8dafd06xZ software]# ls nexus-3.13.0-01-unix.tar....nexus-3.13.0-01 nexus-3.13.0-01-unix.tar.gz sonatype-work 修改配置文件

    nexus-3.18.1-01-win64

    windows nexus3.18下载地址,也可以去官网下载 https://download.sonatype.com/nexus/3/latest-win64.zip

    nexus 安装文件 版本3.14-win64

    nexus 安装文件,版本3.14 win64,里边有安装说明!欢迎下载使用!

    Nexus Repository Manager OSS 2.14.21

    Nexus Repository OSS is distributed with Sencha Ext JS pursuant to a FLOSS Exception agreed upon between Sonatype, Inc. and Sencha Inc. Sencha Ext JS is licensed under GPL v3 and cannot be ...

    linux-for-work:『关于使用 Linux 构建企业基础设施的一切』 示例代码

    包管理chap05 - SELinuxchap06 - MySQL 和 Postfixchap07 - Apache Web 服务器chap08 - Apache Tomcatchap09 - Subversion 和 git第10章 - Redmine问题管理系统第 11 章 - Sonatype Nexus 工件存储库第 12 章 - 与 ...

Global site tag (gtag.js) - Google Analytics