ENDERFUN
JCHJava Community | Help. Code. Learn.
•Created by ENDERFUN on 1/27/2025 in #java-help
Serious problems with Maven
As much as I'd like to be concise, this will take a while to explain. I wanted to make simple annotation processor for my side project - http server with sort of MVC model. I added annotations
@Mapping
and @Mappings
(@Mapping
is @Repeatable
) and I proceeded with creating the processor. For this I used Google's AutoService, however it wouldn't generate the files (Maybe I did something wrong?). So, I included maven-compiler-plugin
in my build configuration, but it still wouldn't generate the files. I started digging deeper, running mvn clean
, mvn install
, mvn compile
, yet it almost always results in build failure. The only time it gets to work is when I delete the plugin mentioned earlier (which means that no files are generated). It's worth mentioning that my project has a umm unique structure, and so here it is:
63 replies