Details
-
Bug
-
Status: Closed
-
High
-
Resolution: Fixed
-
2.18.00
-
None
-
Maven 3
Description
Using Maven 3 on a new CMS 7.5 project created with the archetype generates some warnings:
[WARNING] Some problems were encountered while building the effective model for org.onehippo.faqbase:faqbase-content:jar:1.01.00-SNAPSHOT
[WARNING] 'repositories.repository.layout' for hippo.legacy uses the unsupported value 'legacy', artifact resolution might fail. @ org.onehippo.cms7:hippo-cms7-project:2, line 304, column 15
[WARNING] 'repositories.repository.layout' for jpox.legacy uses the unsupported value 'legacy', artifact resolution might fail. @ org.onehippo.cms7:hippo-cms7-project:2, line 326, column 15
[WARNING] Some problems were encountered while building the effective model for org.onehippo.faqbase:faqbase-cms:war:1.01.00-SNAPSHOT
[WARNING] 'repositories.repository.layout' for hippo.legacy uses the unsupported value 'legacy', artifact resolution might fail. @ org.onehippo.cms7:hippo-cms7-project:2, line 304, column 15
[WARNING] 'repositories.repository.layout' for jpox.legacy uses the unsupported value 'legacy', artifact resolution might fail. @ org.onehippo.cms7:hippo-cms7-project:2, line 326, column 15
[WARNING] Some problems were encountered while building the effective model for org.onehippo.faqbase:faqbase-site:war:1.01.00-SNAPSHOT
[WARNING] 'repositories.repository.layout' for hippo.legacy uses the unsupported value 'legacy', artifact resolution might fail. @ org.onehippo.cms7:hippo-cms7-project:2, line 304, column 15
[WARNING] 'repositories.repository.layout' for jpox.legacy uses the unsupported value 'legacy', artifact resolution might fail. @ org.onehippo.cms7:hippo-cms7-project:2, line 326, column 15
[WARNING] Some problems were encountered while building the effective model for org.onehippo.faqbase:faqbase:pom:1.01.00-SNAPSHOT
[WARNING] 'repositories.repository.layout' for hippo.legacy uses the unsupported value 'legacy', artifact resolution might fail. @ org.onehippo.cms7:hippo-cms7-project:2, line 304, column 15
[WARNING] 'repositories.repository.layout' for jpox.legacy uses the unsupported value 'legacy', artifact resolution might fail. @ org.onehippo.cms7:hippo-cms7-project:2, line 326, column 15
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
It is because Maven 3 doesn't support Maven 1 repositories anymore. And I don't think Maven 1 repositories are useful for CMS 7.5, so let's remove them. The patch is attached; apply it on org.onehippo.cms7:hippo-cms7-release.