614 lines
24 KiB
XML
614 lines
24 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>-->
|
|
<jackson-core-version>2.4.5</jackson-core-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>LGPLv2 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-bundle-devel-swarm</module>-->
|
|
<!--<module>ccm-bundle-devel-wildfly</module>-->
|
|
<!--<module>ccm-test-bundle-wildfly8</module>-->
|
|
|
|
<module>ccm-theme-foundry</module>
|
|
|
|
<!-- Archetypes -->
|
|
<module>ccm-archetype-module</module>
|
|
<module>ccm-cms</module>
|
|
<module>ccm-cms-archetype-contenttype</module>
|
|
<module>ccm-cms-types-agenda</module>
|
|
<module>ccm-cms-types-bookmark</module>
|
|
<module>ccm-cms-types-minutes</module>
|
|
<module>ccm-cms-types-decisiontree</module>
|
|
<module>ccm-cms-types-glossaryitem</module>
|
|
<module>ccm-cms-types-faqitem</module>
|
|
<module>ccm-cms-types-externallink</module>
|
|
<module>ccm-bundle-devel</module>
|
|
<module>ccm-bundle-devel-wildfly-web</module>
|
|
<module>ccm-bundle-devel-wildfly</module>
|
|
<module>ccm-bundle-devel-wildfly-swarm</module>
|
|
<module>ccm-xafilesystemadapter</module>
|
|
</modules>
|
|
|
|
<reporting>
|
|
<excludeDefaults>true</excludeDefaults>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>2.9</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.6.1</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</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.19.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.0.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-ear-plugin</artifactId>
|
|
<version>2.10.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>3.6</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
<version>3.7</version>
|
|
<configuration>
|
|
<linkXref>true</linkXref>
|
|
<sourceEncoding>utf-8</sourceEncoding>
|
|
<targetJdk>1.8</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>build-helper-maven-plugin</artifactId>
|
|
<version>1.12</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
<version>3.0.4</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>hibernate5-ddl-maven-plugin</artifactId>
|
|
<version>1.0.1-hibernate-5.2.4.Final</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>0.7.8</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.wildfly.plugins</groupId>
|
|
<artifactId>wildfly-maven-plugin</artifactId>
|
|
<version>1.1.0.Final</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>2.9</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.wildfly.swarm</groupId>
|
|
<artifactId>wildfly-swarm-plugin</artifactId>
|
|
<version>2017.1.1</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.wildfly.plugins</groupId>
|
|
<artifactId>wildfly-maven-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</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>5.0.10.Final</version>
|
|
</dependency>
|
|
|
|
<!--
|
|
Hibernate Envers, used for providing versioning/auditing for
|
|
Entities.
|
|
-->
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-envers</artifactId>
|
|
<version>5.0.10.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.4.Final</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-validator-cdi</artifactId>
|
|
<version>5.2.4.Final</version>
|
|
</dependency>
|
|
|
|
<!--
|
|
Hibernate Search provides seamless integration of Apache Lucene with
|
|
Hibernate/JPA
|
|
-->
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-search-orm</artifactId>
|
|
<version>5.5.4.Final</version>
|
|
</dependency>
|
|
|
|
<!--
|
|
Flyway framework for database schema migrations
|
|
-->
|
|
<dependency>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-core</artifactId>
|
|
<version>4.0.3</version>
|
|
</dependency>
|
|
|
|
<!-- Shiro lib for security stuff -->
|
|
<dependency>
|
|
<groupId>org.apache.shiro</groupId>
|
|
<artifactId>shiro-core</artifactId>
|
|
<version>1.2.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.shiro</groupId>
|
|
<artifactId>shiro-web</artifactId>
|
|
<version>1.3.2</version>
|
|
</dependency>
|
|
|
|
<!-- PrimeFaces for JSF prototype -->
|
|
<dependency>
|
|
<groupId>org.primefaces</groupId>
|
|
<artifactId>primefaces</artifactId>
|
|
<version>6.0</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.7</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.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-cli</groupId>
|
|
<artifactId>commons-cli</artifactId>
|
|
<version>1.3.1</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.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-fileupload</groupId>
|
|
<artifactId>commons-fileupload</artifactId>
|
|
<version>1.3.2</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.5</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.7.0-14</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.10.2</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-artifact</artifactId>
|
|
<version>3.3.9</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>net.java.xadisk</groupId>
|
|
<artifactId>xadisk</artifactId>
|
|
<version>1.2.2</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>xml-resolver</groupId>
|
|
<artifactId>xml-resolver</artifactId>
|
|
<version>1.2</version>
|
|
</dependency>
|
|
|
|
|
|
<!-- Export Import Libraries -->
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<version>${jackson-core-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
<version>${jackson-core-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson-core-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
<artifactId>jackson-datatype-jdk8</artifactId>
|
|
<version>${jackson-core-version}</version>
|
|
</dependency>
|
|
<dependency> <!-- for xml ex-/import -->
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
<artifactId>jackson-dataformat-xml</artifactId>
|
|
<version>${jackson-core-version}</version>
|
|
</dependency>
|
|
<dependency> <!-- better xml library -->
|
|
<groupId>org.codehaus.woodstox</groupId>
|
|
<artifactId>woodstox-core-asl</artifactId>
|
|
<version>4.4.1</version>
|
|
</dependency>
|
|
<dependency> <!-- for csv ex-/import -->
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
<artifactId>jackson-dataformat-csv</artifactId>
|
|
<version>${jackson-core-version}</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.12.Final</version>
|
|
<scope>import</scope>
|
|
<type>pom</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.arquillian.extension</groupId>
|
|
<artifactId>arquillian-transaction-bom</artifactId>
|
|
<version>1.0.3.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-managed</artifactId>
|
|
<version>8.2.1.Final</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wildfly.arquillian</groupId>
|
|
<artifactId>wildfly-arquillian-container-managed</artifactId>
|
|
<version>2.0.2.Final</version>
|
|
<scope>test</scope>
|
|
</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.8</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.8</version>-->
|
|
<version>2.2</version>
|
|
</dependency>
|
|
|
|
<!-- h2 database in used to check some database related things -->
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<version>1.4.193</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
</project> |