If you want to filter and copy your project resources to the output directory, the Apache Maven Resources Plugin is the best plugin to perform that. But sometimes you want to filter and rename...
Category: Maven
3 ways to add local jar to maven project
Introduction You may need to add a custom JAR as a dependency to your Maven project. This tutorial shows 3 ways to do it: Install manually the JAR into your local Maven repository Adding...
3 ways to solve the Maven error : No compiler is provided in this environment.
Problem You may face the below Maven error while running a Maven build : No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? Solution Your JAVA_HOME...
3 ways to solve Fatal error compiling: invalid target release in Maven build
Problem You may encounter the following error when running a Maven build: Fatal error compiling: invalid target release: <JDK_VERSION> Solution Below three ways to solve the problem: Adding the environment variable JAVA_HOME Using Maven...
3 ways to solve java.lang.OutOfMemoryError: PermGen space in Maven build
Problem You may face the below error while running a Maven build java.lang.OutOfMemoryError: PermGen space Solution You must increase the Permanent Generation (PermGen) memory size of your JVM by passing the argument -XX:MaxPermSize and...
Easy way to solve unsupported IClasspathEntry kind=4? on Maven project update
Problem You may encounter the below Maven error while importing or updating your Maven project on Eclipse IDE Unsupported IClasspathEntry kind=4? Solution This error is thrown when the old version of M2Eclipse Plugin (previous...
How to install Maven on Eclipse IDE ?
you can take advantage of the Apache Maven powerful features on your Eclipse IDE by installing the M2Eclipse Plugin. Installing the M2Eclipse Plugin Below steps to follow to install Maven on Eclipse IDE : Open your...