Re: java.lang.annotation.Generated

2017-09-21 Thread Sanne Grinovero
For people looking for an example solution, this is what we ended up doing in Hibernate projects after we had shared these pain points in February: add an explicit dependency to the Maven artifact `javax.annotation:jsr250-api:1.0`. We use an explicit phase for running annotation processors via the

Re: Moving to Java 9 - module-info.class not found for module

2017-09-21 Thread Gunnar Morling
> If you are in a hacky mood, there is a simple solution to transform an automatic module to an explicit one, > create a module-info.java, compile it and update the jar of the automatic module with the module-info.class I'm working on a Maven plug-in, ModiTect, which largely automates that task. E