velo / maven-annotation-plugin

Automatically exported from code.google.com/p/maven-annotation-plugin
0 stars 0 forks source link

Dependencies in scope 'provided' are not included in class path when executing processors #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
in AbstractAnnotationProcessorMojo.buildCompileClasspath only 
CompileClasspathElements are 
taken into class path, but regarding to 
http://maven.apache.org/guides/introduction/introduction-
to-dependency-mechanism.html 'provided' should also be included as the should 
be used during 
compile time

Original issue reported on code.google.com by Irmina.L...@gmail.com on 13 Nov 2009 at 3:13

GoogleCodeExporter commented 9 years ago
thanks for feedback

It's so strange because we have used project.getCompileClasspathElements(); to 
build
compile classpath

i'll investigate to understand the problem

Original comment by bartolom...@gmail.com on 14 Nov 2009 at 12:11

GoogleCodeExporter commented 9 years ago

Original comment by bartolom...@gmail.com on 14 Nov 2009 at 12:49

GoogleCodeExporter commented 9 years ago
I've fixed this problem setting "require dependency resolution" = "compile"

the fix is available in 1.2-SNAPSHOT release (deployed in mavenrepo)

Original comment by bartolom...@gmail.com on 14 Nov 2009 at 1:04