无法为 Liferay 7.2-rc2 创建工作区

Can not create workspace for Liferay 7.2-rc2

我正在尝试为 7.2-rc2 创建一个工作区,但没有成功。

我在 Liferay Developer Studio(版本 3.5.0)中为 7.1 创建了一个普通工作区,因为尚不支持 7.2。为了测试我是否可以 运行 正确编码,我在 Developer Studio 中创建了一个新的 mvc-portlet。

然后我在gradle.properties中设置liferay.workspace.target.platform.version=7.2.0。 Gradle 无法构建我的模块:

15:16:04: Executing task 'deploy'...

Task :wrapper

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/4.10.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 0s 1 actionable task: 1 executed

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/4.10.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2s Could not find com.liferay.portal:release.portal.bom:7.2.0. Searched in the following locations: - https://repo.maven.apache.org/maven2/com/liferay/portal/release.portal.bom/7.2.0/release.portal.bom-7.2.0.pom - https://repo.maven.apache.org/maven2/com/liferay/portal/release.portal.bom/7.2.0/release.portal.bom-7.2.0.pom - https://repository-cdn.liferay.com/nexus/content/groups/public/com/liferay/portal/release.portal.bom/7.2.0/release.portal.bom-7.2.0.pom - https://repository-cdn.liferay.com/nexus/content/groups/public/com/liferay/portal/release.portal.bom/7.2.0/release.portal.bom-7.2.0.pom Required by: project :modules:test 15:16:07: Task execution finished 'deploy'.

我不认为弃用警告有错。

我实际上必须设置哪些设置才能获得 7.2 的所有必要依赖项?

看来7.2.0-rc2或rc3还没有上传到apache maven中央仓库。我也在寻找具有这些工件的 Maven 存储库。

通过更新现有的eclipse,您可以构建7.2 插件。使用以下 URL 从 liferay 更新 eclipse。

Install Liferay IDE