<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one | |
or more contributor license agreements. See the NOTICE file | |
distributed with this work for additional information | |
regarding copyright ownership. The ASF licenses this file | |
to you 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 | |
http://www.apache.org/licenses/LICENSE-2.0 | |
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. | |
--> | |
<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"> | |
<modelVersion>4.0.0</modelVersion> | |
<packaging>pom</packaging> | |
<groupId>org.apache.myfaces.extensions.validator.test-modules</groupId> | |
<artifactId>test-modules-project</artifactId> | |
<name>MyFaces Extensions-Validator Test-Modules</name> | |
<version>1.2.6-SNAPSHOT</version> | |
<parent> | |
<groupId>org.apache.myfaces.extensions.validator</groupId> | |
<artifactId>myfaces-extval-module</artifactId> | |
<version>1.2.6-SNAPSHOT</version> | |
</parent> | |
<modules> | |
<module>base-test-infrastructure</module> | |
<module>core-tests</module> | |
<module>property-validation-tests</module> | |
<module>bean-validation-tests</module> | |
<module>trinidad-component-support-tests</module> | |
</modules> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.myfaces.extensions.validator</groupId> | |
<artifactId>myfaces-extval-core</artifactId> | |
<version>1.2.6-SNAPSHOT</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.myfaces.core</groupId> | |
<artifactId>myfaces-api</artifactId> | |
<version>${jsf.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.myfaces.core</groupId> | |
<artifactId>myfaces-impl</artifactId> | |
<version>${jsf.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>javax.servlet</groupId> | |
<artifactId>servlet-api</artifactId> | |
<version>2.5</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>javax.servlet.jsp</groupId> | |
<artifactId>jsp-api</artifactId> | |
<version>2.1</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.myfaces.test</groupId> | |
<artifactId>myfaces-test12</artifactId> | |
<version>1.0.4</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<resources> | |
<resource> | |
<directory>src/main/config</directory> | |
<includes> | |
<include>**/*xml</include> | |
</includes> | |
<targetPath>/META-INF</targetPath> | |
</resource> | |
<resource> | |
<directory>src/main/resources</directory> | |
<includes> | |
<include>LICENSE.txt</include> | |
<include>NOTICE.txt</include> | |
</includes> | |
<targetPath>/META-INF</targetPath> | |
</resource> | |
<resource> | |
<directory>src/main/java</directory> | |
<includes> | |
<include>**/*properties</include> | |
</includes> | |
</resource> | |
</resources> | |
<plugins> | |
<plugin> | |
<inherited>true</inherited> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-source-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>attach-sources</id> | |
<goals> | |
<goal>jar</goal> | |
<goal>test-jar</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-jar-plugin</artifactId> | |
<version>2.2</version> | |
<executions> | |
<execution> | |
<goals> | |
<goal>test-jar</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.4.2</version> | |
<configuration> | |
<excludes> | |
<exclude>**/Abstract*.java</exclude> | |
<exclude>**/Base*.java</exclude> | |
<exclude>**/TestUtils.java</exclude> | |
<exclude>**/*Bean.java</exclude> | |
</excludes> | |
<useSystemClassLoader>true</useSystemClassLoader> | |
<forkMode>once</forkMode> | |
<argLine>-Xmx1024m -XX:MaxPermSize=512m</argLine> | |
</configuration> | |
</plugin> | |
<plugin> | |
<!-- Set compile source at 1.6 --> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<configuration> | |
<source>1.5</source> | |
<target>1.5</target> | |
<optimize>false</optimize> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |