When I right-click the class file and choose "Run As" TestNG isn't an option. I've added the TestNG jars by adding the dependency in the pom.xml and running as
Currently i am using maven(Apache Maven 3.3.9) & Java(Java version: 1.8.0_91) installed in my windows machine. I have a java application which was develope
Currently i am using maven(Apache Maven 3.3.9) & Java(Java version: 1.8.0_91) installed in my windows machine. I have a java application which was develope
I am using m2e to build a java project. I need to use JAVA VERSION 1.6 . So i am trying to configure toolchains plugin to achieve it. by referring the below lin
I'm using the below dependency: <dependency> <groupId>com.azure</groupId> <artifactId>azure-identity</artifactId> <versio
while starting with spring rest I got following error as > org.springframework.beans.factory.BeanCreationException: Error > creating bean with name 'jpaM
I have problem with my project using Jboss 7.0 I can't build that. This is my problem 19:00:38,809 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3
I am trying to create an executable jar with my test. I cannot use maven to run the tests so I am trying to create a jer that will execute them. I have a jar w
I am trying to build my react-native project for android and getting the following error on Windows but its working on Mac. $ react-native run-android info Runn
Searching repository for plugin with prefix: 'eclipse'. org.apache.maven.plugins: checking for updates from central NG] repository metadata for: 'org.apache.ma
i followed this tutorial: https://www.journaldev.com/13629/okhttp-android-example-tutorial But when i try to start the project give me this error: Execution fai
I have Java version 1.8.111 installed and the initial error message after running mvn3 install was as below. [ERROR] Failed to execute goal org.apache.maven.p
I have a test: @Rule public ExpectedException thrown = ExpectedException.none(); ... @Test public void testMethod() { final String error = "error message";
I have worked with Jenkins before. But we moved to GoCD now. I want to run a simple Maven project periodically for regression testing purposes.
Given the very poor documentation about scp/ssh and maven I tried different approaches, basically falling in two main categories: using scpexe wagon and scp wag
I'm using the latest maven 3.3.9 which enforces java 8, and trying to compile a project in java 7 using a java 7 maven toolchain. As per: The maven guide I'
We are building an app based on Red Hat JBoss AMQ 6. We wrap some Java code around the base image to provide extra functionalities which are lacking in AMQ 6. N
I am getting the mvn command not recognized as an internal or external command. I have setup the M2_HOME, JAVA_HOME and added %M2_HOME%/bin to the path variabl
I have inherited a project which has over 100 Junit test classes. The problem is the unit test sources and main source files are in the same
Context I'm currently having an issue with sonarqube 3.7 being run by maven via jenkins The project is setup as a maven multi-module project and jenkins is ru