maven私有仓库配置问题 (OD-268)
兰建青 opened 5 years ago

我在onedev上上传了一个spring boot工程,但是打包的时候报错了,原因是少了jar包,我本地用的是公司的私有仓库,项目打包和启动都没有问题;onedev的私有仓库或者阿里云镜像在哪里配置呢?我一直找不到,请大神多多指教!!!

  • Robin Shen changed state to 'Closed' 5 years ago
    Previous Value Current Value
    Open
    Closed
  • Robin Shen commented 5 years ago

    OneDev的build运行在你指定的docker容器内。如果需要配置maven镜像的话,应该是需要做一个特别的docker image,定制里面的/root/.m2/settings.xml。然后让你的build使用这个docker image。

  • dreamsaddle commented 5 years ago

    @lanjianqing 你好,请问你的编译文件可以给我参考一下吗?我这一直不能打包。

    目前我这 CI是没问题,但是CD我就不知道怎么弄了。 image.png

issue 1/1
Priority
Normal
Assignee
Issue Votes (1)
Watchers (4)
Reference
OD-268
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover