pom.xml 5.48 KB
Newer Older
1 2
<?xml version="1.0" encoding="UTF-8"?>
<!--
3
  Copyright 2009-2018 Hippo B.V. (http://www.onehippo.com)
4

5 6 7
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
8

9
       http://www.apache.org/licenses/LICENSE-2.0
10

11 12 13 14
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
15
  limitations under the License.
16
  -->
17 18 19 20 21 22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.onehippo.cms7</groupId>
    <artifactId>hippo-cms7-project</artifactId>
23
    <version>30.0</version>
24 25
  </parent>

26 27 28 29
  <name>Hippo Plugin Sitemap</name>
  <description>Hippo Plugin Sitemap</description>
  <groupId>org.onehippo.cms7</groupId>
  <artifactId>hippo-plugin-sitemap</artifactId>
30
  <packaging>pom</packaging>
31
  <version>13.0.1-SNAPSHOT</version>
32 33

  <inceptionYear>2009</inceptionYear>
34 35

  <scm>
36 37 38
    <connection>scm:git:https://code.onehippo.org/cms-community/hippo-plugin-sitemap.git</connection>
    <developerConnection>scm:git:git@code.onehippo.org:cms-community/hippo-plugin-sitemap.git</developerConnection>
    <url>https://code.onehippo.org/cms-community/hippo-plugin-sitemap</url>
39
  </scm>
40 41 42

  <properties>
    <!-- use root project name for all project modules NOTICE files, should be the same as in the root NOTICE file -->
43
    <notice.project.name>Hippo Plugin Sitemap</notice.project.name>
44

45 46 47
    <hippo.hst.version>13.0.0</hippo.hst.version>
    <hippo.repository.version>13.0.0</hippo.repository.version>
    <hippo.commons.version>13.0.0</hippo.commons.version>
48
    <junit.version>4.4</junit.version>
49 50
  </properties>

51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.onehippo.cms7.hst.dependencies</groupId>
        <artifactId>hst-site-dependencies</artifactId>
        <version>${hippo.hst.version}</version>
        <type>pom</type>
      </dependency>

      <!-- since we do not have release pom, we must mark hst-api explicitly as provided -->
      <dependency>
        <groupId>org.onehippo.cms7.hst</groupId>
        <artifactId>hst-api</artifactId>
        <version>${hippo.hst.version}</version>
        <scope>provided</scope>
      </dependency>

      <dependency>
        <groupId>org.onehippo.cms7</groupId>
        <artifactId>hippo-cms7-commons</artifactId>
        <version>${hippo.commons.version}</version>
        <scope>provided</scope>
      </dependency>

      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>${junit.version}</version>
        <scope>test</scope>
      </dependency>

      <!-- For HippoNodeType constants -->
      <dependency>
        <groupId>org.onehippo.cms7</groupId>
        <artifactId>hippo-repository-api</artifactId>
        <version>${hippo.repository.version}</version>
        <scope>provided</scope>
      </dependency>

      <!-- For HippoStdNodeType constants -->
      <dependency>
        <groupId>org.onehippo.cms7</groupId>
        <artifactId>hippo-repository-builtin</artifactId>
        <version>${hippo.repository.version}</version>
        <scope>provided</scope>
      </dependency>
    </dependencies>

  </dependencyManagement>

101 102
  <repositories>
    <repository>
103 104 105 106 107 108
      <id>hippo</id>
      <name>Hippo Maven 2</name>
      <url>https://maven.onehippo.com/maven2/</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
109 110 111 112 113
      <releases>
        <updatePolicy>never</updatePolicy>
      </releases>
    </repository>
  </repositories>
114 115 116 117 118
  
  <issueManagement>
    <system>Jira</system>
    <url>https://issues.onehippo.com/browse/HIPPLUG/component/10856</url>
  </issueManagement>
119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146

  <profiles>
    <profile>
      <id>pedantic</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.rat</groupId>
            <artifactId>apache-rat-plugin</artifactId>
            <inherited>false</inherited>
            <configuration>
              <excludes combine.children="append">
                <!-- covered by 3rd-party licenses in the LICENSE file -->
                <exclude>component/src/main/java/org/onehippo/forge/sitemap/components/model/news/package-info.java</exclude>
                <exclude>component/src/main/java/org/onehippo/forge/sitemap/components/model/news/info/package-info.java</exclude>
                <exclude>component/src/main/java/org/onehippo/forge/sitemap/components/model/package-info.java</exclude>
                <exclude>component/src/main/java/org/onehippo/forge/sitemap/components/model/sitemap.xsd</exclude>
                <exclude>component/src/main/java/org/onehippo/forge/sitemap/components/model/sitemapindex/package-info.java</exclude>
                <exclude>component/src/main/java/org/onehippo/forge/sitemap/components/model/sitemapindex/sitemapindex.xsd</exclude>
                <!-- repository content XML -->
                <exclude>content/src/main/resources/*.xml</exclude>
              </excludes>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
147 148 149
  
  <modules>
    <module>component</module>
150
    <module>hcm-site</module>
151
  </modules>
152 153

</project>