maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From muaazster <muaazs...@gmail.com>
Subject SureFire Report Plugin
Date Fri, 04 Nov 2011 04:27:18 GMT
Guys , i am using maven 2.2.1 version recently i configured the surefire
report plugin , 
the problem is that after generating the reports , reports doesnt contain
any images , seems some of the dependencies are not there ,   when i run
report in help mode it appears as 'surefire-report:report' doesnt exist or
no valid version found . I have stated my POM  content as following , Please
help me regarding this , 

Thank you , 


<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>
  <groupId>com.ebuilder.ofa</groupId>
  <artifactId>selenium-ofa</artifactId>
  <packaging>jar</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>selenium-ofa</name>
  <url>http://maven.apache.org</url>
  
  <repositories>
        <repository>
            <id>openqa-releases</id>
            <name>Openqa Release Repository</name>
            <url>http://nexus.openqa.org/content/repositories/releases</url>
            <layout>default</layout>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
            <releases>
                <enabled>true</enabled>
            </releases>
        </repository>
        <repository>
            <id>openqa-snapshots</id>
            <name>Openqa Snapshot Repository</name>
           
<url>http://nexus.openqa.org/content/repositories/snapshots</url>
            <layout>default</layout>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>daily</updatePolicy>
                <checksumPolicy>ignore</checksumPolicy>
            </snapshots>
            <releases>
                <enabled>false</enabled>
            </releases>
        </repository>
    </repositories>

	<dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.2</version>
            <scope>test</scope>
        </dependency>      
	<dependency>
				<groupId>org.apache.maven.surefire</groupId> 
					<artifactId>surefire-junit</artifactId> 
				<version>2.4.3</version> 
	</dependency>
		<dependency>
				<groupId>jdom</groupId> 
					<artifactId>jdom</artifactId> 
					<version>1.0</version> 
		</dependency>
        <dependency>
            <groupId>org.seleniumhq.selenium.client-drivers</groupId>
            <artifactId>selenium-java-client-driver</artifactId>
            <version>1.0.1</version>
            <scope>test</scope>
        </dependency>
	    <dependency>
			<groupId>org.apache.maven.doxia</groupId> 
				<artifactId>doxia-core</artifactId> 
					<version>1.2</version> 
			</dependency>
			<dependency>
				<groupId>org.apache.maven.doxia</groupId> 
					<artifactId>doxia-decoration-model</artifactId> 
						<version>1.2</version> 
			</dependency>
			<dependency>
					<groupId>org.apache.maven.doxia</groupId> 
						<artifactId>doxia-site-renderer</artifactId> 
						<version>1.2</version> 
			</dependency>
    </dependencies>
	<build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>selenium-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>start</id>
                        <phase>pre-integration-test</phase>
                        <goals>
                            <goal>start-server</goal>
                        </goals>
                        <configuration>
                            <background>true</background>
                            <logOutput>true</logOutput>
                        </configuration>
                    </execution>
                    <execution>
                        <id>stop</id>
                        <phase>post-integration-test</phase>
                        <goals>
                            <goal>stop-server</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
								
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    
                    <skip>false</skip>
					<includes>
                        <include>**/*AllTests.java</include>
                    </includes>
                </configuration>					
                <executions>
                    <execution>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>test</goal>
                        </goals>
                        <configuration>
                            <skip>false</skip>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
			    <plugin>
						<groupId>org.apache.maven.plugins</groupId>
							<artifactId>maven-surefire-report-plugin</artifactId>
							    <version>2.10</version>
								<executions>
									<execution>
										<id>report-only</id>
											<goals>
												<goal>report-only</goal>
											</goals>
									</execution>
								</executions>
				</plugin>
        </plugins>
    </build>
	<reporting>
		<plugins>
			<plugin>
        			<groupId>org.apache.maven.plugins</groupId>
							<artifactId>maven-surefire-report-plugin</artifactId>
                               <version>2.10</version>							
								<configuration>
									<showSuccess>false</showSuccess>
								</configuration>
			</plugin>	
	 </plugins>
  </reporting>
</project>

--
View this message in context: http://maven.40175.n5.nabble.com/SureFire-Report-Plugin-tp4963013p4963013.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message