Why cms war is trying to create in platform module

Hi, When I run this command “mvn -Pseparate-dist”, it is trying to create cms war file under platform module which I created newly to separate cms and delivery app. Any Sugggestions?

Followed this doc : Create Separate Distributions for the Authoring and Delivery Applications - Bloomreach Experience - Open Source CMS

I see it is trying to copy /platform/cms/target/cms.war into the regular distribution. That should be just /cms/target/cms.war.
Are you executing from root folder? Does mvn -Pdist work? Do you have source>cms/target/cms.war</source> in the webapps-component.xml?


Hi jeroen,

Yes, I am executing it from root folder. mvn -Pdist also didn’t worked.

cms/target/cms.war” is not available in webapps-component.xml

You want me to add ?

You can compare that XML with this (which is one from a generated archetype project). Please try to understand what it is doing and change what is not working for you. E.g. is cms/target/cms.war actually built?

   <component xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2 http://maven.apache.org/xsd/component-1.1.2.xsd">