pom.xml 3.41 KB
Newer Older
1 2
<?xml version="1.0" encoding="UTF-8"?>
<!--
3
  Copyright 2012-2015 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 15 16 17 18 19 20 21 22
  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.
-->
<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>28.9</version>
24 25 26 27
  </parent>

  <name>Hippo CMS7 Commons</name>
  <description>Hippo CMS7 Commons</description>
28
  <packaging>jar</packaging>
29

30 31
  <inceptionYear>2012</inceptionYear>

32
  <artifactId>hippo-cms7-commons</artifactId>
33
  <version>3.2.1-SNAPSHOT</version>
34

35
  <dependencies>
36 37 38 39 40 41 42

    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <scope>provided</scope>
    </dependency>

43 44 45 46 47 48
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.10</version>
      <scope>test</scope>
    </dependency>
49

50
  </dependencies>
51

52 53 54 55 56 57 58 59 60 61 62 63 64
   <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <forkMode>always</forkMode>
          <workingDirectory>${project.build.directory}</workingDirectory>
        </configuration>
      </plugin>
    </plugins>
  </build>

65 66
  <!--
     Software configuration management (scm): where to find and how to get acces to the source repository
67 68 69
     This is used by normal plugins, but also to autogenerate documentation in .../target/site/source-repository.html
  -->
  <scm>
70 71 72
    <connection>scm:git:https://code.onehippo.org/cms-community/hippo-cms-commons.git</connection>
    <developerConnection>scm:git:git@code.onehippo.org:cms-community/hippo-cms-commons.git</developerConnection>
    <url>https://code.onehippo.org/cms-community/hippo-cms-commons</url>
73 74 75 76 77 78
  </scm>

  <repositories>
    <repository>
      <id>hippo</id>
      <name>Hippo Maven 2</name>
79
      <url>https://maven.onehippo.com/maven2/</url>
80 81 82 83 84 85 86 87 88
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <releases>
        <updatePolicy>never</updatePolicy>
      </releases>
    </repository>
  </repositories>

89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
  <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">
                <!-- forked AS-IS from Apache Lucene retaining its original AS2.0 license header
                -->
                <exclude>src/main/java/org/onehippo/cms7/util/WeakIdentityMap.java</exclude>
              </excludes>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

111
</project>