522 lines
19 KiB
XML
522 lines
19 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<!--<ccm.version>7.0.0-SNAPSHOT</ccm.version>-->
|
|
</properties>
|
|
|
|
<groupId>org.libreccm</groupId>
|
|
<artifactId>libreccm-parent</artifactId>
|
|
<version>7.0.0-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>LibreCCM</name>
|
|
<url>http://www.libreccm.org</url>
|
|
<distributionManagement>
|
|
<site>
|
|
<id>libreccm-site</id>
|
|
<name>LibreCCM</name>
|
|
<url>http://www.libreccm.org/project-sites/</url>
|
|
</site>
|
|
</distributionManagement>
|
|
|
|
<organization>
|
|
<name>LibreCCM Foundation</name>
|
|
</organization>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>LPLv2 or newer</name>
|
|
<url>http://www.gnu.org/licenses/lgpl-2.0.html</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<modules>
|
|
<module>ccm-core</module>
|
|
<module>ccm-shortcuts</module>
|
|
<module>ccm-testutils</module>
|
|
<module>ccm-docrepo</module>
|
|
|
|
<!-- Bundle modules -->
|
|
<module>ccm-test-bundle-wildfly8</module>
|
|
|
|
<!-- Archetypes -->
|
|
<module>ccm-archetype-module</module>
|
|
<module>ccm-cms</module>
|
|
<module>ccm-cms-archetype-contenttype</module>
|
|
<module>ccm-cms-types-article</module>
|
|
</modules>
|
|
|
|
<!--<repositories>
|
|
<repository>
|
|
<id>jp-digital-snapshots</id>
|
|
<url>http://archiva.jp-digital.de/repository/jp-digital-snapshots/</url>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>jp-digital-releases</id>
|
|
<url>http://archiva.jp-digital.de/repository/jp-digital-releases/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>-->
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>jp-digital-snapshots</id>
|
|
<url>http://archiva.jp-digital.de/repository/jp-digital-snapshots/</url>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>jp-digital-releases</id>
|
|
<url>http://archiva.jp-digital.de/repository/jp-digital-releases/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
<reporting>
|
|
<excludeDefaults>true</excludeDefaults>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>2.8</version>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>summary</report>
|
|
<report>license</report>
|
|
<report>scm</report>
|
|
<report>dependency-management</report>
|
|
<report>plugin-management</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.3</version>
|
|
<configuration>
|
|
<source>1.7</source>
|
|
<target>1.7</target>
|
|
<optimize>true</optimize>
|
|
<debug>true</debug>
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.18.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.5.4</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.6</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>2.6</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>3.4</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
<version>3.5</version>
|
|
<configuration>
|
|
<linkXref>true</linkXref>
|
|
<sourceEncoding>utf-8</sourceEncoding>
|
|
<targetJdk>1.6</targetJdk>
|
|
<rulesets>
|
|
<ruleset>/rulesets/basic.xml</ruleset>
|
|
<ruleset>/rulesets/braces.xml</ruleset>
|
|
<ruleset>/rulesets/codesize.xml</ruleset>
|
|
<ruleset>/rulesets/clone.xml</ruleset>
|
|
<ruleset>/rulesets/coupling.xml</ruleset>
|
|
<ruleset>/rulesets/design.xml</ruleset>
|
|
<ruleset>/rulesets/finalizers.xml</ruleset>
|
|
<ruleset>/rulesets/imports.xml</ruleset>
|
|
<ruleset>/rulesets/javabeans.xml</ruleset>
|
|
<ruleset>/rulesets/junit.xml</ruleset>
|
|
<ruleset>/rulesets/naming.xml</ruleset>
|
|
<ruleset>/rulesets/optimizations.xml</ruleset>
|
|
<ruleset>/rulesets/strictexception.xml</ruleset>
|
|
<ruleset>/rulesets/strings.xml</ruleset>
|
|
<ruleset>/rulesets/sunsecure.xml</ruleset>
|
|
<ruleset>/rulesets/unusedcode.xml</ruleset>
|
|
</rulesets>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>pmd</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
<version>3.0.1</version>
|
|
<configuration>
|
|
<findbugsXmlOutput>true</findbugsXmlOutput>
|
|
<xmlOutput>true</xmlOutput>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>findbugs</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>de.jpdigital</groupId>
|
|
<artifactId>hibernate4-ddl-maven-plugin</artifactId>
|
|
<version>1.0.0-beta.1</version>
|
|
</plugin>
|
|
<!--<plugin>
|
|
<groupId>org.jboss.tattletale</groupId>
|
|
<artifactId>tattletale-maven</artifactId>
|
|
<version>1.1.2.Final</version>
|
|
</plugin>-->
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<!--
|
|
*******************************
|
|
JavaEE and related dependencies
|
|
*******************************
|
|
-->
|
|
<!-- JavaEE API -->
|
|
<dependency>
|
|
<groupId>javax</groupId>
|
|
<artifactId>javaee-api</artifactId>
|
|
<version>7.0</version>
|
|
</dependency>
|
|
|
|
<!--
|
|
Hibernate, used as JPA provider, replacing the default
|
|
provider of the container. This is necessary because we use
|
|
some features/extensions only available for Hibernate,
|
|
for example Envers for versioning.
|
|
-->
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-entitymanager</artifactId>
|
|
<version>4.3.11.Final</version>
|
|
</dependency>
|
|
|
|
<!--
|
|
Hibernate Envers, used for providing versioning/auditing for
|
|
Entities.
|
|
-->
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-envers</artifactId>
|
|
<version>4.3.11.Final</version>
|
|
</dependency>
|
|
|
|
<!--
|
|
Hibernate Validator used as implemenation of the Bean
|
|
Validation API -->
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-validator</artifactId>
|
|
<version>5.2.1.Final</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-validator-cdi</artifactId>
|
|
<version>5.2.1.Final</version>
|
|
</dependency>
|
|
|
|
<!--
|
|
Flyway framework for database schema migrations
|
|
-->
|
|
<dependency>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-core</artifactId>
|
|
<version>3.2.1</version>
|
|
</dependency>
|
|
|
|
<!--
|
|
*********************
|
|
Libraries used by CCM
|
|
*********************
|
|
-->
|
|
|
|
<!-- Unclear if needed anymore because javax.activation is part
|
|
of the standard API since JavaSE 6 -->
|
|
<!--<dependency>
|
|
<groupId>javax.activation</groupId>
|
|
<artifactId>activation</artifactId>
|
|
<version>1.1.1</version>
|
|
</dependency>-->
|
|
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-bom</artifactId>
|
|
<version>2.3</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<!--
|
|
Needs to be upgraded, but the complete search part needs
|
|
refactoring. Therefore we keep using the old version for now.
|
|
-->
|
|
<dependency>
|
|
<groupId>org.apache.lucene</groupId>
|
|
<artifactId>lucene-core</artifactId>
|
|
<version>2.4.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.pdfbox</groupId>
|
|
<artifactId>pdfbox</artifactId>
|
|
<version>1.4.0</version>
|
|
</dependency>
|
|
|
|
|
|
<!-- Libraries from the Apache Commons project -->
|
|
<dependency>
|
|
<groupId>commons-beanutils</groupId>
|
|
<artifactId>commons-beanutils</artifactId>
|
|
<version>1.9.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-cli</groupId>
|
|
<artifactId>commons-cli</artifactId>
|
|
<version>1.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-codec</groupId>
|
|
<artifactId>commons-codec</artifactId>
|
|
<version>1.10</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-collections</groupId>
|
|
<artifactId>commons-collections</artifactId>
|
|
<version>3.2.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-fileupload</groupId>
|
|
<artifactId>commons-fileupload</artifactId>
|
|
<version>1.3.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-httpclient</groupId>
|
|
<artifactId>commons-httpclient</artifactId>
|
|
<version>3.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>2.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-lang</groupId>
|
|
<artifactId>commons-lang</artifactId>
|
|
<version>2.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
<version>1.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-primitives</groupId>
|
|
<artifactId>commons-primitives</artifactId>
|
|
<version>1.0</version>
|
|
</dependency>
|
|
<!-- Apache Commons libraries end -->
|
|
|
|
<dependency>
|
|
<groupId>net.sf.saxon</groupId>
|
|
<artifactId>Saxon-HE</artifactId>
|
|
<version>9.6.0-5</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcmail-jdk16</artifactId>
|
|
<version>1.46</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.imgscalr</groupId>
|
|
<artifactId>imgscalr-lib</artifactId>
|
|
<version>4.2</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.jsoup</groupId>
|
|
<artifactId>jsoup</artifactId>
|
|
<version>1.8.2</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-artifact</artifactId>
|
|
<version>3.3.3</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.sf.jtidy</groupId>
|
|
<artifactId>jtidy</artifactId>
|
|
<version>r938</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>oro</groupId>
|
|
<artifactId>oro</artifactId>
|
|
<version>2.0.8</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>poi</groupId>
|
|
<artifactId>poi-2.5-final</artifactId>
|
|
<version>20040302</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>xml-resolver</groupId>
|
|
<artifactId>xml-resolver</artifactId>
|
|
<version>1.2</version>
|
|
</dependency>
|
|
|
|
<!--
|
|
**********************
|
|
Dependencies for tests
|
|
**********************
|
|
-->
|
|
<!-- JUnit test framework -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.12</version>
|
|
</dependency>
|
|
|
|
<!--
|
|
Arquillian test framework for running tests inside an JavaEE
|
|
container
|
|
-->
|
|
<dependency>
|
|
<groupId>org.jboss.arquillian</groupId>
|
|
<artifactId>arquillian-bom</artifactId>
|
|
<version>1.1.8.Final</version>
|
|
<scope>import</scope>
|
|
<type>pom</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.arquillian.extension</groupId>
|
|
<artifactId>arquillian-transaction-bom</artifactId>
|
|
<version>1.0.1.Final</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.arquillian.extension</groupId>
|
|
<artifactId>arquillian-persistence-dbunit</artifactId>
|
|
<version>1.0.0.Alpha7</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wildfly</groupId>
|
|
<artifactId>wildfly-arquillian-container-remote</artifactId>
|
|
<version>8.2.1.Final</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!--
|
|
JaCoCo is used to measure the test coverage
|
|
-->
|
|
<dependency>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>org.jacoco.core</artifactId>
|
|
<version>0.7.5.201505241946</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!--
|
|
Hamcrest provides nice Matchers for JUnit test, making the
|
|
assertions in the tests for readable.
|
|
-->
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-core</artifactId>
|
|
<version>1.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-library</artifactId>
|
|
<version>1.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!--
|
|
The EqualsVerifier from Jan Ouwens for checking the equals and
|
|
hashCode implementations for objects. Used especially for
|
|
verifying equals and hashCode implementations of entities.
|
|
-->
|
|
<dependency>
|
|
<groupId>nl.jqno.equalsverifier</groupId>
|
|
<artifactId>equalsverifier</artifactId>
|
|
<version>1.7.2</version>
|
|
</dependency>
|
|
|
|
<!-- h2 database in used to check some database related things -->
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<version>1.4.187</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
</project> |