Hi,
Hippo CMS runs locally with profile cargo.run but I am looking to use two profiles which ought to use profile id cargo.run. This id cargo.run is apparently required to support Hippo Application loading up.
The profile id cargo.run is just a name, the more important point to is that you need to add and configure cargo-maven2-plugin within your profile.
So I suggest you create 2 different profiles cargo.local and cargo.dev, then add and configure cargo-maven2-plugin in the same manner as Hippo guy already did with cargo.run profile.
You can define additional ‘fragment’ profiles like cargo.local or
cargo.dev which you then combine with the cargo.run profile.
Each of these additional profiles can extend the cargo.run profile
and cargo-maven2-plugin configuration with additional properties,
dependencies, etc.
You also may want/need to use the Maven special/magic attributes
combine.children=“append” or combine.self=“override” [1].
Then you can use mvn -P cargo.run,cargo.local to run the combined effect
of these profiles.