Arquillian drone graphene Failed to connect to binary FirefoxBinary / chrome - jboss-arquillian

Arquillian - Drone - graphene - Glassfish- Firefox v.48 Chrome v.52.0.2743.116
Any help is appreciated
When i run my test it opens up the browser does not do any thing and i get following error
INFO: login was successfully deployed in 11,310 milliseconds.
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
lState changed: false, state: {"app-profile":{"fxdriver#googlecode.com":{"d":"/var/folders/wc/2w9f8xn95zs4r2ym8qbfrx1m0000gn/T/anonymous3674174231990276982webdriver-profile/extensions/fxdriver#googlecode.com","e":false,"v":"2.45.0","st":1473864800000,"mt":1473864800000}},"app-system-defaults":{"e10srollout#mozilla.org":{"d":"/Applications/Firefox.app/Contents/Resources/browser/features/e10srollout#mozilla.org.xpi","e":true,"v":"1.1","st":1473864759000},"firefox#getpocket.com":{"d":"/Applications/Firefox.app/Contents/Resources/browser/features/firefox#getpocket.com.xpi","e":true,"v":"1.0.4","st":1473864759000},"loop#mozilla.org":{"d":"/Applications/Firefox.app/Contents/Resources/browser/features/loop#mozilla.org.xpi","e":true,"v":"1.4.4","st":1473864759000}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"/Applications/Firefox.app/Contents/Resources/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi","e":true,"v":"48.0.2","st":1473864759000}}}
1473864807843 addons.xpi DEBUG No changes found
ava.lang.RuntimeException: Unable to instantiate Drone via org.openqa.selenium.firefox.FirefoxDriver(Capabilities): org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(/Applications/Firefox.app/Contents/MacOS/firefox-bin) on port 7055; process output follows:
lState changed: false, state: {"app-profile":{"fxdriver#googlecode.com":{"d":"/var/folders/wc/2w9f8xn95zs4r2ym8qbfrx1m0000gn/T/anonymous3674174231990276982webdriver-profile/extensions/fxdriver#googlecode.com","e":false,"v":"2.45.0","st":1473864800000,"mt":1473864800000}},"app-system-defaults":{"e10srollout#mozilla.org":{"d":"/Applications/Firefox.app/Contents/Resources/browser/features/e10srollout#mozilla.org.xpi","e":true,"v":"1.1","st":1473864759000},"firefox#getpocket.com":{"d":"/Applications/Firefox.app/Contents/Resources/browser/features/firefox#getpocket.com.xpi","e":true,"v":"1.0.4","st":1473864759000},"loop#mozilla.org":{"d":"/Applications/Firefox.app/Contents/Resources/browser/features/loop#mozilla.org.xpi","e":true,"v":"1.4.4","st":1473864759000}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"/Applications/Firefox.app/Contents/Resources/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi","e":true,"v":"48.0.2","st":1473864759000}}}
1473864807843 addons.xpi DEBUG No changes found
Following is my test
package com.ex;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.drone.api.annotation.Drone;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.arquillian.spring.integration.test.annotation.SpringConfiguration;
import org.jboss.arquillian.test.api.ArquillianResource;
import org.jboss.shrinkwrap.api.Archive;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import java.net.URL;
/**
* Created by FaisalKhan on 9/8/16.
*/
#RunWith(Arquillian.class)
#SpringConfiguration("applicationContext.xml")
#RunAsClient
public class ArquillianTest {
#Deployment
public static Archive createTestArchive() {
return Deployments.createDeployment();
}
#Drone
private WebDriver browser;
#ArquillianResource
private URL contextRoot;
#Before
public void loadPage() {
browser.navigate().to(contextRoot + "login");
}
#FindBy(id = "name")
private WebElement loginInput;
#FindBy(id = "pwd")
private WebElement pwdInput;
#FindBy(id = "submit")
private WebElement submitBtn;
#Test
public void test_drone_Login() {
loginInput.sendKeys("test");
pwdInput.sendKeys("test");
submitBtn.submit();
Assert.assertTrue(true);
}
}
following is my arquillian.xml
<?xml version="1.0" encoding="UTF-8"?>
<arquillian xmlns="http://jboss.org/schema/arquillian"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://jboss.org/schema/arquillian
http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
<defaultProtocol type="Servlet 3.0"/>
<extension qualifier="webdriver">
<property name="browser">firefox</property>
</extension>
</arquillian>
following is my pom
<?xml version="1.0" encoding="UTF-8"?>
<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.concretepage.app</groupId>
<artifactId>spring-mvc-testing</artifactId>
<version>1.0.0</version>
<packaging>war</packaging>
<name>SpringMVC</name>
<prerequisites>
<maven>${maven.version}</maven>
</prerequisites>
<repositories>
</repositories>
<properties>
<arquillian.version>1.1.11.Final</arquillian.version>
<jetty.distro.version>9.3.0.M1</jetty.distro.version>
<maven.version>3.3.9</maven.version>
<shrinkwrap.resolver.version>2.2.4</shrinkwrap.resolver.version>
<spring.version>3.2.17.RELEASE</spring.version>
<surefire.reportFormat>plain</surefire.reportFormat>
<surefire.useFile>false</surefire.useFile>
<surefire.version>2.19.1</surefire.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian.selenium</groupId>
<artifactId>selenium-bom</artifactId>
<version>2.53.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.extension</groupId>
<artifactId>arquillian-drone-bom</artifactId>
<version>2.0.0.Final</version>
<type>pom</type>
<scope>import</scope>
<exclusions>
<exclusion>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-firefox-driver</artifactId>
</exclusion>
<exclusion>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-chrome-driver</artifactId>
</exclusion>
<exclusion>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-safari-driver</artifactId>
</exclusion>
<exclusion>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-support</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.el</artifactId>
<version>3.0.1-b08</version>
</dependency>
<dependency>
<groupId>org.arquillian.universe</groupId>
<artifactId>arquillian-spring</artifactId>
<version>1.0.0.Alpha3</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-bom</artifactId>
<version>1.1.8.Final</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.resolver</groupId>
<artifactId>shrinkwrap-resolver-depchain</artifactId>
<version>${shrinkwrap.resolver.version}</version>
<scope>test</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
<profiles>
<profile>
<id>glassfish-embedded</id>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-glassfish-embedded-3.1</artifactId>
<version>1.0.0.CR4</version>
</dependency>
<dependency>
<groupId>org.glassfish.main.extras</groupId>
<artifactId>glassfish-embedded-all</artifactId>
<version>3.1.2.2</version>
<scope>provided</scope>
</dependency>
</dependencies>
</profile>
</profiles>
<dependencies>
<!--<dependency>
<groupId>org.jboss.arquillian.protocol</groupId>
<artifactId>arquillian-protocol-servlet</artifactId>
<version>${arquillian.version}</version>
</dependency>
-->
<dependency>
<groupId>org.jboss.arquillian.junit</groupId>
<artifactId>arquillian-junit-core</artifactId>
<version>${arquillian.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.extension</groupId>
<artifactId>arquillian-service-integration-spring-inject</artifactId>
<version>1.1.0.Alpha1</version>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-container-test-impl-base</artifactId>
<version>${arquillian.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>jstl</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>taglibs</groupId>
<artifactId>standard</artifactId>
<version>1.1.2</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>4.0.0-b01</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>3.2.17.RELEASE</version>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.junit</groupId>
<artifactId>arquillian-junit-container</artifactId>
<version>${arquillian.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.graphene</groupId>
<artifactId>graphene-webdriver</artifactId>
<version>2.1.0.Final</version>
<type>pom</type>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>javax.enterprise</groupId>
<artifactId>cdi-api</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<webXml>src/main/webapp/WEB-INF/web.xml</webXml>
<webResources>
<resource>
<!-- this is relative to the pom.xml directory -->
<directory>src/main/webapp/</directory>
</resource>
</webResources>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.2.11.v20150529</version>
<configuration>
<scanIntervalSeconds>10</scanIntervalSeconds>
<webApp>
<contextPath>/</contextPath>
</webApp>
</configuration>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
</plugin>
<plugin>
<artifactId>maven-help-plugin</artifactId>
<version>2.2</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.3</version>
</plugin>
</plugins>
</build>
</project>
and following is my dependency tree
[INFO] --- maven-dependency-plugin:2.10:tree (default-cli) # spring-mvc-testing ---
[INFO] com.concretepage.app:spring-mvc-testing:war:1.0.0
[INFO] +- org.jboss.arquillian.junit:arquillian-junit-core:jar:1.1.11.Final:compile
[INFO] | \- org.jboss.arquillian.test:arquillian-test-spi:jar:1.1.11.Final:compile
[INFO] | \- org.jboss.arquillian.core:arquillian-core-spi:jar:1.1.11.Final:compile
[INFO] +- org.jboss.arquillian.extension:arquillian-service-integration-spring-inject:jar:1.1.0.Alpha1:compile
[INFO] | +- org.jboss.arquillian.container:arquillian-container-test-spi:jar:1.1.11.Final:compile
[INFO] | +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-impl-maven:jar:2.2.2:compile
[INFO] | | +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api-maven:jar:2.2.2:compile
[INFO] | | | \- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api:jar:2.2.2:compile
[INFO] | | +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-spi-maven:jar:2.2.2:compile
[INFO] | | | \- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-spi:jar:2.2.2:compile
[INFO] | | +- org.eclipse.aether:aether-api:jar:1.0.0.v20140518:compile
[INFO] | | +- org.eclipse.aether:aether-impl:jar:1.0.0.v20140518:compile
[INFO] | | +- org.eclipse.aether:aether-spi:jar:1.0.0.v20140518:compile
[INFO] | | +- org.eclipse.aether:aether-util:jar:1.0.0.v20140518:compile
[INFO] | | +- org.eclipse.aether:aether-connector-basic:jar:1.0.0.v20140518:compile
[INFO] | | +- org.eclipse.aether:aether-transport-wagon:jar:1.0.0.v20140518:compile
[INFO] | | +- org.apache.maven:maven-aether-provider:jar:3.2.5:compile
[INFO] | | +- org.apache.maven:maven-model:jar:3.2.5:compile
[INFO] | | +- org.apache.maven:maven-model-builder:jar:3.2.5:compile
[INFO] | | | \- org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[INFO] | | +- org.apache.maven:maven-repository-metadata:jar:3.2.5:compile
[INFO] | | +- org.apache.maven:maven-settings:jar:3.2.5:compile
[INFO] | | +- org.apache.maven:maven-settings-builder:jar:3.2.5:compile
[INFO] | | +- com.google.guava:guava:jar:18.0:compile
[INFO] | | +- org.codehaus.plexus:plexus-interpolation:jar:1.21:compile
[INFO] | | +- org.codehaus.plexus:plexus-utils:jar:3.0.20:compile
[INFO] | | +- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[INFO] | | | \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[INFO] | | +- org.apache.maven.wagon:wagon-provider-api:jar:2.6:compile
[INFO] | | +- org.apache.maven.wagon:wagon-file:jar:2.6:compile
[INFO] | | | \- commons-lang:commons-lang:jar:2.6:compile
[INFO] | | \- org.apache.maven.wagon:wagon-http-lightweight:jar:2.6:compile
[INFO] | | \- org.apache.maven.wagon:wagon-http-shared:jar:2.6:compile
[INFO] | | \- org.jsoup:jsoup:jar:1.7.2:compile
[INFO] | \- org.jboss.arquillian.extension:arquillian-service-integration-spring:jar:1.1.0.Alpha1:compile
[INFO] +- org.jboss.arquillian.container:arquillian-container-test-impl-base:jar:1.1.11.Final:compile
[INFO] | +- org.jboss.arquillian.container:arquillian-container-spi:jar:1.1.11.Final:compile
[INFO] | | +- org.jboss.arquillian.config:arquillian-config-api:jar:1.1.11.Final:compile
[INFO] | | +- org.jboss.arquillian.config:arquillian-config-impl-base:jar:1.1.11.Final:compile
[INFO] | | +- org.jboss.shrinkwrap:shrinkwrap-api:jar:1.2.3:compile
[INFO] | | \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api-base:jar:2.0.0-alpha-8:compile
[INFO] | +- org.jboss.arquillian.test:arquillian-test-api:jar:1.1.11.Final:compile
[INFO] | | \- org.jboss.arquillian.core:arquillian-core-api:jar:1.1.11.Final:compile
[INFO] | \- org.jboss.arquillian.container:arquillian-container-test-api:jar:1.1.11.Final:compile
[INFO] +- org.springframework:spring-web:jar:3.2.17.RELEASE:compile
[INFO] | +- org.springframework:spring-aop:jar:3.2.17.RELEASE:compile
[INFO] | | \- aopalliance:aopalliance:jar:1.0:compile
[INFO] | +- org.springframework:spring-beans:jar:3.2.17.RELEASE:compile
[INFO] | \- org.springframework:spring-core:jar:3.2.17.RELEASE:compile
[INFO] | \- commons-logging:commons-logging:jar:1.1.3:compile
[INFO] +- org.springframework:spring-webmvc:jar:3.2.17.RELEASE:compile
[INFO] | \- org.springframework:spring-expression:jar:3.2.17.RELEASE:compile
[INFO] +- jstl:jstl:jar:1.2:compile
[INFO] +- taglibs:standard:jar:1.1.2:compile
[INFO] +- javax.servlet:javax.servlet-api:jar:4.0.0-b01:compile
[INFO] +- junit:junit:jar:4.12:test
[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- org.springframework:spring-context:jar:3.2.17.RELEASE:compile
[INFO] +- org.jboss.arquillian.junit:arquillian-junit-container:jar:1.1.11.Final:compile
[INFO] | +- org.jboss.arquillian.core:arquillian-core-impl-base:jar:1.1.11.Final:compile
[INFO] | +- org.jboss.arquillian.test:arquillian-test-impl-base:jar:1.1.11.Final:compile
[INFO] | +- org.jboss.arquillian.container:arquillian-container-impl-base:jar:1.1.11.Final:compile
[INFO] | \- org.jboss.shrinkwrap:shrinkwrap-impl-base:jar:1.2.3:compile
[INFO] | \- org.jboss.shrinkwrap:shrinkwrap-spi:jar:1.2.3:compile
[INFO] +- org.jboss.arquillian.graphene:graphene-webdriver:pom:2.1.0.Final:test
[INFO] | +- org.jboss.arquillian.graphene:graphene-webdriver-api:jar:2.1.0.Final:test
[INFO] | +- org.jboss.arquillian.graphene:graphene-webdriver-spi:jar:2.1.0.Final:test
[INFO] | +- org.jboss.arquillian.graphene:graphene-webdriver-impl:jar:2.1.0.Final:test
[INFO] | | +- org.jboss.arquillian.extension:arquillian-drone-impl:jar:2.0.0.Final:test
[INFO] | | +- org.jboss.arquillian.extension:arquillian-drone-configuration:jar:2.0.0.Final:test
[INFO] | | +- cglib:cglib:jar:2.2.2:test
[INFO] | | | \- asm:asm:jar:3.3.1:test
[INFO] | | \- org.objenesis:objenesis:jar:1.2:test
[INFO] | +- org.jboss.arquillian.extension:arquillian-drone-webdriver-depchain:pom:2.0.0.Final:test
[INFO] | | +- org.jboss.arquillian.extension:arquillian-drone-api:jar:2.0.0.Final:test
[INFO] | | +- org.jboss.arquillian.extension:arquillian-drone-spi:jar:2.0.0.Final:test
[INFO] | | +- org.jboss.arquillian.extension:arquillian-drone-webdriver:jar:2.0.0.Final:test
[INFO] | | +- org.seleniumhq.selenium:selenium-api:jar:2.53.1:test
[INFO] | | | \- com.google.code.gson:gson:jar:2.3.1:test
[INFO] | | +- org.seleniumhq.selenium:selenium-support:jar:2.53.1:test
[INFO] | | +- org.seleniumhq.selenium:selenium-chrome-driver:jar:2.53.1:test
[INFO] | | +- org.seleniumhq.selenium:selenium-firefox-driver:jar:2.53.1:test
[INFO] | | | +- commons-io:commons-io:jar:2.4:compile
[INFO] | | | \- org.apache.commons:commons-exec:jar:1.3:test
[INFO] | | +- org.seleniumhq.selenium:selenium-ie-driver:jar:2.53.1:test
[INFO] | | | +- net.java.dev.jna:jna:jar:4.1.0:test
[INFO] | | | \- net.java.dev.jna:jna-platform:jar:4.1.0:test
[INFO] | | +- org.seleniumhq.selenium:selenium-remote-driver:jar:2.53.1:test
[INFO] | | | +- cglib:cglib-nodep:jar:2.1_3:test
[INFO] | | | \- org.apache.httpcomponents:httpclient:jar:4.5.1:test
[INFO] | | | +- org.apache.httpcomponents:httpcore:jar:4.4.3:test
[INFO] | | | \- commons-codec:commons-codec:jar:1.9:test
[INFO] | | +- org.seleniumhq.selenium:htmlunit-driver:jar:2.20:test
[INFO] | | | +- net.sourceforge.htmlunit:htmlunit:jar:2.20:test
[INFO] | | | | +- xalan:xalan:jar:2.7.2:test
[INFO] | | | | | \- xalan:serializer:jar:2.7.2:test
[INFO] | | | | +- org.apache.commons:commons-lang3:jar:3.4:test
[INFO] | | | | +- org.apache.httpcomponents:httpmime:jar:4.5.2:test
[INFO] | | | | +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.17:test
[INFO] | | | | +- xerces:xercesImpl:jar:2.11.0:test
[INFO] | | | | | \- xml-apis:xml-apis:jar:1.4.01:test
[INFO] | | | | +- net.sourceforge.nekohtml:nekohtml:jar:1.9.22:test
[INFO] | | | | +- net.sourceforge.cssparser:cssparser:jar:0.9.18:test
[INFO] | | | | | \- org.w3c.css:sac:jar:1.3:test
[INFO] | | | | \- org.eclipse.jetty.websocket:websocket-client:jar:9.2.15.v20160210:test
[INFO] | | | | +- org.eclipse.jetty:jetty-util:jar:9.2.15.v20160210:test
[INFO] | | | | +- org.eclipse.jetty:jetty-io:jar:9.2.15.v20160210:test
[INFO] | | | | \- org.eclipse.jetty.websocket:websocket-common:jar:9.2.15.v20160210:test
[INFO] | | | | \- org.eclipse.jetty.websocket:websocket-api:jar:9.2.15.v20160210:test
[INFO] | | | \- commons-collections:commons-collections:jar:3.2.2:test
[INFO] | | +- com.opera:operadriver:jar:1.5:test
[INFO] | | | +- com.opera:operalaunchers:jar:1.1:test
[INFO] | | | +- com.google.protobuf:protobuf-java:jar:2.4.1:test
[INFO] | | | +- commons-jxpath:commons-jxpath:jar:1.3:test
[INFO] | | | \- org.ini4j:ini4j:jar:0.5.2:test
[INFO] | | \- org.jboss.arquillian.extension:arquillian-phantom-driver:jar:1.2.1.Final:test
[INFO] | | +- com.codeborne:phantomjsdriver:jar:1.2.1:test
[INFO] | | \- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-depchain:pom:2.2.4:test
[INFO] | | +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api-maven-archive:jar:2.2.2:test
[INFO] | | \- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-impl-maven-archive:jar:2.2.2:test
[INFO] | | +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-spi-maven-archive:jar:2.2.2:test
[INFO] | | +- org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.0.M1:test
[INFO] | | | \- org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.0.M1:test
[INFO] | | \- org.codehaus.plexus:plexus-compiler-javac:jar:2.3:test
[INFO] | | \- org.codehaus.plexus:plexus-compiler-api:jar:2.3:test
[INFO] | \- org.seleniumhq.selenium:selenium-java:jar:2.53.1:test
[INFO] | +- org.seleniumhq.selenium:selenium-edge-driver:jar:2.53.1:test
[INFO] | +- org.seleniumhq.selenium:selenium-safari-driver:jar:2.53.1:test
[INFO] | | \- io.netty:netty:jar:3.5.7.Final:test
[INFO] | \- org.seleniumhq.selenium:selenium-leg-rc:jar:2.53.1:test
[INFO] +- javax.enterprise:cdi-api:jar:1.1:compile
[INFO] | +- javax.el:el-api:jar:2.2:compile
[INFO] | +- org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.1_spec:jar:1.0.0.Beta1:compile
[INFO] | +- javax.annotation:jsr250-api:jar:1.0:compile
[INFO] | \- javax.inject:javax.inject:jar:1:compile
[INFO] \- org.jboss.arquillian.protocol:arquillian-protocol-servlet:jar:1.1.11.Final:compile
[INFO] \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-spi:jar:2.0.0-alpha-8:compile

In Drone 2.0.1.Final (released today morning - in maven central probably tomorrow), there has been added a possibility to define your own firefox driver binary to support ff48 and associated gecko driver.
The gecko drivers can be downloaded here: https://github.com/mozilla/geckodriver/releases
To define your gecko driver use the parameter "firefoxDriverBinary":
<property name="firefoxDriverBinary">/path/to/your/driver/binary</property>
For more information see: https://github.com/arquillian/arquillian-extension-drone/commit/98843a2923acf201edb02738ba1113ec1ad74b32
To get this firefox version run, you need to have the latest selenium (3.0.0-beta3) on your classpath. As this is still a beta version and the release of Drone is a minor release, the version is nut fully supported yet - in other words, this version of selenium dependency is not automatically fetched (there is still 2.53.1). Please update your selenium-bom to the latest version and try it again.

For firefox, From v47, You need to use Marionette driver.
https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/WebDriver/status
I am not sure if arquillian drone has been updated for this driver as it still seems to have issues. You need to downgrade firefox to v45 to run your tests.
For chrome, you need to set the path in the arquillian xml.
<extension qualifier="webdriver">
<property name="browser">chrome</property>
<property name="chromeDriverBinary">path</property>
</extension>
Check here for the maven dependencies and other info:
http://www.testautomationguru.com/selenium-webdriver-automation-using-arquillian-framework/

Related

Why Gluon Mobile app for android platform fail to compile on wsl Ubuntu 20.04 LTS?

I am trying to develop android apk file by using wsl Ubuntu 20.04 LTS with maven plugins. I followed all requirements from https://docs.gluonhq.com/ and I have managed to perform some tasks correctly. The problem arise when running command
mvn -Pandroid gluonfx:build , compiling task failed and throws outputs as:
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< com.gluonmaven.linux:gluonmavenlinux >----------------
[INFO] Building GluonMavenLinux 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- gluonfx-maven-plugin:1.0.16:build (default-cli) # gluonmavenlinux ---
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< com.gluonmaven.linux:gluonmavenlinux >----------------
[INFO] Building GluonMavenLinux 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] >>> gluonfx-maven-plugin:1.0.16:compile (default-cli) > process-classes # gluonmavenlinux >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # gluonmavenlinux ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) # gluonmavenlinux ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 6 source files to /mnt/d/Epicstats/GluonMavenLinux/target/classes
[INFO]
[INFO] <<< gluonfx-maven-plugin:1.0.16:compile (default-cli) < process-classes # gluonmavenlinux <<<
[INFO]
[INFO]
[INFO] --- gluonfx-maven-plugin:1.0.16:compile (default-cli) # gluonmavenlinux ---
[Tue Dec 06 15:05:28 EAT 2022][INFO] ==================== COMPILE TASK ====================
_______ ___ __ __ _______ __ _
| || | | | | || || | | |
| ___|| | | | | || _ || |_| |
| | __ | | | |_| || | | || |
| || || |___ | || |_| || _ |
| |_| || || || || | | |
|_______||_______||_______||_______||_| |__|
Access to the latest docs, tips and tricks and more info on
[Tue Dec 06 15:05:30 EAT 2022][INFO] We will now compile your code for aarch64-linux-android. This may take some time.
how to get support? Register your usage of Gluon Substrate now at
https://gluonhq.com/activate
[Tue Dec 06 15:05:30 EAT 2022][SEVERE] Process compile-additional-sources failed with result: 2
Check the log files under /mnt/d/Epicstats/GluonMavenLinux/target/gluonfx/aarch64-android/gvm/log
And please check https://docs.gluonhq.com/ for more information.
[Tue Dec 06 15:05:30 EAT 2022][INFO] Logging process [compile-additional-sources] to file: /mnt/d/Epicstats/GluonMavenLinux/target/gluonfx/log/process-compile-additional-sources-1670328330610.log
[Tue Dec 06 15:05:30 EAT 2022][SEVERE] Compiling failed.
Check the log files under /mnt/d/Epicstats/GluonMavenLinux/target/gluonfx/aarch64-android/gvm/log
And please check https://docs.gluonhq.com/ for more information.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.542 s
[INFO] Finished at: 2022-12-06T15:05:30+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.gluonhq:gluonfx-maven-plugin:1.0.16:compile (default-cli) on project gluonmavenlinux: Compiling failed -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.094 s
[INFO] Finished at: 2022-12-06T15:05:30+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.gluonhq:gluonfx-maven-plugin:1.0.16:build (default-cli) on project gluonmavenlinux: Error, gluonfx:build failed -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.gluonhq:gluonfx-maven-plugin:1.0.16:build (default-cli) on project gluonmavenlinux: Error, gluonfx:build failed
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error, gluonfx:build failed
at com.gluonhq.NativeBuildMojo.execute (NativeBuildMojo.java:82)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
I have tried to resolve the problem by not running mvn -Pandroid gluonfx:build
and running mvn -Pandroid gluonfx:compile but the problem still exit. Later on I discovered that gluonfx:build is a combination of gluonfx:compile and gluonfx:link
Where might I be making mistakes, anyone who has an Idea.
I am using:
JDK 11
apache-maven-3.8.1
android-ndk-r25b
graalvm-svm-java11-linux-gluon-22.1.0.1-Final

"error: cannot access Killable" while compiling the code with selenium java 3.11 libraries

The code compilation is failing with "error: cannot access Killable" at the line
class FirefoxWebDriver extends FirefoxDriver{
......
We have upgraded to Selenium 3.11 from 3.3.1. We are trying to run tests on browser configured with selenium grid using Docker. I found that Killable class was removed. Kindly suggest if I need update any code chagnes.
Thanks.
It is tough to analyze/conclude without your Project Setup information (i.e. you are using Selenium JARs, Ant, Maven or Gradle), your code trials and the error stack trace.
However this error message...
error: cannot access Killable
...implies that your program faced an error while while accessing Killable.
Killable.class file
As per the discussion Killable ClassNotFound the Killable.class file was contained in selenium-api-2.21.0.jar. Additionally, using Maven dependency of selenium-server 2.21.0 produced the error:
Exception in thread "main" java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/openqa/selenium/internal/Killable
Explaination
As you have mentioned you have upgraded from Selenium 3.3.1 to Selenium 3.11 the possible reason is version conflict among the binaries you are using either in the form of JARs, Maven or Gradle dependency and can be due to presence of one/multiple among the following:
selenium-server 2.21.0.jar
selenium-api-2.21.0.jar
Maven dependency of selenium-server 2.21.0 or selenium-api-2.21.0
Gradle dependency of selenium-server 2.21.0 or selenium-api-2.21.0
Solution
If you are using Selenium Java Jars download and add the respective jar/jars either (from):
selenium-server-standalone-3.11.0.jar
selenium-java-3.11.0.zip
If you are using Maven dependency for Selenium use either of the following:
Selenium Java Client dependency:
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.11.0</version>
</dependency>
Selenium Server dependency:
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-server</artifactId>
<version>3.11.0</version>
</dependency>
trivia
If you are using Maven you can add this block in your root pom (within the build section just add to the plugins) to troubleshoot the different versions of binaries you got.
<build>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>enforce</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<DependencyConvergence />
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
For your reference selenium-server 2.21.0 output tree was as follows:
[INFO] \- org.seleniumhq.selenium:selenium-server:jar:2.21.0:compile
[INFO] +- org.bouncycastle:bcprov-jdk15on:jar:1.47:compile
[INFO] +- mx4j:mx4j-tools:jar:3.0.1:compile
[INFO] +- org.mortbay.jetty:servlet-api-2.5:jar:6.1.9:compile
[INFO] +- org.seleniumhq.selenium:jetty-repacked:jar:7.6.1:compile
[INFO] +- net.jcip:jcip-annotations:jar:1.0:compile
[INFO] +- org.seleniumhq.selenium:selenium-java:jar:2.21.0:compile
[INFO] | +- org.seleniumhq.selenium:selenium-android-driver:jar:2.21.0:compile
[INFO] | | \- org.seleniumhq.selenium:selenium-remote-driver:jar:2.21.0:compile
[INFO] | | +- cglib:cglib-nodep:jar:2.1_3:compile
[INFO] | | +- org.json:json:jar:20080701:compile
[INFO] | | \- com.google.guava:guava:jar:11.0.1:compile
[INFO] | | \- com.google.code.findbugs:jsr305:jar:1.3.9:compile
[INFO] | +- org.seleniumhq.selenium:selenium-chrome-driver:jar:2.21.0:compile
[INFO] | +- org.seleniumhq.selenium:selenium-htmlunit-driver:jar:2.21.0:compile
[INFO] | | +- org.seleniumhq.selenium:selenium-api:jar:2.21.0:compile
[INFO] | | +- net.sourceforge.htmlunit:htmlunit:jar:2.9:compile
[INFO] | | | +- xalan:xalan:jar:2.7.1:compile
[INFO] | | | | \- xalan:serializer:jar:2.7.1:compile
[INFO] | | | +- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] | | | +- commons-lang:commons-lang:jar:2.6:compile
[INFO] | | | +- org.apache.httpcomponents:httpmime:jar:4.1.2:compile
[INFO] | | | +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.9:compile
[INFO] | | | +- xerces:xercesImpl:jar:2.9.1:compile
[INFO] | | | | \- xml-apis:xml-apis:jar:1.3.04:compile
[INFO] | | | +- net.sourceforge.nekohtml:nekohtml:jar:1.9.15:compile
[INFO] | | | +- net.sourceforge.cssparser:cssparser:jar:0.9.5:compile
[INFO] | | | | \- org.w3c.css:sac:jar:1.3:compile
[INFO] | | | \- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] | | \- org.apache.httpcomponents:httpclient:jar:4.1.2:compile
[INFO] | | \- org.apache.httpcomponents:httpcore:jar:4.1.2:compile
[INFO] | +- org.seleniumhq.selenium:selenium-firefox-driver:jar:2.21.0:compile
[INFO] | | +- commons-io:commons-io:jar:2.0.1:compile
[INFO] | | \- org.apache.commons:commons-exec:jar:1.1:compile
[INFO] | +- org.seleniumhq.selenium:selenium-ie-driver:jar:2.21.0:compile
[INFO] | | +- net.java.dev.jna:jna:jar:3.4.0:compile
[INFO] | | \- net.java.dev.jna:platform:jar:3.4.0:compile
[INFO] | +- org.seleniumhq.selenium:selenium-iphone-driver:jar:2.21.0:compile
[INFO] | +- org.seleniumhq.selenium:selenium-safari-driver:jar:2.21.0:compile
[INFO] | +- org.seleniumhq.selenium:selenium-support:jar:2.21.0:compile
[INFO] | \- org.webbitserver:webbit:jar:0.4.6:compile
[INFO] | \- org.jboss.netty:netty:jar:3.2.7.Final:compile
[INFO] +- org.yaml:snakeyaml:jar:1.8:compile
[INFO] \- commons-codec:commons-codec:jar:1.6:compile

Jenkins not running TestNG Tests

I've got an TestNG project which was running on Jenkins. For some reason which I don't know it stopped running the tests. It compiles perfectly but it doesn't run the the test. Here is the output of a run:
<===[JENKINS REMOTING CAPACITY]===>channel started
log4j:WARN No appenders could be found for logger
(org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
Executing Maven: -B -f C:\Java\jenkins-1.523\workspace\TEST_HEAD_NOEXPORT\CMS-WEB SELENIUM-WEB-TEST\pom.xml clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building TEST-CMS-WEB 0.0.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) # Web ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) # Web ---
[debug] execute contextualize
[INFO] Using 'cp1252' encoding to copy filtered resources.
[INFO] Copying 69 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) # Web ---
[INFO] Compiling 73 source files to C:\Java\jenkins-1.523\workspace\TEST_HEAD_NOEXPORT\CMS-WEB\SELENIUM-WEB-TEST\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) # Web ---
[debug] execute contextualize
[INFO] Using 'cp1252' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Java\jenkins-1.523\workspace\TEST_HEAD_NOEXPORT\CMS-WEB\SELENIUM-WEB-TEST\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) # Web ---
[INFO] Compiling 2 source files to C:\Java\jenkins-1.523\workspace\TEST_HEAD_NOEXPORT\CMS-WEB\SELENIUM-WEB-TEST\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) # Web ---
[JENKINS] Recording test results
[INFO]
[INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) # Web ---
[INFO] Building jar: C:\Java\jenkins-1.523\workspace\TEST_HEAD_NOEXPORT\CMS-WEB\SELENIUM-WEB-TEST\target\Web-0.0.1.jar
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) # Web ---
[INFO] Installing C:\Java\jenkins-1.523\workspace\TEST_HEAD_NOEXPORT\CMS-WEB\SELENIUM-WEB-TEST\target\Web-0.0.1.jar to C:\.m2\repository\Test\Web\0.0.1\Web-0.0.1.jar
[INFO] Installing C:\Java\jenkins-1.523\workspace\TEST_HEAD_NOEXPORT\CMS-WEB\SELENIUM-WEB-TEST\pom.xml to C:\.m2\repository\Test\Web\0.0.1\Web-0.0.1.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.211s
[INFO] Finished at: Wed Jan 15 14:21:03 UYST 2014
[INFO] Final Memory: 26M/310M
[INFO] ------------------------------------------------------------------------
[JENKINS] Archiving C:\Java\jenkins-1.523\workspace\TEST_HEAD_NOEXPORT\CMS-WEB\SELENIUM-WEB-TEST\pom.xml to C:\Java\jenkins-1.523\jobs\TEST_HEAD_NOEXPORT\modules\Test$Web\builds\2014-01-15_14-20-56\archive\Test\Web\0.0.1\Web-0.0.1.pom
[JENKINS] Archiving C:\Java\jenkins-1.523\workspace\TEST_HEAD_NOEXPORT\CMS-WEB\SELENIUM-WEB-TEST\target\Web-0.0.1.jar to C:\Java\jenkins-1.523\jobs\TEST_HEAD_NOEXPORT\modules\Test$Web\builds\2014-01-15_14-20-56\archive\Test\Web\0.0.1\Web-0.0.1.jar
Waiting for Jenkins to finish collecting data
If anyone knows what could be happening I would appreciate the help.
If your using Maven Surefire, did you correctly specify a "test include" filter? The test phase will search the packages in src/test/java for classes containing the #Test annotation. It's easy to misconfigure Maven for the location of the src/test/java directory and so just be careful and you will figure it out.
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M3</version>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>testng.xml</suiteXmlFile>
</suiteXmlFiles>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
Include maven surefire plugin end of the properties & before the dependencies. Use your "TestNG" XML file name.Use above code.

maven issue - maven-resources-plugin

Getting following excepting while running "mvn clean install -DskipTests -U"
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] (derived-data) avalon Data Modules
[INFO] (data-affiliate-dynamic) avalon Dynamic Affiliate Data
[INFO] (data-external-id) Amazon ID Reference Data
[INFO] (data-products-raw) avalon Raw Product Data
[INFO] (data-product-images) avalon Product Image Data
[INFO] ------------------------------------------------------------------------
[INFO] Building (derived-data) avalon Data Modules
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing C:\svn\data\trunk\pom.xml to C:\Users\dinsolani\.m2\repository
\com\avalon\derived-data\3\derived-data-3.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building (data-affiliate-dynamic) avalon Dynamic Affiliate Data
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] artifact com.avalon:maven-resources-plugin: checking for updates from c
entral
[INFO] snapshot com.avalon:maven-resources-plugin:4.66-SNAPSHOT: checking for
updates from central
[INFO] snapshot com.avalon:tools-maven-plugins:4.66-SNAPSHOT: checking for upd
ates from central
Downloading: http://repo.avalon.com/content/groups/private/com/avalon/tools-
maven-plugins/4.66-SNAPSHOT/tools-maven-plugins-4.66-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: null:maven-resources-plugin:maven-plugin:null
Reason: Cannot find parent: com.avalon:tools-maven-plugins for project: null:m
aven-resources-plugin:maven-plugin:null for project null:maven-resources-plugin:
maven-plugin:null
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Thu Oct 13 19:50:23 IST 2011
[INFO] Final Memory: 13M/981M
[INFO] ------------------------------------------------------------------------
Now I really looking for some solution or atleast some workaround for this issue.
Can I manually download & place somewhere
Is there any public repository, which I can use?
Here is the pom for the data-affiliate-dynamic module:
<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>com.avalon</groupId>
<artifactId>derived-data</artifactId>
<version>3</version>
</parent>
<artifactId>data-affiliate-dynamic</artifactId>
<packaging>pom</packaging>
<name>(${project.artifactId})avalonDynamicAffiliateData</name>
<build>
<plugins>
<plugin>
<groupId>com.avalon</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<include>var/affiliate/${sourceId}*-dynamic-*.xml</include>
</configuration>
</plugin>
</plugins>
</build>
</project>

Maven Surefire Report Missing from Generated Site

I'm having a little difficulty in getting the surefire report to appear in the generated site. I run mvn clean site:site and the report is missing.
My pom.xml looks like this:-
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>testMaven</groupId>
<artifactId>testMaven</artifactId>
<name>Test Maven Project</name>
<version>1.0</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.1</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.6</version>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.6</version>
</plugin>
</plugins>
</reporting>
</project>
When I do mvn test, the test runs fine.
$ mvn clean test
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Test Maven Project
[INFO] task-segment: [clean, test]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory c:\workspace\java\rsa\testMaven\target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 1 source file to c:\workspace\java\rsa\testMaven\target\classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 1 source file to c:\workspace\java\rsa\testMaven\target\test-classes
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: c:\workspace\java\rsa\testMaven\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running testMaven.main.HelloWorldServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Fri Dec 10 10:42:20 CST 2010
[INFO] Final Memory: 17M/1016M
[INFO] ------------------------------------------------------------------------
May I know what I'm doing wrong here? Thanks.
You need to use the maven-surefire-report-plugin in the reporting section (instead of the maven-surefire-plugin), e.g.
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.6</version>
</plugin>
</plugins>
</reporting>