I had similar issue, I was able to solve it using -U option along with mvn command as
mvn clean install -U
This worked for me, hope it helps.
More Related Contents:
- Best practices for copying files with Maven
- Is there a simple way to remove unused dependencies from a maven pom.xml?
- How to execute maven plugin execution directly from command line?
- Maven WAR dependency
- maven: How can I skip test in some projects via command line options?
- Disable a Maven plugin defined in a parent POM
- What is the “reactor” in Maven?
- Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved
- Unpack inner zips in zip with Maven
- Maven command to determine which settings.xml file Maven is using
- Maven check for updated dependencies in repository
- Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.
- Is there a way to exclude a Maven dependency globally?
- Finding the root directory of a multi module Maven reactor project
- How do I tell Maven to use the latest version of a dependency?
- Hosting a Maven repository on github
- Make Maven to copy dependencies into target/lib
- How do you clear Apache Maven’s cache?
- Why am I getting “Received fatal alert: protocol_version” or “peer not authenticated” from Maven Central?
- java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet
- How to disable maven blocking external HTTP repositories?
- Specifying Maven’s local repository location as a CLI parameter
- What is the difference between M2_HOME and MAVEN_HOME
- Is there anyway to exclude artifacts inherited from a parent POM?
- How to get a command-line property to overwrite a maven property
- “webxml attribute is required” error in Maven
- maven command line how to point to a specific settings.xml for a single command?
- Is effective-pom a merge between super pom and application POM
- Maven : error: generics are not supported in -source 1.3 , I am using 1.6
- Unzip dependency in maven