| <?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 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-parent</artifactId> |
| <version>2.0-M1</version> |
| </parent> |
| |
| <artifactId>camel-testng</artifactId> |
| <packaging>bundle</packaging> |
| <name>Camel :: TestNG</name> |
| <description>Camel TestNG support</description> |
| |
| <properties> |
| <camel.osgi.export.pkg>org.apache.camel.testng.*</camel.osgi.export.pkg> |
| </properties> |
| |
| <dependencies> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-spring</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <classifier>jdk15</classifier> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-all</artifactId> |
| </dependency> |
| |
| <!-- testing --> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-core</artifactId> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- for testNG reports --> |
| <dependency> |
| <groupId>org.uncommons.reportng</groupId> |
| <artifactId>reportng</artifactId> |
| <version>0.9.2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>velocity</groupId> |
| <artifactId>velocity-dep</artifactId> |
| <version>1.4</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| |
| <build> |
| <plugins> |
| |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.4.1</version> |
| <configuration> |
| <properties> |
| <property> |
| <name>-d</name> |
| <value>target/test-output</value> |
| </property> |
| <property> |
| <name>listener</name> |
| <value> |
| org.uncommons.reportng.HTMLReporter,org.uncommons.reportng.JUnitXMLReporter,org.testng.reporters.SuiteHTMLReporter |
| </value> |
| </property> |
| </properties> |
| <systemProperties> |
| <property> |
| <name>org.uncommons.reportng.title</name> |
| <value>My Test Suite</value> |
| </property> |
| </systemProperties> |
| |
| <!-- |
| <suiteXmlFiles> |
| <suiteXmlFile>testng.xml</suiteXmlFile> |
| </suiteXmlFiles> |
| --> |
| |
| <!-- |
| <childDelegation>false</childDelegation> |
| <useFile>true</useFile> |
| --> |
| </configuration> |
| </plugin> |
| |
| <!-- |
| <plugin> |
| <groupId>com.sun.tools.jxc.maven2</groupId> |
| <artifactId>maven-jaxb-schemagen-plugin</artifactId> |
| </plugin> |
| --> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-clean-plugin</artifactId> |
| <configuration> |
| <filesets> |
| <fileset> |
| <directory>${basedir}/activemq-data</directory> |
| </fileset> |
| </filesets> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>test</id> |
| <phase>test</phase> |
| <configuration> |
| <tasks> |
| <mkdir dir="${basedir}/target/junit"/> |
| <mkdir dir="${basedir}/target/junit2"/> |
| |
| <junitreport todir="${basedir}/target/junit"> |
| <fileset dir="${basedir}/target/surefire-reports/xml"> |
| <include name="*.xml"/> |
| </fileset> |
| <report format="frames" todir="${basedir}/target/junit2"/> |
| <!--<report format="noframes" todir=""/>--> |
| </junitreport> |
| </tasks> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.ant</groupId> |
| <artifactId>ant-junit</artifactId> |
| <version>1.7.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.ant</groupId> |
| <artifactId>ant-trax</artifactId> |
| <version>1.7.0</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-report-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </reporting> |
| </project> |