0

嗨,我尝试在本地安装 nuxeo 源代码。但是在安装时出现以下错误。

请参阅下面的屏幕截图以查找有关错误的详细信息。

https://prnt.sc/ih6k3z

https://prnt.sc/ih6jy6

请帮我解决问题。

4

1 回答 1

1

我很少遇到 master 分支的问题,并且无法重现您的问题。但是,根据提交,可能会偶尔出现失败。建议你在今天的master上重试一下:

./clone.py master
mvn clean install -DskipTests -Pdistrib

构建 Nuxeo 源代码的一种更稳定的方法是使用标签(用于发布或快速跟踪),例如release-9.10,而不是使用 master:

./clone.py release-9.10
mvn clean install -DskipTests -Pdistrib

如果您不熟悉脚本clone.py,可以显示帮助消息。它为 Nuxeo、其附加组件和软件包保持一致的克隆:

$ ./clone.py --help
Usage: clone.py [options] [version|branch|tag]

Synopsis: ./clone.py master -a -m ""
          Clone or update the Nuxeo Platform source code to the master branch, including all addons and Nuxeo Packages

Clone or update Nuxeo Platform source code.

Options:
  -h, --help            show this help message and exit
  -r REMOTE_ALIAS       the Git alias of remote URL (default: origin)
  -a, --all             include 'optional' addons (default: False)
  -f FALLBACK_BRANCH, --fallback=FALLBACK_BRANCH
                        a branch to fallback on when the wanted branch doesn't exist locally neither remotely (default: none)
  -n, --nodrivemapping  deactivate current directory mapping to a virtual drive on Windows
  -m MARKETPLACE_CONF, --marketplace-conf=MARKETPLACE_CONF
                        the Marketplace configuration URL (default: None)
                        If set to '' (empty string), it defaults to 'https://raw.github.com/nuxeo/integration-scripts/master/marketplace.ini'
  --mp-only             clone only package repositories (default: False)
于 2018-03-12T09:32:01.343 回答