Skip to content

Commit

Permalink
Respect user-defined dependencies with scope!=runtime (e.g. scope=sys…
Browse files Browse the repository at this point in the history
…tem), fixes #84.
  • Loading branch information
mlex committed Dec 11, 2013
1 parent 3fec2c7 commit 4233403
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -282,7 +282,7 @@ protected void populateJMeterDirectoryTree() throws MojoExecutionException {
} else {
copyFile(artifact.getFile(), new File(libDir + File.separator + artifact.getFile().getName()));
}
} else if (Artifact.SCOPE_RUNTIME.equals(artifact.getScope())) {
} else if (Artifact.SCOPE_RUNTIME.equals(artifact.getScope()) || isArtifactNeededByExplicitDependency(artifact)) {
copyFile(artifact.getFile(), new File(libExtDir + File.separator + artifact.getFile().getName()));
}
} catch (IOException e) {
Expand Down

0 comments on commit 4233403

Please sign in to comment.