Tobias Jeger pushed to branch feature/ESSENTIALS-1119 at cms-community / hippo-essentials
Commits: da6b0bed by Tobias Jeger at 2017-11-23T12:36:32+01:00 ESSENTIALS-1119 Refactor SEO plugin to use mavenDependency instruction Doing so removes the need to rebuild twice when installing this feature. - - - - - 2 changed files: - plugins/seo/src/main/resources/META-INF/seoPlugin_instructions.xml - plugins/seo/src/main/resources/plugin-descriptor.json Changes: ===================================== plugins/seo/src/main/resources/META-INF/seoPlugin_instructions.xml ===================================== --- a/plugins/seo/src/main/resources/META-INF/seoPlugin_instructions.xml +++ b/plugins/seo/src/main/resources/META-INF/seoPlugin_instructions.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright 2014-2015 Hippo B.V. (http://www.onehippo.com) + Copyright 2014-2017 Hippo B.V. (http://www.onehippo.com) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -19,6 +19,8 @@ xsi:schemaLocation="http://www.onehippo.org/essentials/instructions /instructions.xsd" xmlns="http://www.onehippo.org/essentials/instructions"> <instructionSet> + <mavenDependency groupId="org.onehippo.cms7" artifactId="hippo-plugin-seo-support" targetPom="site"/> + <mavenDependency groupId="org.onehippo.cms7" artifactId="hippo-plugin-seo-support-repository" targetPom="cms"/> <xml action="copy" source="instructions/seo-catalog-item.xml" target="/hst:hst/hst:configurations/hst:default/hst:catalog/essentials-catalog"/> <file action="copy" binary="true" source="instructions/seo.png" target="{{imagesRoot}}/essentials/catalog-component-icons/seo.png"/> </instructionSet> ===================================== plugins/seo/src/main/resources/plugin-descriptor.json ===================================== --- a/plugins/seo/src/main/resources/plugin-descriptor.json +++ b/plugins/seo/src/main/resources/plugin-descriptor.json @@ -30,21 +30,5 @@ "community" ] }, - "libraries": [], - "dependencies": [ - { - "@type": "dependency", - "groupId": "org.onehippo.cms7", - "artifactId": "hippo-plugin-seo-support", - "scope": "compile", - "targetPom": "site" - }, - { - "@type": "dependency", - "groupId": "org.onehippo.cms7", - "artifactId": "hippo-plugin-seo-support-repository", - "scope": "compile", - "targetPom": "cms" - } - ] + "libraries": [] } \ No newline at end of file View it on GitLab: https://code.onehippo.org/cms-community/hippo-essentials/commit/da6b0bedf33919393d0f833f37f79229c442cc86 --- View it on GitLab: https://code.onehippo.org/cms-community/hippo-essentials/commit/da6b0bedf33919393d0f833f37f79229c442cc86 You're receiving this email because of your account on code.onehippo.org.
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn