Is there a Maven “compiler-only” scope for dependency artifacts
If a dependency is only used for building, such as an annotation processor, it should be a maven <plugin>, or <dependency> thereof. Otherwise, if it is in the compilation classpath, it will be necessary for linking the generated class file at runtime. Then, there are two cases: It is always necessary to load that class … Read more