On Fri, Jun 15, 2018 at 5:45 PM Karen Goh <karenwo...@yahoo.com.invalid>
wrote:

> Hi,
>
> I run into a problem in my Spring Boot Web project and then there's an
> advice following this URL :
>
> https://github.com/spring-projects/spring-boot/issues/12398
>
> But, when I run mvn dependency:purge-local-repository, I get another error
> :
>
> Unknown lifecycle phase "mvn". You must specify a valid lifecycle phase or
> a goal in the format <plugin-prefix>:<goal> or
> <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available
> lifecycle phases are: validate, initialize, generate-sources,
> process-sources, generate-resources, process-resources, compile,
> process-classes, generate-test-sources, process-test-sources,
> generate-test-resources, process-test-resources, test-compile,
> process-test-classes, test, prepare-package, package, pre-integration-test,
> integration-test, post-integration-test, verify, install, deploy,
> pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. ->
> [Help]
>
> I hope someone can tell you how to run mvn
> dependency:purge-local-repository in Eclipse Oxygen.
>

"mvn" is the command-line tool for running Maven. When running Maven from
within Eclipse, you only specify the arguments through the dialog box. In
"target" (iiuc, haven't used Eclipse for years), you'd then put only
"dependency:purge-local-repository".

HTH

Reply via email to