Current fix has still one issue. Only direct maven dependencies without transitive are on classPath . Look at test case test-enhance-maven-plugin3.zip . I think that in MavenEnhancePlugin.java in line 166 should be
for ( Artifact a : project.getExecutionProject().getArtifacts() ) {
instead of
for ( Artifact a : project.getDependencyArtifacts() ) {
|