Missing dependency after upgrade to version 15

Hello,

I am currently upgrading Bloomreach from version 14.7.22 to version 15.7.0

When I am starting the application I get an error related to a missing dependency (hippo-addon-channel-manager) on the project hippo-addon-channel-manager-translations. Is this a known issue while upgrading to version 15?

Here is the error from the logs:

javax.jcr.RepositoryException: unchecked exception: org.onehippo.cm.model.impl.exceptions.MissingDependencyException: Project 'hippo-addon-channel-manager-translations' has a missing dependency 'hippo-addon-channel-manager'
at org.hippoecm.repository.HippoRepositoryFactory.getHippoRepository(HippoRepositoryFactory.java:161) ~[hippo-repository-connector-15.7.0.jar:15.7.0]
at org.hippoecm.repository.RepositoryServlet.init(RepositoryServlet.java:207) [hippo-repository-servlets-15.7.0.jar:15.7.0]
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1106) [catalina.jar:9.0.75]
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1063) [catalina.jar:9.0.75]
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:960) [catalina.jar:9.0.75]
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4673) [catalina.jar:9.0.75]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4980) [catalina.jar:9.0.75]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.75]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:683) [catalina.jar:9.0.75]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:658) [catalina.jar:9.0.75]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:662) [catalina.jar:9.0.75]
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1023) [catalina.jar:9.0.75]
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1910) [catalina.jar:9.0.75]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]

Hi,

I found the reason why I was getting the missing dependency error on the logs.

In the cms pom.xml we were excluding the channel manager as follows:

 <dependency>
      <groupId>org.onehippo.cms7</groupId>
      <artifactId>hippo-package-cms-dependencies</artifactId>
      <type>pom</type>
      <exclusions>
        <exclusion>
          <groupId>org.onehippo.cms7</groupId>
          <artifactId>hippo-addon-channel-manager-frontend</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.onehippo.cms7</groupId>
          <artifactId>hippo-addon-channel-manager-repository</artifactId>
        </exclusion>
      </exclusions>
    </dependency>

Hi Razvan,

Great. Thanks for the confirmation of this. We are happy you are part of Bloomreach Developer’s Community. Looking forward to your continuous contribution towards our vibrant Bloomreach Community. Thank you