Fork me on GitHub

Installing Experience Manager Page Management Support

Add Dependencies

Make sure you have the Forge Maven 2 repository reference and dependency definition in the root pom.xml of your project.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<repositories>
 
  <!-- SNIP -->
 
  <repository>
    <id>hippo-maven2</id>
    <name>Hippo Maven 2 Repository</name>
  </repository>
 
  <!-- SNIP -->
 
</repositories>
 
<!-- SNIP -->
 
<dependencyManagement>
 
  <!-- SNIP -->
 
  <dependencies>
 
    <!-- SNIP -->
 
    <!-- NOTE: You should set a property named 'forge.channel-pagesup.version' to a version of this plugin! -->
 
    <!-- DocumentManagementService as CMS application side dependency -->
    <dependency>
      <groupId>org.onehippo.forge.channel-pagesup</groupId>
      <artifactId>channel-pagesup-document-management-service</artifactId>
      <version>${forge.channel-pagesup.version}</version>
    </dependency>
 
    <!-- CopyPageEvent handler as SITE application side dependency -->
    <dependency>
      <groupId>org.onehippo.forge.channel-pagesup</groupId>
      <artifactId>channel-pagesup-channel-page-event</artifactId>
      <version>${forge.channel-pagesup.version}</version>
    </dependency>
 
    <!-- SNIP -->
 
  </dependencies>
 
  <!-- SNIP -->
 
</dependencyManagement>

And add the following dependency reference into your CMS dependencies module pom.

1
2
3
4
5
6
7
8
9
10
11
12
13
<dependencies>
 
  <!-- SNIP -->
 
  <!-- DocumentManagementService as CMS application side dependency -->
  <dependency>
    <groupId>org.onehippo.forge.channel-pagesup</groupId>
    <artifactId>channel-pagesup-document-management-service</artifactId>
  </dependency>
 
  <!-- SNIP -->
 
</dependencies>

And add the following dependency reference into your SITE components module pom.

1
2
3
4
5
6
7
8
9
10
11
12
13
<dependencies>
 
  <!-- SNIP -->
 
  <!-- CopyPageEvent handler as SITE application side dependency -->
  <dependency>
    <groupId>org.onehippo.forge.channel-pagesup</groupId>
    <artifactId>channel-pagesup-channel-page-event</artifactId>
  </dependency>
 
  <!-- SNIP -->
 
</dependencies>

Now, you're ready to use the plugin!