445 lines
17 KiB
XML
Executable File
445 lines
17 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ Copyright © 2005 - 2018 TIBCO Software Inc.
|
|
~ http://www.jaspersoft.com.
|
|
~
|
|
~ This program is free software: you can redistribute it and/or modify
|
|
~ it under the terms of the GNU Affero General Public License as published by
|
|
~ the Free Software Foundation, either version 3 of the License, or
|
|
~ (at your option) any later version.
|
|
~
|
|
~ This program is distributed in the hope that it will be useful,
|
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
~ GNU Affero General Public License for more details.
|
|
~
|
|
~ You should have received a copy of the GNU Affero General Public License
|
|
~ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
-->
|
|
|
|
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
|
|
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>com.jaspersoft.jasperserver.api.metadata.impl</groupId>
|
|
<artifactId>jasperserver-api-metadata-impl</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>Jasper Server API Implementations - Metadata</name>
|
|
<url>http://www.jaspersoft.com</url>
|
|
<parent>
|
|
<groupId>com.jaspersoft.jasperserver</groupId>
|
|
<artifactId>jasperserver-api-impl</artifactId>
|
|
<version>7.1.0</version>
|
|
</parent>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.jaspersoft.jasperserver.api.common.impl</groupId>
|
|
<artifactId>jasperserver-api-common-impl</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.jaspersoft.jasperserver.api.metadata</groupId>
|
|
<artifactId>jasperserver-api-metadata</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.jaspersoft.jasperserver.core.util</groupId>
|
|
<artifactId>jasperserver-core-util</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.jaspersoft.jasperserver.crypto</groupId>
|
|
<artifactId>js-crypto</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-lang</groupId>
|
|
<artifactId>commons-lang</artifactId>
|
|
<version>2.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context-support</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-web</artifactId>
|
|
<version>${spring.security.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-aop</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-web</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jdbc</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-aop</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-tx</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-beans</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-expression</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-tx</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>oro</groupId>
|
|
<artifactId>oro</artifactId>
|
|
<version>2.0.8</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.castor</groupId>
|
|
<artifactId>castor-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.castor</groupId>
|
|
<artifactId>castor-xml</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>xerces</groupId>
|
|
<artifactId>xercesImpl</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<version>3.0.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.validation</groupId>
|
|
<artifactId>validation-api</artifactId>
|
|
<version>${validation.api.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<version>1.2.12</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cglib</groupId>
|
|
<artifactId>cglib-nodep</artifactId>
|
|
<version>2.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.testng</groupId>
|
|
<artifactId>testng</artifactId>
|
|
<version>6.8.8</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-all</artifactId>
|
|
<version>1.9.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.unitils</groupId>
|
|
<artifactId>unitils</artifactId>
|
|
<version>2.4</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.objenesis</groupId>
|
|
<artifactId>objenesis</artifactId>
|
|
<version>1.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>asm</groupId>
|
|
<artifactId>asm</artifactId>
|
|
<version>3.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>asm</groupId>
|
|
<artifactId>asm-analysis</artifactId>
|
|
<version>3.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>asm</groupId>
|
|
<artifactId>asm-tree</artifactId>
|
|
<version>3.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- SECURITY DEPENDENCIES: START -->
|
|
<dependency>
|
|
<groupId>json</groupId>
|
|
<artifactId>json-org</artifactId>
|
|
<version>1.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-jmx</artifactId>
|
|
<version>3.3.2.GA</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-core</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-validator</artifactId>
|
|
<version>${hibernate.validator.version}</version>
|
|
</dependency>
|
|
<!-- OWASP ESAPI: START -->
|
|
<dependency>
|
|
<groupId>org.owasp.esapi</groupId>
|
|
<artifactId>esapi</artifactId>
|
|
<version>2.0GA</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>xerces</groupId>
|
|
<artifactId>xmlParserAPIs</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>commons-beanutils</groupId>
|
|
<artifactId>commons-beanutils-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>xom</groupId>
|
|
<artifactId>xom</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.beanshell</groupId>
|
|
<artifactId>bsh-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.owasp.antisamy</groupId>
|
|
<artifactId>antisamy</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>net.sourceforge.nekohtml</groupId>
|
|
<artifactId>nekohtml</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-fileupload</groupId>
|
|
<artifactId>commons-fileupload</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.aspectj</groupId>
|
|
<artifactId>aspectjrt</artifactId>
|
|
<version>1.8.9</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.aspectj</groupId>
|
|
<artifactId>aspectjweaver</artifactId>
|
|
<version>1.8.9</version>
|
|
</dependency>
|
|
<!-- OWASP ESAPI: STOP -->
|
|
<!-- OWASP csrfguard: START -->
|
|
<dependency>
|
|
<groupId>org.owasp</groupId>
|
|
<artifactId>csrfguard</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
<version>1.52</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-lang</groupId>
|
|
<artifactId>commons-lang</artifactId>
|
|
<version>2.6</version>
|
|
</dependency>
|
|
<!-- OWASP csrfguard: STOP -->
|
|
<!-- SECURITY DEPENDENCIES: STOP -->
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${maven-surefire-plugin.version}</version>
|
|
<configuration>
|
|
<excludes>
|
|
</excludes>
|
|
<argLine>${argLine} </argLine>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.7</version>
|
|
<executions>
|
|
<execution>
|
|
<id>Instrument domain classes</id>
|
|
<configuration>
|
|
<tasks>
|
|
<taskdef name="instrument"
|
|
classname="org.hibernate.tool.instrument.cglib.InstrumentTask">
|
|
<classpath>
|
|
<path refid="maven.dependency.classpath"/>
|
|
<path refid="maven.plugin.classpath"/>
|
|
</classpath>
|
|
</taskdef>
|
|
<instrument verbose="true">
|
|
<fileset dir="${project.build.outputDirectory}">
|
|
<include name="**/ContentRepoFileResource.class"/>
|
|
<include name="**/RepoResource.class"/>
|
|
<include name="**/RepoFileResource.class"/>
|
|
</fileset>
|
|
</instrument>
|
|
</tasks>
|
|
</configuration>
|
|
<phase>process-classes</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>test</id>
|
|
<phase>process-test-resources</phase>
|
|
<configuration>
|
|
<tasks>
|
|
<!--pass through props to ant file -->
|
|
<property name="js-path" value="${js-path}"/>
|
|
<property name="js-pro-path" value="${js-pro-path}"/>
|
|
<property name="platform-path" value="${platform-path}"/>
|
|
<property name="target" value="${project.build.directory}/test-classes/esapi"/>
|
|
<ant antfile="${js-path}/build-config.xml" inheritall="true" inheritrefs="true">
|
|
<property name="module" value="ce.api-impl"/>
|
|
</ant>
|
|
</tasks>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>cglib</groupId>
|
|
<artifactId>cglib</artifactId>
|
|
<version>2.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-core</artifactId>
|
|
<version>3.3.2.GA-HHH-2763</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>net.sf.ehcache</groupId>
|
|
<artifactId>ehcache</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<version>1.6.1</version>
|
|
</dependency>
|
|
<!--
|
|
NOTE:
|
|
This dependency is not used here, but it's used in another antrun in jasperserver-war.
|
|
Maven has a pretty horrible bug (http://jira.codehaus.org/browse/MNG-1323) which
|
|
causes a subsequent use of maven-antrun-plugin to use the same dependencies as the first one.
|
|
This is apparently not fixed until maven 3.0.
|
|
-->
|
|
<dependency>
|
|
<groupId>ant-contrib</groupId>
|
|
<artifactId>ant-contrib</artifactId>
|
|
<version>1.0b3</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>ant</groupId>
|
|
<artifactId>ant</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
</plugins>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
<version>1.0.0</version>
|
|
<configuration>
|
|
<lifecycleMappingMetadata>
|
|
<pluginExecutions>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<versionRange>[1.0,)</versionRange>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<execute>
|
|
</execute>
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<versionRange>[1.0,)</versionRange>
|
|
<goals>
|
|
<goal>unpack-dependencies</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<execute>
|
|
</execute>
|
|
</action>
|
|
</pluginExecution>
|
|
</pluginExecutions>
|
|
</lifecycleMappingMetadata>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
</project>
|