Skip to content

Commit

Permalink
Issue-27: AJC warning incorrect classpath: ... org.springframework.ro…
Browse files Browse the repository at this point in the history
…o.annotations-2.0.0.BUILD-SNAPSHOT.pom (#28)
pcolot01 authored and davidkarlsen committed Jan 8, 2018
1 parent c113bed commit d9c1092
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/org/codehaus/mojo/aspectj/AjcHelper.java
Original file line number Diff line number Diff line change
@@ -100,8 +100,11 @@ public static String createClassPath( MavenProject project, List<Artifact> plugi
File artifact = classPathElement.getFile();
if ( null != artifact )
{
String type = classPathElement.getType();
if (!type.equals("pom")){
cp += classPathElement.getFile().getAbsolutePath();
cp += File.pathSeparatorChar;
cp += File.pathSeparatorChar;
}
}
}
Iterator<String> outIter = outDirs.iterator();

0 comments on commit d9c1092

Please sign in to comment.