These instructions assume that you have an Hippo project based on the Hippo project archetype, i.e. a Maven multiproject consisting of at least three submodules: cms, site and content.
<dependency>
<groupId>org.onehippo.forge.selectionplugins</groupId>
<artifactId>selectionplugins-addon-repository</artifactId>
</dependency>
<dependency>
<groupId>org.onehippo.forge.selectionplugins</groupId>
<artifactId>selectionplugins-addon-cms</artifactId>
</dependency>
Note: the correct accompanying version is managed from parent artifact org.onehippo.cms7:hippo-cms7-release
<dependency>
<groupId>org.onehippo.forge.selectionplugins</groupId>
<artifactId>selectionplugins-hst-client</artifactId>
</dependency>
<bean id="org.onehippo.forge.selection.hst.manager.ValueListManager"
class="org.onehippo.forge.selection.hst.manager.DefaultValueListManager">
<constructor-arg>
<map>
<entry key="valuelist1" value="valuelists/valuelist1"/>
</map>
</constructor-arg>
</bean>
NB You can also provide your own custom manager. For the default manager above, make a mapping between an identifier and the location of the value list document, relative to site content base bean.
<hst-content-beans>
<annotated-class>
org.onehippo.forge.selection.hst.contentbean.ValueList
</annotated-class>
<annotated-class>
org.onehippo.forge.selection.hst.contentbean.ValueListItem
</annotated-class>
</hst-content-beans>