When I am trying to create new project on Maven in eclipse IDE ,It shows the following errors:
"Could not get the value for parameter encoding for plugin execution default-resources Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to collect dependencies for org.apache.maven.plugins:maven-resources-plugin:jar:2.5 ()"
Anyone please tell what I have to do?
can anyone tell me the steps to create Spring project with Maven enabled?
POM.xml:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.spring</groupId>
<artifactId>SpringMaven</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>SpringMaven</name>
</project>
The following steps worked for me:
These steps worked for me. If this works for you make sure to upvote, otherwise drop a comment.
Delete maven resource plugin jars (delete the whole folder) from this location - {user.home}.m2\repository\org\apache\maven\plugins\maven-resources-plugin and then try to rebuild again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With