| <?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> |
| |
| <parent> |
| <groupId>org.apache.myfaces.extensions.cdi.modules</groupId> |
| <artifactId>bv1-module-project</artifactId> |
| <version>1.0.5-SNAPSHOT</version> |
| </parent> |
| |
| <groupId>org.apache.myfaces.extensions.cdi.modules</groupId> |
| <artifactId>myfaces-extcdi-bv1-module-impl</artifactId> |
| |
| <name>MyFaces Extensions-CDI Bean-Validation 1.0 Module Impl</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.myfaces.extensions.cdi.core</groupId> |
| <artifactId>myfaces-extcdi-core-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.myfaces.extensions.cdi.modules</groupId> |
| <artifactId>myfaces-extcdi-bv1-module-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.myfaces.extensions.cdi.core</groupId> |
| <artifactId>myfaces-extcdi-core-impl</artifactId> |
| </dependency> |
| |
| <!-- test dependencies --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.myfaces.extensions.cdi.test</groupId> |
| <artifactId>myfaces-extcdi-owb-support-module</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.myfaces.extensions.cdi.test</groupId> |
| <artifactId>myfaces-extcdi-junit-support-module</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>2.5</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.bval</groupId> |
| <artifactId>bval-core</artifactId> |
| <version>0.2-incubating</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.bval</groupId> |
| <artifactId>bval-jsr303</artifactId> |
| <version>0.2-incubating</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.openwebbeans</groupId> |
| <artifactId>openwebbeans-impl</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.openwebbeans</groupId> |
| <artifactId>openwebbeans-spi</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.openwebbeans.test</groupId> |
| <artifactId>cditest</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.openwebbeans.test</groupId> |
| <artifactId>cditest-owb</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <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> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.7.1</version> |
| <configuration> |
| <!--parallel>methods</parallel--> |
| <threadCount>1</threadCount> |
| <properties> |
| <property> |
| <name>junit</name> |
| <value>true</value> |
| </property> |
| </properties> |
| <excludes> |
| <exclude>**/Test*.java</exclude> |
| <exclude>**/Abstract*.java</exclude> |
| <exclude>**/impl/validation/*.java</exclude> |
| <exclude>**/*$*.java</exclude> |
| </excludes> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven.surefire</groupId> |
| <artifactId>surefire-junit47</artifactId> |
| <version>2.7.1</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| <testResources> |
| <testResource> |
| <directory>src/test/java</directory> |
| <includes> |
| <include>**/*</include> |
| </includes> |
| <excludes> |
| <exclude>**/*.java</exclude> |
| </excludes> |
| </testResource> |
| <!-- TODO that's different from the scripting module - there it works without - here it doesn't -> check it --> |
| <testResource> |
| <directory>src/test/resources</directory> |
| <includes> |
| <include>**/*.xml</include> |
| </includes> |
| </testResource> |
| </testResources> |
| </build> |
| |
| </project> |