Nuxeo源代码安装Eroor

时间:2018-02-20 06:42:48

标签: nuxeo

您好我尝试在本地安装nuxeo源代码。但安装它时会出现以下错误。

请参阅以下屏幕截图,了解有关错误的详细信息。

https://prnt.sc/ih6k3z

https://prnt.sc/ih6jy6

请帮我解决这个问题。

1 个答案:

答案 0 :(得分:1)

我很少遇到主分支问题,无法重现您的问题。但是,根据提交,可能偶尔会出现故障。我建议你再次对今天的大师重试:

./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)