1101 lines
47 KiB
XML
1101 lines
47 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>
|
|
<timestamp>${maven.build.timestamp}</timestamp>
|
|
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'Z</maven.build.timestamp.format>
|
|
</properties>
|
|
|
|
<parent>
|
|
<groupId>org.libreccm</groupId>
|
|
<artifactId>libreccm-parent</artifactId>
|
|
<version>7.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<groupId>org.libreccm</groupId>
|
|
<artifactId>ccm-core</artifactId>
|
|
<!--<version>7.0.0-SNAPSHOT</version>-->
|
|
|
|
<name>LibreCCM Core</name>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Lesser GPL 2.1</name>
|
|
<url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>javax</groupId>
|
|
<artifactId>javaee-api</artifactId>
|
|
<type>jar</type>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-core</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-envers</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-validator</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-validator-cdi</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.el</groupId>
|
|
<artifactId>javax.el-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish</groupId>
|
|
<artifactId>javax.el</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-search-orm</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.xml.bind</groupId>
|
|
<artifactId>jaxb-api</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.jaxb</groupId>
|
|
<artifactId>jaxb-runtime</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!--
|
|
Flyway framework for database schema migrations
|
|
-->
|
|
<dependency>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-core</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Dependencies for log4j 2 -->
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-api</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-beanutils</groupId>
|
|
<artifactId>commons-beanutils</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-codec</groupId>
|
|
<artifactId>commons-codec</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-fileupload</groupId>
|
|
<artifactId>commons-fileupload</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-lang</groupId>
|
|
<artifactId>commons-lang</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>oro</groupId>
|
|
<artifactId>oro</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcprov-jdk16</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.sf.jtidy</groupId>
|
|
<artifactId>jtidy</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-library</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.libreccm</groupId>
|
|
<artifactId>ccm-testutils</artifactId>
|
|
<version>${project.parent.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>nl.jqno.equalsverifier</groupId>
|
|
<artifactId>equalsverifier</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.jboss.arquillian.junit</groupId>
|
|
<artifactId>arquillian-junit-container</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.arquillian.extension</groupId>
|
|
<artifactId>arquillian-persistence-dbunit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.shrinkwrap.resolver</groupId>
|
|
<artifactId>shrinkwrap-resolver-impl-maven</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-artifact</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.shiro</groupId>
|
|
<artifactId>shiro-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.shiro</groupId>
|
|
<artifactId>shiro-web</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-impl</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-jackson</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.reflections</groupId>
|
|
<artifactId>reflections</artifactId>
|
|
<version>0.9.11</version>
|
|
</dependency>
|
|
|
|
<!--<dependency>
|
|
<groupId>org.glassfish</groupId>
|
|
<artifactId>javax.json</artifactId>
|
|
</dependency>-->
|
|
|
|
<dependency>
|
|
<groupId>org.freemarker</groupId>
|
|
<artifactId>freemarker</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.sf.saxon</groupId>
|
|
<artifactId>Saxon-HE</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Export Import Libraries -->
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
<artifactId>jackson-datatype-jdk8</artifactId>
|
|
</dependency>
|
|
<dependency> <!-- for xml ex-/import -->
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
<artifactId>jackson-dataformat-xml</artifactId>
|
|
</dependency>
|
|
<dependency> <!-- better xml library -->
|
|
<groupId>org.codehaus.woodstox</groupId>
|
|
<artifactId>woodstox-core-asl</artifactId>
|
|
</dependency>
|
|
<dependency> <!-- for csv ex-/import -->
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
<artifactId>jackson-dataformat-csv</artifactId>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>ccm-core</finalName>
|
|
<!--<resources>
|
|
<resource>
|
|
<directory>${project.build.directory}/generated-resources</directory>
|
|
</resource>
|
|
</resources>-->
|
|
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
|
|
<testResources>
|
|
<testResource>
|
|
<directory>src/test/resources</directory>
|
|
</testResource>
|
|
<testResource>
|
|
<directory>${project.build.directory}/generated-resources</directory>
|
|
</testResource>
|
|
</testResources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<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>
|
|
<configuration>
|
|
<groups>org.libreccm.tests.categories.UnitTest</groups>
|
|
<trimStackTrace>false</trimStackTrace>
|
|
</configuration>
|
|
</plugin>
|
|
<!--<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>default-prepare-agent</id>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>default-report</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>report</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>-->
|
|
<plugin>
|
|
<groupId>de.jpdigital</groupId>
|
|
<artifactId>hibernate52-ddl-maven-plugin</artifactId>
|
|
<configuration>
|
|
<dialects>
|
|
<param>h2</param>
|
|
<param>oracle12c</param>
|
|
<param>postgresql9</param>
|
|
</dialects>
|
|
<packages>
|
|
<param>org.libreccm.categorization</param>
|
|
<param>org.libreccm.core</param>
|
|
<param>org.libreccm.formbuilder</param>
|
|
<param>org.libreccm.jpa</param>
|
|
<param>org.libreccm.l10n</param>
|
|
<param>org.libreccm.messaging</param>
|
|
<param>org.libreccm.notification</param>
|
|
<param>org.libreccm.portal</param>
|
|
<param>org.libreccm.runtime</param>
|
|
<param>org.libreccm.search.lucene</param>
|
|
<param>org.libreccm.web</param>
|
|
<param>org.libreccm.workflow</param>
|
|
</packages>
|
|
<persistenceXml>${basedir}/src/main/resources/META-INF/persistence-ddl.xml</persistenceXml>
|
|
<useEnvers>true</useEnvers>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>gen-ddl</goal>
|
|
</goals>
|
|
<phase>process-classes</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<configuration>
|
|
<detectLinks>true</detectLinks>
|
|
<detectJavaApiLinks>true</detectJavaApiLinks>
|
|
<links>
|
|
<link>http://docs.oracle.com/javase/7/docs/api/</link>
|
|
<link>http://docs.oracle.com/javaee/7/api/</link>
|
|
<link>http://docs.jboss.org/hibernate/orm/4.3/javadocs/</link>
|
|
</links>
|
|
<show>private</show>
|
|
<docfilessubdirs>true</docfilessubdirs>
|
|
<charset>UTF-8</charset>
|
|
<encoding>UTF-8</encoding>
|
|
<docencoding>UTF-8</docencoding>
|
|
<breakiterator>true</breakiterator>
|
|
<version>true</version>
|
|
<author>true</author>
|
|
<keywords>true</keywords>
|
|
<failOnError>false</failOnError>
|
|
<doclet>org.jboss.apiviz.APIviz</doclet>
|
|
<docletArtifact>
|
|
<groupId>org.jboss.apiviz</groupId>
|
|
<artifactId>apiviz</artifactId>
|
|
<version>1.3.2.GA</version>
|
|
</docletArtifact>
|
|
<useStandardDocletOptions>true</useStandardDocletOptions>
|
|
<additionalparam>
|
|
-sourceclasspath ${project.build.outputDirectory}
|
|
</additionalparam>
|
|
<!--<additionalparam>-Xdoclint:none</additionalparam>-->
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
|
<configuration>
|
|
<trimStackTrace>false</trimStackTrace>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
<configuration>
|
|
<excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.github.spotbugs</groupId>
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
<configuration>
|
|
<excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
<configuration>
|
|
<linkXref>true</linkXref>
|
|
<sourceEncoding>utf-8</sourceEncoding>
|
|
<targetJdk>1.8</targetJdk>
|
|
<!-- <rulesets>
|
|
<ruleset>/rulesets/java/basic.xml</ruleset>
|
|
<ruleset>/rulesets/java/braces.xml</ruleset>
|
|
<ruleset>/rulesets/java/clone.xml</ruleset>
|
|
<ruleset>/rulesets/java/codesize.xml</ruleset>
|
|
<ruleset>/rulesets/java/design.xml</ruleset>
|
|
<ruleset>/rulesets/java/empty.xml</ruleset>
|
|
<ruleset>/rulesets/java/finalizers.xml</ruleset>
|
|
<ruleset>/rulesets/java/imports.xml</ruleset>
|
|
<ruleset>/rulesets/java/junit.xml</ruleset>
|
|
<ruleset>/rulesets/java/naming.xml</ruleset>
|
|
<ruleset>/rulesets/java/optimizations.xml</ruleset>
|
|
<ruleset>/rulesets/java/strictexception.xml</ruleset>
|
|
<ruleset>/rulesets/java/strings.xml</ruleset>
|
|
<ruleset>/rulesets/java/sunsecure.xml</ruleset>
|
|
<ruleset>/rulesets/java/typeresolution.xml</ruleset>
|
|
<ruleset>/rulesets/java/unnecessary.xml</ruleset>
|
|
<ruleset>/rulesets/java/unusedcode.xml</ruleset>
|
|
</rulesets>-->
|
|
<excludeRoots>
|
|
<excludeRoot>src/main/java/com/arsdigita</excludeRoot>
|
|
</excludeRoots>
|
|
<excludes>
|
|
<exclude>**/AbstractConfig.java</exclude>
|
|
<exclude>**/AbstractParameter.java</exclude>
|
|
<exclude>**/AbstractParameterContext.java</exclude>
|
|
<exclude>**/AbstractSingleSelectionModel.java</exclude>
|
|
<exclude>**/Assert.java</exclude>
|
|
<exclude>**/bebop/**</exclude>
|
|
<exclude>**/CCMApplicationContextListener.java</exclude>
|
|
<exclude>**/CCMResourceManager.java</exclude>
|
|
<exclude>**/Classes.java</exclude>
|
|
<exclude>**/ClassParameter.java</exclude>
|
|
<exclude>**/ClassParameterReader.java</exclude>
|
|
<exclude>**/CompoundParameterReader.java</exclude>
|
|
<exclude>**/ConfigError.java</exclude>
|
|
<exclude>**/ConfigRegistry.java</exclude>
|
|
<exclude>**/Converters.java</exclude>
|
|
<exclude>**/CSVParameterReader.java</exclude>
|
|
<exclude>**/DateFormatter.java</exclude>
|
|
<exclude>**/DateFormatterConfig.java</exclude>
|
|
<exclude>**/DateTimeFormatter.java</exclude>
|
|
<exclude>**/dispatcher/**</exclude>
|
|
<exclude>**/DispatcherConfig.java</exclude>
|
|
<exclude>**/Document.java</exclude>
|
|
<exclude>**/Element.java</exclude>
|
|
<exclude>**/EmailParameter.java</exclude>
|
|
<exclude>**/EnumerationParameter.java</exclude>
|
|
<exclude>**/ErrorList.java</exclude>
|
|
<exclude>**/ExceptionUnwrapper.java</exclude>
|
|
<exclude>**/Exceptions.java</exclude>
|
|
<exclude>**/FileParameter.java</exclude>
|
|
<exclude>**/FullDateFormatter.java</exclude>
|
|
<exclude>**/globalization/**</exclude>
|
|
<exclude>**/GlobalizationConfig.java</exclude>
|
|
<exclude>**/IntegerParameter.java</exclude>
|
|
<exclude>**/JavaPropertyReader.java</exclude>
|
|
<exclude>**/JavaPropertyWriter.java</exclude>
|
|
<exclude>**/kernel/**</exclude>
|
|
<exclude>**/LockableImpl.java</exclude>
|
|
<exclude>**/mail/**</exclude>
|
|
<exclude>**/MapParameter.java</exclude>
|
|
<exclude>**/NotificationConfig.java</exclude>
|
|
<exclude>**/Parameter.java</exclude>
|
|
<exclude>**/ParameterError.java</exclude>
|
|
<exclude>**/ParameterException.java</exclude>
|
|
<exclude>**/RegistryConfig.java</exclude>
|
|
<exclude>**/ResourceParameter.java</exclude>
|
|
<exclude>**/SecurityHelper.java</exclude>
|
|
<exclude>**/SingletonParameter.java</exclude>
|
|
<exclude>**/SpecificClassParameter.java</exclude>
|
|
<exclude>**/StringParameter.java</exclude>
|
|
<exclude>**/templating/**</exclude>
|
|
<exclude>**/toolbox/**</exclude>
|
|
<exclude>**/TimeFormatter.java</exclude>
|
|
<exclude>**/ui/**</exclude>
|
|
<exclude>**/UIConfig.java</exclude>
|
|
<exclude>**/UncheckedWrapperException.java</exclude>
|
|
<exclude>**/util/**</exclude>
|
|
<exclude>**/web/**</exclude>
|
|
<exclude>**/WorkflowConfig.java</exclude>
|
|
<exclude>**/XML.java</exclude>
|
|
<exclude>**/XMLConfig.java</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<!--<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>javancss-maven-plugin</artifactId>
|
|
<version>2.1</version>
|
|
</plugin>-->
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>jdepend-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>taglist-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>dependencies</report>
|
|
<!--<report>project-team</report>
|
|
<report>mailing-list</report>
|
|
<report>cim</report>
|
|
<report>issue-tracking</report>-->
|
|
<report>licenses</report>
|
|
<!--<report>scm</report>-->
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
<configuration>
|
|
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>dependency-updates-report</report>
|
|
<report>plugin-updates-report</report>
|
|
<report>property-updates-report</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>tomee-embedded</id>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.openejb</groupId>
|
|
<artifactId>arquillian-tomee-embedded</artifactId>
|
|
<version>1.7.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.openejb</groupId>
|
|
<artifactId>tomee-embedded</artifactId>
|
|
<version>1.7.3</version>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.bval</groupId>
|
|
<artifactId>bval-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.bval</groupId>
|
|
<artifactId>bval-jsr303</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.openjpa</groupId>
|
|
<artifactId>openjpa-persistence</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.openjpa</groupId>
|
|
<artifactId>openjpa-kernel</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.openjpa</groupId>
|
|
<artifactId>openjpa-lib</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.openjpa</groupId>
|
|
<artifactId>openjpa-parent</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.logmanager</groupId>
|
|
<artifactId>jboss-logmanager</artifactId>
|
|
<version>2.0.3.Final</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!--Required for WebServices and RESTful WebServices-->
|
|
<dependency>
|
|
<groupId>org.apache.openejb</groupId>
|
|
<artifactId>tomee-webservices</artifactId>
|
|
<version>4.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.openejb</groupId>
|
|
<artifactId>tomee-jaxrs</artifactId>
|
|
<version>1.7.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<testResources>
|
|
<testResource>
|
|
<directory>src/test/resources</directory>
|
|
</testResource>
|
|
<testResource>
|
|
<directory>src/test/resources-tomee-embedded</directory>
|
|
</testResource>
|
|
<testResource>
|
|
<directory>${project.build.directory}/generated-resources</directory>
|
|
</testResource>
|
|
</testResources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>de.jpdigital</groupId>
|
|
<artifactId>hibernate52-ddl-maven-plugin</artifactId>
|
|
<configuration>
|
|
<dialects>
|
|
<param>h2</param>
|
|
<param>postgresql9</param>
|
|
<param>oracle12c</param>
|
|
</dialects>
|
|
<packages>
|
|
<param>org.libreccm</param>
|
|
</packages>
|
|
<useEnvers>true</useEnvers>
|
|
<persistenceXml>${basedir}/src/main/resources/META-INF/persistence-ddl.xml</persistenceXml>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>gen-ddl</goal>
|
|
</goals>
|
|
<phase>process-classes</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<forkMode>always</forkMode>
|
|
<forkCount>999</forkCount>
|
|
<reuseForks>true</reuseForks>
|
|
<systemPropertyVariables>
|
|
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
|
|
<jboss.home>${project.basedir}/target/wildfly-8.2.0.Final</jboss.home>
|
|
<module.path>${project.basedir}/target/wildfly-8.2.0.Final/modules</module.path>
|
|
</systemPropertyVariables>
|
|
<redirectTestOutputToFile>false</redirectTestOutputToFile>
|
|
<groups>
|
|
org.libreccm.tests.categories.UnitTest,
|
|
org.libreccm.tests.categories.IntegrationTest
|
|
</groups>
|
|
<additionalClasspathElements>
|
|
<additionalClasspathElement>${project.build.directory}/generated-resources</additionalClasspathElement>
|
|
</additionalClasspathElements>
|
|
<trimStackTrace>false</trimStackTrace>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>tomee-remote-pgsql</id>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.openejb</groupId>
|
|
<artifactId>arquillian-tomee-remote</artifactId>
|
|
<version>1.7.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.openejb</groupId>
|
|
<artifactId>apache-tomee</artifactId>
|
|
<version>1.7.3</version>
|
|
<classifier>plus</classifier>
|
|
<type>zip</type>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<testResources>
|
|
<testResource>
|
|
<directory>src/test/resources</directory>
|
|
</testResource>
|
|
<testResource>
|
|
<directory>src/test/resources-tomee-remote-pgsql</directory>
|
|
</testResource>
|
|
<testResource>
|
|
<directory>${project.build.directory}/generated-resources</directory>
|
|
</testResource>
|
|
</testResources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>de.jpdigital</groupId>
|
|
<artifactId>hibernate52-ddl-maven-plugin</artifactId>
|
|
<configuration>
|
|
<dialects>
|
|
<param>h2</param>
|
|
<param>postgresql9</param>
|
|
</dialects>
|
|
<packages>
|
|
<param>org.libreccm</param>
|
|
</packages>
|
|
<useEnvers>true</useEnvers>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>gen-ddl</goal>
|
|
</goals>
|
|
<phase>process-classes</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<forkMode>always</forkMode>
|
|
<forkCount>999</forkCount>
|
|
<reuseForks>true</reuseForks>
|
|
<systemPropertyVariables>
|
|
<tomee.classifier>plus</tomee.classifier>
|
|
<tomee.version>1.7.2</tomee.version>
|
|
</systemPropertyVariables>
|
|
<redirectTestOutputToFile>false</redirectTestOutputToFile>
|
|
<groups>
|
|
org.libreccm.tests.categories.UnitTest,
|
|
org.libreccm.tests.categories.IntegrationTest
|
|
</groups>
|
|
<trimStackTrace>false</trimStackTrace>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>wildfly-managed-h2-mem</id>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.wildfly.arquillian</groupId>
|
|
<artifactId>wildfly-arquillian-container-managed</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!--<dependency>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>org.jacoco.core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.arquillian.extension</groupId>
|
|
<artifactId>arquillian-jacoco</artifactId>
|
|
</dependency>-->
|
|
<dependency>
|
|
<groupId>net.sf.saxon</groupId>
|
|
<artifactId>Saxon-HE</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<testResources>
|
|
<testResource>
|
|
<directory>src/test/resources</directory>
|
|
</testResource>
|
|
<testResource>
|
|
<directory>src/test/resources-wildfly-remote-h2-mem</directory>
|
|
</testResource>
|
|
<testResource>
|
|
<directory>${project.build.directory}/generated-resources</directory>
|
|
</testResource>
|
|
</testResources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>de.jpdigital</groupId>
|
|
<artifactId>hibernate52-ddl-maven-plugin</artifactId>
|
|
<configuration>
|
|
<dialects>
|
|
<param>h2</param>
|
|
<param>postgresql9</param>
|
|
</dialects>
|
|
<packages>
|
|
<param>org.libreccm</param>
|
|
</packages>
|
|
<useEnvers>true</useEnvers>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>gen-ddl</goal>
|
|
</goals>
|
|
<phase>process-classes</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<forkMode>always</forkMode>
|
|
<forkCount>999</forkCount>
|
|
<reuseForks>true</reuseForks>
|
|
<systemPropertyVariables>
|
|
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
|
|
</systemPropertyVariables>
|
|
<redirectTestOutputToFile>false</redirectTestOutputToFile>
|
|
<groups>
|
|
org.libreccm.tests.categories.UnitTest,
|
|
org.libreccm.tests.categories.IntegrationTest
|
|
</groups>
|
|
<trimStackTrace>false</trimStackTrace>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>wildfly-managed-pgsql</id>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.wildfly.arquillian</groupId>
|
|
<artifactId>wildfly-arquillian-container-managed</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!--<dependency>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>org.jacoco.core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>-->
|
|
<dependency>
|
|
<groupId>net.sf.saxon</groupId>
|
|
<artifactId>Saxon-HE</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<testResources>
|
|
<testResource>
|
|
<directory>src/test/resources</directory>
|
|
</testResource>
|
|
<testResource>
|
|
<directory>src/test/resources-wildfly-remote-pgsql</directory>
|
|
</testResource>
|
|
<testResource>
|
|
<directory>${project.build.directory}/generated-resources</directory>
|
|
</testResource>
|
|
</testResources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>de.jpdigital</groupId>
|
|
<artifactId>hibernate52-ddl-maven-plugin</artifactId>
|
|
<configuration>
|
|
<dialects>
|
|
<param>h2</param>
|
|
<param>postgresql9</param>
|
|
</dialects>
|
|
<packages>
|
|
<param>org.libreccm</param>
|
|
</packages>
|
|
<useEnvers>true</useEnvers>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>gen-ddl</goal>
|
|
</goals>
|
|
<phase>process-classes</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<forkMode>always</forkMode>
|
|
<forkCount>999</forkCount>
|
|
<reuseForks>true</reuseForks>
|
|
<systemPropertyVariables>
|
|
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
|
|
</systemPropertyVariables>
|
|
<redirectTestOutputToFile>false</redirectTestOutputToFile>
|
|
<groups>
|
|
org.libreccm.tests.categories.UnitTest,
|
|
org.libreccm.tests.categories.IntegrationTest
|
|
</groups>
|
|
<trimStackTrace>false</trimStackTrace>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>wildfly-remote-h2-mem</id>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.wildfly.arquillian</groupId>
|
|
<artifactId>wildfly-arquillian-container-remote</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!--<dependency>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>org.jacoco.core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.arquillian.extension</groupId>
|
|
<artifactId>arquillian-jacoco</artifactId>
|
|
</dependency>-->
|
|
<dependency>
|
|
<groupId>net.sf.saxon</groupId>
|
|
<artifactId>Saxon-HE</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<testResources>
|
|
<testResource>
|
|
<directory>src/test/resources</directory>
|
|
</testResource>
|
|
<testResource>
|
|
<directory>src/test/resources-wildfly-remote-h2-mem</directory>
|
|
</testResource>
|
|
<testResource>
|
|
<directory>${project.build.directory}/generated-resources</directory>
|
|
</testResource>
|
|
</testResources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>de.jpdigital</groupId>
|
|
<artifactId>hibernate52-ddl-maven-plugin</artifactId>
|
|
<configuration>
|
|
<dialects>
|
|
<param>h2</param>
|
|
<param>postgresql9</param>
|
|
</dialects>
|
|
<packages>
|
|
<param>org.libreccm</param>
|
|
</packages>
|
|
<useEnvers>true</useEnvers>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>gen-ddl</goal>
|
|
</goals>
|
|
<phase>process-classes</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<forkMode>always</forkMode>
|
|
<forkCount>999</forkCount>
|
|
<reuseForks>true</reuseForks>
|
|
<systemPropertyVariables>
|
|
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
|
|
</systemPropertyVariables>
|
|
<redirectTestOutputToFile>false</redirectTestOutputToFile>
|
|
<groups>
|
|
org.libreccm.tests.categories.UnitTest,
|
|
org.libreccm.tests.categories.IntegrationTest
|
|
</groups>
|
|
<trimStackTrace>false</trimStackTrace>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>wildfly-remote-pgsql</id>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.wildfly.arquillian</groupId>
|
|
<artifactId>wildfly-arquillian-container-remote</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!--<dependency>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>org.jacoco.core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>-->
|
|
<dependency>
|
|
<groupId>net.sf.saxon</groupId>
|
|
<artifactId>Saxon-HE</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<testResources>
|
|
<testResource>
|
|
<directory>src/test/resources</directory>
|
|
</testResource>
|
|
<testResource>
|
|
<directory>src/test/resources-wildfly-remote-pgsql</directory>
|
|
</testResource>
|
|
<testResource>
|
|
<directory>${project.build.directory}/generated-resources</directory>
|
|
</testResource>
|
|
</testResources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>de.jpdigital</groupId>
|
|
<artifactId>hibernate52-ddl-maven-plugin</artifactId>
|
|
<configuration>
|
|
<dialects>
|
|
<param>h2</param>
|
|
<param>postgresql9</param>
|
|
</dialects>
|
|
<packages>
|
|
<param>org.libreccm</param>
|
|
</packages>
|
|
<useEnvers>true</useEnvers>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>gen-ddl</goal>
|
|
</goals>
|
|
<phase>process-classes</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<forkMode>always</forkMode>
|
|
<forkCount>999</forkCount>
|
|
<reuseForks>true</reuseForks>
|
|
<systemPropertyVariables>
|
|
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
|
|
</systemPropertyVariables>
|
|
<redirectTestOutputToFile>false</redirectTestOutputToFile>
|
|
<groups>
|
|
org.libreccm.tests.categories.UnitTest,
|
|
org.libreccm.tests.categories.IntegrationTest
|
|
</groups>
|
|
<trimStackTrace>false</trimStackTrace>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
</project>
|