jmeter-maven-plugin:2.7.0 requires Maven version 3.1.1

234 views
Skip to first unread message

gearoid...@oath.com

unread,
Mar 1, 2018, 5:32:19 AM3/1/18
to Maven JMeter Plugin Users
Hi folks

I seem to have run into what looks like a maven version dependency issue when building jmeter:2.7 artifact

20:30:27 [INFO] bug product not found
20:30:27 [INFO] bug component not found
20:30:27 [INFO] issueManagementUrl not found
20:30:27 [INFO] POM_ISSUE_MANAGEMENT_URL not found
20:30:27 [INFO] POM_BUG_PRODUCT not found
20:30:27 [INFO] POM_BUG_COMPONENT not found
20:30:27 [INFO] ------------------------------------------------------------------------
20:30:27 [INFO] BUILD FAILURE
20:30:27 [INFO] ------------------------------------------------------------------------
20:30:27 [INFO] Total time: 59.415s
20:30:27 [INFO] Finished at: Wed Feb 28 20:30:27 UTC 2018

20:30:27 [INFO] Final Memory: 80M/822M
20:30:27 [INFO] ------------------------------------------------------------------------
20:30:27 [ERROR] Failed to execute goal com.lazerycode.jmeter:jmeter-maven-plugin:2.7.0:jmeter (jmeter-tests) on project log2jmeter: The plugin com.lazerycode.jmeter:jmeter-maven-plugin:2.7.0 requires Maven version 3.1.1 -> [Help 1]

I've attempted to enforce a required.maven.version as a prerequisite of 3.1.1

<prerequisites>
<maven>${required.maven.version}</maven>
</prerequisites>

and then added the maven-enforcer-plugin but i'm still encountering errors. The latest error after enforcing the maven-enforcer-plugin seems to indicate that the required.maven.version did not update in the pipeline ...

10:18:37 [INFO]
10:18:37 [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ log2jmeter ---
10:18:37 [WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message:
10:18:37 To build this project Maven 3.1.1 (or upper) is required. Please install
10:18:37 it.
10:18:37 [INFO] ------------------------------------------------------------------------
10:18:37 [INFO] BUILD FAILURE
10:18:37 [INFO] ------------------------------------------------------------------------
10:18:37 [INFO] Total time: 10.248s
10:18:37 [INFO] Finished at: Thu Mar 01 10:18:38 UTC 2018
10:18:38 [INFO] Final Memory: 18M/335M
10:18:38 [INFO] ------------------------------------------------------------------------
10:18:38 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) on project log2jmeter: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed

has anyone run into this issue before and found a solution?

thanks in advance
gearoid

dingdong

unread,
May 17, 2019, 4:18:06 AM5/17/19
to Maven JMeter Plugin Users
Hei,I have the same problem.Do you resolve this problem?

Ardesco

unread,
May 17, 2019, 9:10:34 AM5/17/19
to Maven JMeter Plugin Users
You need to install maven 3.1.1 on your machine, its a requirement of the plugin.
Reply all
Reply to author
Forward
0 new messages