Issue
-
We have observed a couple of errors, while building our project for DXP 7.3 u36, since there are libraries missing.
-
Especially the library com.liferay.petra.string which is missing for u36.
-
Are those libraries missing by accident or are they just not supported anymore?
Environment
- Liferay DXP 7.3 u36
Resolution
- The reported case is a known issue with the BOM of 7.3.10-u36.
- Our team has already uploaded a fixed BOM which is accessible from repository.liferay.com.
- Please make sure that you use this repository as your source, since there is a delay to the content from repository.liferay.com being propagated to repository-cdn.liferay.com, e.g. 24 hours minimum.
- The Maven Repository is part out of our control because the maven team is responsible for syncing any new releases. Since this may not be as frequent, our recommendation is that customers should download the release artifacts/dependencies from repository.liferay.com. This will give you the most up to date releases reliably.
- You should also have the below as your first repository listed in settings.gradle:
maven {
url "https://repository.liferay.com/nexus/content/groups/public"
} - By default, workspace will add mavenCentral along with the Liferay repos, but this can be disabled by setting the below property in gradle.properties:
liferay.workspace.default.repository.enabled=false
- So our recommendation is:
- Keep the settings.gradle with the listing for the Liferay repos in place
- Add the above property to the gradle.properties
- These two steps should ensure that you load from the Liferay repositories.