Category: Maven

java: error: release version 5 not supported

While building a new maven java project, sometimes the below error occurs: Solution: Add the following Maven compiler plugin to pom.xml <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId>...

Maven JavaDoc Plugin

The Maven JavaDoc Plugin uses the Javadoc tool to generate javadocs for the specified project. Goals: javadoc:javadoc generates the Javadoc files for the project. It executes the...

Maven Source Plugin

The Maven Source Plugin is used to create a jar archive of the source files of your project. Goals: source:aggregate aggregates sources for all modules in...

Maven Jar Plugin

The Maven JAR Plugin is used to package your project artifacts into jar files. Goals: jar:jar create a jar file for your project classes inclusive resources. jar:test-jar create...

Maven Surefire Plugin

The Maven Surefire Plugin is used to run unit tests of an application. It generates reports in two different file formats: Plain text files (*.txt) XML...

Maven Site Plugin

The Maven Site Plugin is used to generate a site for the project. It can be used for documentation purpose including the project’s reports which were...

error: Content is protected !!