I have a project that runs a JMeter test suite, although maven.
I am using com.lazerycode.jmeter s jmeter-maven-plugin.
With version 2.0.3, my project works well. but when I upgrade the plugin version to version 2.1.0, the following error is thrown.
[ERROR] Failed to execute goal com.lazerycode.jmeter:jmeter-maven-plugin:2.1.0:configure (configure) on project my-regression: Could not find artifact commons-math3:commons-math3:jar:3.4.1 in central (https://repo.maven.apache.org/maven2) -> [Help 1]
I know by looking at articles such as this that this can be resolved by eliminating dependencies.
but its just i dont know how to configure this dependency.
I tried the following.
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-math3</artifactId>
<version>3.4.1</version>
</dependency>
<dependency>
<groupId>commons-math3</groupId>
<artifactId>commons-math3</artifactId>
<version>3.4.1</version>
<exclusions>
<exclusion>
<groupId>commons-math3</groupId>
<artifactId>commons-math3</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
What didn't work.
We will be glad to provide additional information.
source
share