Site Dependency Upgrade

Use Packaged Site Dependencies

In your project's site module, remove these "product dependencies"

<dependency>
  <groupId>org.onehippo.cms7.hst.dependencies</groupId>
  <artifactId>hst-server-dependencies</artifactId>
  <type>pom</type>
</dependency>
<dependency>
  <groupId>org.onehippo.cms7.hst.dependencies</groupId>
  <artifactId>hst-spring-dependencies</artifactId>
  <type>pom</type>
</dependency>
<dependency>
  <groupId>org.onehippo.cms7.hst.dependencies</groupId>
  <artifactId>hst-client-dependencies</artifactId>
  <type>pom</type>
</dependency>
<dependency>
  <groupId>org.onehippo.cms7.hst.client-modules</groupId>
  <artifactId>hst-cms-rest</artifactId>
</dependency>
<dependency>
  <groupId>org.onehippo.cms7.hst.client-modules</groupId>
  <artifactId>hst-page-composer</artifactId>
</dependency>
<dependency>
  <groupId>org.onehippo.cms7.hst.components</groupId>
  <artifactId>hst-security</artifactId>
</dependency>
<dependency>
  <groupId>org.onehippo.cms7</groupId>
  <artifactId>hippo-essentials-components-hst</artifactId>
</dependency>
<dependency>
  <groupId>org.onehippo.cms7</groupId>
  <artifactId>hippo-essentials-plugin-sdk-api</artifactId>
</dependency>

and ensure that below "dependency package" is present:

<dependency>
  <groupId>org.onehippo.cms7</groupId>
  <artifactId>hippo-package-site-dependencies</artifactId>
  <type>pom</type>
</dependency>

If either of the removed dependencies has a counterpart in the <dependencyManagement> section of the project's root pom.xml, that counterpart should be removed likewise.

Use Packaged Enterprise Site Dependencies

If your project is an enterprise project, i.e. the parent artifact of your project's root artifact is hippo-cms7-enterprise-release, add the following dependency to the site module:

<dependency>
  <groupId>com.onehippo.cms7</groupId>
  <artifactId>hippo-enterprise-package-site-dependencies</artifactId>
  <type>pom</type>
</dependency>

In the same pom.xml file, remove the following dependency, if present:

<dependency>
  <groupId>com.onehippo.cms7</groupId>
  <artifactId>hippo-addon-enterprise-site-toolkit-dependencies-server</artifactId>
  <type>pom</type>
</dependency>
Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?