We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, all plugin dependencies are copied to jmeter/lib folder and it's not possible to activate custom functions on test plan run.
As an idea: copy all RUNTIME plugin dependencies to /lib/ext folder.
Sample of pom:
<plugin> <groupId>com.lazerycode.jmeter</groupId> <artifactId>jmeter-maven-plugin</artifactId> <executions> <execution> <id>jmeter-tests</id> <phase>integration-test</phase> <goals> <goal>jmeter</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>com.acme</groupId> <artifactId>foo.jmeter.functions/artifactId> <version>${project.version}</version> <scope>runtime</scope> </dependency> </dependencies> </plugin>
update JMeterAbstractMojo#populateJmeterDirectoryTree (line 288)
if (Artifact.SCOPE_RUNTIME.equals(artifact.getScope())) { FileUtils.copyFile(artifact.getFile(), new File(this.libExtDir + File.separator + artifact.getFile().getName())); } else { FileUtils.copyFile(artifact.getFile(), new File(this.libDir + File.separator + artifact.getFile().getName())); }
The text was updated successfully, but these errors were encountered:
Has this issue been fixed?
Sorry, something went wrong.
fixed jmeter-maven-plugin#58. copy runtime dependencies to /lib/ext f…
962efad
…older
Can you supply a test with this patch to ensure it is putting things in the right place, I'll then add it to the next release.
Duplicate of #59
#58 #59 Add dependencies with custom function to /lib/ext folder
9050d21
Merged dpishchukhin pull request
No branches or pull requests
Currently, all plugin dependencies are copied to jmeter/lib folder and it's not possible to activate custom functions on test plan run.
As an idea: copy all RUNTIME plugin dependencies to /lib/ext folder.
Sample of pom:
update JMeterAbstractMojo#populateJmeterDirectoryTree (line 288)
The text was updated successfully, but these errors were encountered: