The dependency versions are not removed by Liferay Upgrade Planner

Issue

  • While upgrading code using Liferay Upgrade Planner, the dependency versions are not removed by Liferay Upgrade Planner after the step of "Remove Dependency Versions".

Environment

  • Liferay DXP 7.2
  • Liferay Dev Studio 3.6.2 and versions prior to 3.6.2

Resolution

  • In Liferay Developer Studio 3.6.2 and versions prior to 3.6.2, "Remove Dependencies Versions" task depends on "target.platform.index.sources". In order to make sure "Remove Dependencies Versions" works correctly, please set the following property in your gradle.properties
   target.platform.index.sources = true

Additional Information

这篇文章有帮助吗?
0 人中有 0 人觉得有帮助