Question: Bellow is a definition of the Maven JAR Plugin, where the main class is set to com.palmer.bethan.App. What is the effect of this?
- Maven will generate javadocs for the App class.
- Maven will generate an executable JAR, which can be used to run the App class.
- Maven will include only the App class when it compiles the source code.
- Maven will add an empty main method to the App class.
Answer: The correct answer of the above question is Option B:Maven will generate an executable JAR, which can be used to run the App class.