Skip to content

Commit

Permalink
Remove redundant classes directory for plugins
Browse files Browse the repository at this point in the history
The target/classes directory is already included in the resolved classpath
returned by the artifact resolver.
  • Loading branch information
electrum committed Sep 26, 2014
1 parent 0cbf9f1 commit 1c4ce2f
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ private URLClassLoader buildClassLoaderFromPom(File pomFile)

log.debug("Classpath for %s:", pomFile);
List<URL> urls = new ArrayList<>();
urls.add(new File(pomFile.getParentFile(), "target/classes/").toURI().toURL());
for (Artifact artifact : sortedArtifacts(artifacts)) {
if (artifact.getFile() != null) {
log.debug(" %s", artifact.getFile());
Expand Down

0 comments on commit 1c4ce2f

Please sign in to comment.