小编Ata*_*rus的帖子

将存储库从Sonatype Nexus 1.9迁移到3.0

我们目前有一个Nexus存储库(版本1.9),用于将我们的Maven工件存储在旧服务器中.在我们的新服务器中,我们安装了最新版本的Nexus存储库(3.0.2).显然,版本1.9根据Maven坐标树(org/apache/commons/...)直接在文件系统中存储Maven工件,但版本3.0.2将工件存储在弹性搜索存储库中,作为blob对象.

所以我的问题是:如何将所有工件从版本1.9轻松迁移到新版本3.0.2?迁移工具应该附带3.1版本,但我担心它只涉及从2.x到3.1的迁移.它是这个进程的一组shell命令吗?

migration repository nexus

4
推荐指数
1
解决办法
1068
查看次数

JHipster注册表:构建错误

我尝试构建并运行jhipster注册表,但是我收到一个错误:

mvn package -Pprod
Run Code Online (Sandbox Code Playgroud)

我在测试中遇到以下错误:

Tests in error: 
  SwaggerBasePathRewritingFilterTest.<init>:20 »  Unresolved compilation problem...
  SwaggerBasePathRewritingFilterTest.<init>:20 »  Unresolved compilation problem...
  SwaggerBasePathRewritingFilterTest.<init>:20 »  Unresolved compilation problem...
  SwaggerBasePathRewritingFilterTest.<init>:20 »  Unresolved compilation problem...
  AccountResourceTest.setup:33 » NoClassDefFound HttpServletRequest
  AccountResourceTest.setup:33 » NoClassDefFound HttpServletRequest
  AccountResourceTest.setup:33 » NoClassDefFound HttpServletRequest
  AccountResourceTest.setup:33 » NoClassDefFound HttpServletRequest
  UserJWTControllerTest.setup:39 » NoClassDefFound HttpServletResponse
  UserJWTControllerTest.setup:39 » NoClassDefFound HttpServletResponse
  UserJWTControllerTest.setup:39 » NoClassDefFound HttpServletResponse
  ExceptionTranslatorTest.setup:37 » NoClassDefFound HttpServletRequest
  ExceptionTranslatorTest.setup:37 » NoClassDefFound HttpServletRequest
  ExceptionTranslatorTest.setup:37 » NoClassDefFound HttpServletRequest
  ExceptionTranslatorTest.setup:37 » NoClassDefFound HttpServletRequest
  ExceptionTranslatorTest.setup:37 » NoClassDefFound HttpServletRequest
Run Code Online (Sandbox Code Playgroud)

如果我跳过测试,构建就可以了,但是当我启动时遇到了同样的错误:

./mvnw -Pdev

2018-02-16 …
Run Code Online (Sandbox Code Playgroud)

jhipster-registry

2
推荐指数
2
解决办法
2579
查看次数

标签 统计

jhipster-registry ×1

migration ×1

nexus ×1

repository ×1