pom.xml 5.65 KB
Newer Older
1 2
<?xml version="1.0" encoding="UTF-8"?>
<!--
3
  Copyright 2014-2015 Hippo B.V. (http://www.onehippo.com)
4 5 6 7 8 9 10 11 12 13 14 15 16

  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

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

  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
  limitations under the License.
-->
17
<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/xsd/maven-4.0.0.xsd">
18 19 20 21 22 23

  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.onehippo.cms7</groupId>
    <artifactId>hippo-cms7-project</artifactId>
24
    <version>27.2</version>
25 26 27 28
  </parent>

  <name>Hippo CMS7 Services - contenttype</name>
  <artifactId>hippo-services-contenttype</artifactId>
29
  <version>3.0.0-SNAPSHOT</version>
30 31 32 33 34 35 36

  <inceptionYear>2013</inceptionYear>

  <properties>
    <!-- use root project name for all project modules NOTICE files, should be the same as in the root NOTICE file -->
    <notice.project.name>Hippo CMS7 Services - contenttype</notice.project.name>
    
37 38 39
    <hippo.services.version>2.2.0-SNAPSHOT</hippo.services.version>
    <hippo.repository.version>3.2.0-SNAPSHOT</hippo.repository.version>
    <hippo.cms.version>3.2.0-SNAPSHOT</hippo.cms.version>
40 41 42
  </properties>

  <scm>
43 44 45
    <connection>scm:svn:http://svn.onehippo.org/repos/hippo/hippo-cms7/services/services-contenttype/trunk</connection>
    <developerConnection>scm:svn:https://svn.onehippo.org/repos/hippo/hippo-cms7/services/services-contenttype/trunk</developerConnection>
    <url>http://svn.onehippo.org/repos/hippo/hippo-cms7/services/services-contenttype/trunk</url>
46 47 48 49 50 51
  </scm>

  <repositories>
    <repository>
      <id>hippo</id>
      <name>Hippo Maven 2</name>
52
      <url>https://maven.onehippo.com/maven2/</url>
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 101 102
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <releases>
        <updatePolicy>never</updatePolicy>
      </releases>
    </repository>
  </repositories>
  
  <dependencies>

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

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

    <!-- Jackson Java JSON-processor -->
    <dependency>
      <groupId>org.codehaus.jackson</groupId>
      <artifactId>jackson-core-asl</artifactId>
      <version>${jackson.version}</version>
    </dependency>

    <dependency>
      <groupId>org.codehaus.jackson</groupId>
      <artifactId>jackson-mapper-asl</artifactId>
      <scope>test</scope>
      <version>${jackson.version}</version>
    </dependency>

    <dependency>
      <groupId>org.onehippo.cms7</groupId>
      <artifactId>hippo-cms-test</artifactId>
      <version>${hippo.cms.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.onehippo.cms7</groupId>
      <artifactId>hippo-cms-editor-repository</artifactId>
      <version>${hippo.cms.version}</version>
      <scope>test</scope>
    </dependency>
103 104 105 106 107 108 109 110 111
    <dependency>
      <groupId>org.onehippo.cms7</groupId>
      <artifactId>hippo-cms-editor-repository</artifactId>
      <version>${hippo.cms.version}</version>
      <type>jar</type>
      <classifier>tests</classifier>
      <scope>test</scope>
      <optional>true</optional>
    </dependency>
112 113 114 115 116 117 118 119 120
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
121 122 123 124
             <!--
               Hippo-Modules entry is defined in custom manifest file which will be merged at runtime. See: CMS-9885
            -->
            <manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile>
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
          </archive>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <systemPropertyVariables>
            <org.onehippo.repository.test.keepserver>true</org.onehippo.repository.test.keepserver>
          </systemPropertyVariables>
        </configuration>
      </plugin>
    </plugins>
  </build>

  <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">
                <!-- largely forked but heavily modified and simplified version of Jackrabbit 2.6 org.apache.jackrabbit.core.nodetype.BitSetENTCacheImpl.java
                     retaining its original AS2.0 license header
                -->
154
                <exclude>src/main/java/org/onehippo/cms7/services/contenttype/AggregatedContentTypesCache.java</exclude>
155 156 157 158 159 160 161 162 163 164 165
                <!-- test output json file which cannot have embedded comments -->
                <exclude>src/test/resources/org/onehippo/cms7/services/contenttype/nt-file.json</exclude>
              </excludes>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

</project>