pom.xml 11.3 KB
Newer Older
1 2
<?xml version="1.0" encoding="UTF-8"?>
<!--
3
  Copyright 2007-2017 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
  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.
16 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/maven-v4_0_0.xsd">
18 19
  <modelVersion>4.0.0</modelVersion>

20 21
  <parent>
    <groupId>org.onehippo.cms7</groupId>
22
    <artifactId>hippo-cms7-project</artifactId>
23
    <version>28.7</version>
24 25
  </parent>

26 27 28
  <name>Repository</name>
  <description>Hippo Repository</description>
  <artifactId>hippo-repository</artifactId>
29
  <version>4.2.4</version>
30 31
  <packaging>pom</packaging>

32
  <inceptionYear>2007</inceptionYear>
33

34 35 36
  <repositories>
    <repository>
      <id>hippo</id>
37
      <name>Hippo Maven 2</name>
38
      <url>https://maven.onehippo.com/maven2/</url>
39 40 41 42 43 44 45 46 47
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <releases>
        <updatePolicy>never</updatePolicy>
      </releases>
    </repository>
  </repositories>

48 49 50 51 52 53
  <modules>
    <module>api</module>
    <module>connector</module>
    <module>provider</module>
    <module>engine</module>
    <module>modules</module>
54
    <module>deprecated</module>
55 56 57
    <module>upgrade</module>
    <module>utilities</module>
    <module>test</module>
58 59
    <module>testutils</module>
    <module>testcontent</module>
60 61 62 63 64
    <module>builtin</module>
    <module>config</module>
    <module>resources</module>
    <module>dependencies</module>
    <module>servlets</module>
65
    <module>scripts</module>
66
    <module>workflow</module>
67
    <module>jaxrs</module>
68
    <module>mockutils</module>
69 70 71
  </modules>

  <properties>
72 73 74
    <!-- use root project name for all project modules NOTICE files, should be the same as in the root NOTICE file -->
    <notice.project.name>Hippo Repository</notice.project.name>

75
    <hippo.commons.version>3.2.0</hippo.commons.version>
76
    <hippo.services.version>3.2.1</hippo.services.version>
77 78
    <hippo.services.eventbus.version>3.2.0</hippo.services.eventbus.version>
    <hippo.utilities.version>3.2.0</hippo.utilities.version>
79
    <hippo.jcrdiff.version>1.01.06</hippo.jcrdiff.version>
80

81
    <!-- Test dependencies  -->
82
    <junit.version>4.10</junit.version>
83
    <hamcrest-core.version>1.3</hamcrest-core.version>
84

85
    <!-- Project Dependencies -->
86
    <commons-io.version>2.4</commons-io.version>
87
    <commons-lang.version>2.6</commons-lang.version>
88
    <commons-collections.version>3.2.2</commons-collections.version>
89
    <xmlbeans-java6.version>2.3.0</xmlbeans-java6.version>
Unico Hommes's avatar
Unico Hommes committed
90
    <pdfbox.version>1.8.8</pdfbox.version>
91
    <quartz.version>2.2.1</quartz.version>
92
    <json-lib.version>2.2.2</json-lib.version>
93
    <easymock.version>3.2</easymock.version>
94
    <powermock.version>1.6.2</powermock.version>
95
    <restassured.version>2.5.0</restassured.version>
96
    <decentxml.version>1.4</decentxml.version>
97
    <commons-scxml2.version>2.0-M1</commons-scxml2.version>
98
    <h2.version>1.3.175</h2.version>
99 100 101 102 103
    <mysql.version>5.1.44</mysql.version>
    <mssql.version>6.2.2.jre8</mssql.version>
    <postgresql.version>42.1.4</postgresql.version>
    <oracle.version>12.2.0.1</oracle.version>
    <sql-maven-plugin.version>1.5</sql-maven-plugin.version>
104 105 106
  </properties>

  <scm>
107 108 109
    <connection>scm:git:https://code.onehippo.org/cms-community/hippo-repository.git</connection>
    <developerConnection>scm:git:git@code.onehippo.org:cms-community/hippo-repository.git</developerConnection>
    <url>https://code.onehippo.org/cms-community/hippo-repository</url>
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
  </scm>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <configuration>
          <aggregate>true</aggregate>
          <author>false</author>
          <show>protected</show>
          <docfilessubdirs>true</docfilessubdirs>
          <links>
            <link>http://www.day.com/maven/jsr170/javadocs/jcr-2.0/</link>
          </links>
        </configuration>
      </plugin>
127 128 129 130 131 132 133
      <plugin>
        <inherited>true</inherited>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <forkMode>once</forkMode>
          <workingDirectory>${project.build.directory}</workingDirectory>
134 135 136
          <systemPropertyVariables>
            <org.onehippo.repository.test.keepserver>true</org.onehippo.repository.test.keepserver>
          </systemPropertyVariables>
137 138
        </configuration>
      </plugin>
139
    </plugins>
140

141 142 143 144
  </build>

  <dependencyManagement>
    <dependencies>
145 146
      <dependency>
        <groupId>org.onehippo.cms7</groupId>
147
        <artifactId>hippo-cms7-commons</artifactId>
148
        <version>${hippo.commons.version}</version>
149
        <scope>provided</scope>
150 151 152 153 154
      </dependency>
      <dependency>
        <groupId>org.onehippo.cms7</groupId>
        <artifactId>hippo-services</artifactId>
        <version>${hippo.services.version}</version>
155
        <scope>provided</scope>
156 157 158 159
      </dependency>
      <dependency>
        <groupId>org.onehippo.cms7</groupId>
        <artifactId>hippo-services-eventbus</artifactId>
160
        <version>${hippo.services.eventbus.version}</version>
161
      </dependency>
162 163 164 165 166
      <dependency>
        <groupId>org.onehippo.cms7</groupId>
        <artifactId>hippo-cms7-utilities</artifactId>
        <version>${hippo.utilities.version}</version>
      </dependency>
167 168 169 170 171 172 173 174 175 176
      <dependency>
        <groupId>javax.jcr</groupId>
        <artifactId>jcr</artifactId>
        <classifier>sources</classifier>
        <version>${javax.jcr.version}</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.apache.jackrabbit</groupId>
        <artifactId>jackrabbit-api</artifactId>
177
        <version>${patched.jackrabbit.version}</version>
178 179 180
      </dependency>
      <dependency>
        <groupId>org.apache.jackrabbit</groupId>
Unico Hommes's avatar
Unico Hommes committed
181
        <artifactId>jackrabbit-jcr-rmi</artifactId>
182
        <version>${jackrabbit.version}</version>
183 184 185
      </dependency>
      <dependency>
        <groupId>org.apache.jackrabbit</groupId>
Unico Hommes's avatar
Unico Hommes committed
186
        <artifactId>jackrabbit-jcr2spi</artifactId>
187
        <version>${jackrabbit.version}</version>
188 189 190
      </dependency>
      <dependency>
        <groupId>org.apache.jackrabbit</groupId>
Unico Hommes's avatar
Unico Hommes committed
191
        <artifactId>jackrabbit-spi2jcr</artifactId>
192
        <version>${jackrabbit.version}</version>
193
      </dependency>
Unico Hommes's avatar
Unico Hommes committed
194 195 196
      <dependency>
        <groupId>org.apache.jackrabbit</groupId>
        <artifactId>jackrabbit-core</artifactId>
197
        <version>${patched.jackrabbit.version}</version>
Unico Hommes's avatar
Unico Hommes committed
198 199 200 201 202 203 204 205 206 207
        <exclusions>
          <exclusion>
            <groupId>org.apache.derby</groupId>
            <artifactId>derby</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.apache.jackrabbit</groupId>
        <artifactId>jackrabbit-spi-commons</artifactId>
208
        <version>${patched.jackrabbit.version}</version>
Unico Hommes's avatar
Unico Hommes committed
209
      </dependency>
210 211 212 213 214
      <dependency>
        <groupId>org.apache.jackrabbit</groupId>
        <artifactId>jackrabbit-jcr-commons</artifactId>
        <version>${jackrabbit.version}</version>
      </dependency>
215 216 217 218 219
      <dependency>
        <groupId>commons-io</groupId>
        <artifactId>commons-io</artifactId>
        <version>${commons-io.version}</version>
      </dependency>
220 221 222 223 224
      <dependency>
        <groupId>commons-collections</groupId>
        <artifactId>commons-collections</artifactId>
        <version>${commons-collections.version}</version>
      </dependency>
225 226 227 228 229
      <dependency>
        <groupId>org.apache.pdfbox</groupId>
        <artifactId>pdfbox</artifactId>
        <version>${pdfbox.version}</version>
      </dependency>
230 231 232 233 234
      <dependency>
        <groupId>org.apache.xmlbeans</groupId>
        <artifactId>xmlbeans-java6</artifactId>
        <version>${xmlbeans-java6.version}</version>
      </dependency>
Ate Douma's avatar
Ate Douma committed
235 236 237 238 239 240 241 242 243 244
      <dependency>
        <groupId>org.quartz-scheduler</groupId>
        <artifactId>quartz</artifactId>
        <version>${quartz.version}</version>
        <exclusions>
          <exclusion>
            <groupId>javax.transaction</groupId>
            <artifactId>jta</artifactId>
          </exclusion>
        </exclusions>
245
      </dependency>
246 247 248
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
249
        <version>${junit.version}</version>
250 251
      </dependency>
      <dependency>
252
        <groupId>org.easymock</groupId>
253 254 255
        <artifactId>easymock</artifactId>
        <version>${easymock.version}</version>
      </dependency>
256 257 258 259 260
      <dependency>
        <groupId>org.codehaus.groovy</groupId>
        <artifactId>groovy-all</artifactId>
        <version>${groovy.version}</version>
      </dependency>
261 262 263 264 265
      <dependency>
        <groupId>org.freemarker</groupId>
        <artifactId>freemarker</artifactId>
        <version>${freemarker.version}</version>
      </dependency>
266 267 268 269 270
      <dependency>
        <groupId>de.pdark</groupId>
        <artifactId>decentxml</artifactId>
        <version>${decentxml.version}</version>
      </dependency>
271 272 273 274 275 276 277 278 279 280 281 282
      <!-- SCXML -->
      <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-scxml2</artifactId>
        <version>${commons-scxml2.version}</version>
        <exclusions>
          <exclusion>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
283 284 285 286 287
      <dependency>
        <groupId>commons-lang</groupId>
        <artifactId>commons-lang</artifactId>
        <version>${commons-lang.version}</version>
      </dependency>
288 289 290 291

    </dependencies>
  </dependencyManagement>

292 293 294 295 296 297 298 299 300 301 302 303 304
  <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 from Jackrabbit sources -->
                <exclude>connector/src/main/java/org/apache/jackrabbit/jcr2spi/state/HippoSessionItemStateManager.java</exclude>
305
                <exclude>engine/src/main/java/org/apache/jackrabbit/core/observation/RevisionEventJournalImpl.java</exclude>
306 307
                <!-- copied from Maven sources -->
                <exclude>utilities/src/main/java/org/hippoecm/repository/util/MavenComparableVersion.java</exclude>
308 309
                <!-- based upon and adapted from Solr sources -->
                <exclude>utilities/src/main/java/org/onehippo/repository/util/DateMathParser.java</exclude>
310
                <!-- repository content XML -->
311
                <exclude>*/src/test/resources/**/*.xml</exclude>
312 313
                <exclude>test/checker-repository.xml</exclude>
                <exclude>test/checker-storage/**</exclude>
314 315 316 317 318 319 320 321
              </excludes>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

322
</project>
323