For questions about the Maven Plugin Testing Harness. Do not use it for general questions about the usage of maven plugins. Do not use it for questions about `maven-compiler-plugin`. Do not use it for questions about configuring testing frameworks with Maven. Simple criterion: if your `pom.xml` does not contain the string `maven-plugin-testing-harness`, then you most probably shouldn't be using this tag.
Questions tagged [maven-plugin-testing-harness]
7 questions
2
votes
1 answer
Invalid kubernetes YAML spec , failed to load spec for resource harness
I have harness and kubernetes hooked up and i am able to deploy nginx chart using helm succesfully.
Now i have another helm chart that I want to deploy but when i do so in harness, it fails during the helm deployment phase
“Invalid kubernetes YAML…

G T
- 29
- 2
1
vote
1 answer
How to use mockito with maven testing harness
The maven plugin I am developing now injects some dependencies using Google Guice with JSR-330. For unit testing I am using maven-plugin-testing-harness. The plugin works perfectly. But there is a problem with tests. I want to inject mocked…

Gibadullina Elvira
- 31
- 3
0
votes
1 answer
maven-plugin-testing-harness encounters No connector factories available during test execution
When using the maven-plugin-testing-harness, the following error is encountered during test execution. It appears that the test cannot resolve artifacts from the Maven repository while loading a pom.xml file as part of the test. The url for the…

Ryan Ashcraft
- 1
- 5
0
votes
1 answer
Unable to generate query to fetch jenkins job for a given execution with Harness
Can someone please help me out in generating a GraphQL Query for fetching the details of Jenkins Job URL added at a verify stage under Deployment Phases in a given workflow?
Below is the documentation for the…

Bipin Kumar Chaurasia
- 372
- 1
- 13
0
votes
0 answers
How to debug a maven plugin without re install it?
I am a maven-plugin development beginner and I use IntelliJ IDEA to develop my plugins, and I always use remote debug to debug a maven-plugin. I set VM Options in the plugin's Run Configuration and set Maven Run COnfiguration in the test project as…

buriedpot
- 41
- 3
0
votes
0 answers
test harness for smallest element in array - main class method
I'm new to test harness writing so I'd like some tips on how to get started. I have some code for finding the smallest element in an array and I'm not sure what I need to change to the method so I can begin writing my test harness around the method.…

DjMaxLETU
- 41
- 1
- 7
0
votes
1 answer
java.lang.NoSuchMethodError: DefaultPlexusContainer
I wanted to use maven-plugin-testing-harness and I am including the following dependency into my project:
org.apache.maven.plugin-testing
maven-plugin-testing-harness
…

Menelaos
- 23,508
- 18
- 90
- 155