Skip to content

Tag: maven

Javac – plugin not found

I am trying to make my own Javac plugin but things aren’t going so well already 🙁 I am following this tutorial: https://www.baeldung.com/java-build-compiler-plugin and when I want to test the first …

How to @Autowired BuildProperties in test?

I am using this annotation to display the build version in my app: With this maven plugin: It works well in the app, but prevent my test to run. Here is the test class config: I add the file src/test/resources/META-INF/build-info.properties But the build still have errors: How can I make this works during tes…

Is there a maven repository to quickstart Java 11 app

There is a quickstart maven archetype for Java 7, as I can see here: https://maven.apache.org/archetypes/maven-archetype-quickstart/ The problem with this is when I fire this command: Enter project directory and fire this command: I get this error: Please note that there is some problem with my JDK install, a…