博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
LifecyclePhaseNotFoundException(转)
阅读量:6080 次
发布时间:2019-06-20

本文共 1432 字,大约阅读时间需要 4 分钟。

 

This error is generated if you try to invoke a build command that Maven does not understand. In general, you have the following options to perform build steps:

  1. Invoke a lifecycle phase, e.g.
    mvn install
    This runs the lifecycle phase install and all its predecessor phases like compile and test. Please see  for more information about available lifecycle phases.
  2. Invoke a plugin goal via the plugin prefix, e.g.
    mvn compiler:compile
    Eventually, the plugin prefix translates to a group id and artifact id of a plugin. Maven resolves plugin prefixes by first looking at the plugins of the current project's POM and next by checking the metadata of user-defined .
  3. Invoke a plugin goal via the versionless plugin coordinates, e.g.
    mvn org.apache.maven.plugins:maven-compiler-plugin:compile
    To resolve the plugin version, Maven will first check the project's POM and fallback to the latest release version of the plugin that was deployed to the configured plugin repositories.
  4. Invoke a plugin goal via the fully qualified plugin coordinates, e.g.
    mvn org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile

You can freely mix all of these styles within a single command line.

The error described here is usually caused by typo in the command so be sure to check you specified a valid lifecycle phase.

 

https://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException

 

转载于:https://www.cnblogs.com/softidea/p/4181613.html

你可能感兴趣的文章
JavaScript学习(十一)--数值处理对象
查看>>
Asp.Net Core Web Api图片上传(一)集成MongoDB存储实例教程
查看>>
简单说一下UWP中的JumpList
查看>>
unity将object[]或者string对象转换成枚举enum
查看>>
一起来看 rxjs
查看>>
Java容器深入浅出之String、StringBuffer、StringBuilder
查看>>
Spring Cloud Gateway 数据库存储路由信息的扩展方案
查看>>
PostgreSQL 10.1 手册_部分 II. SQL 语言_第 9 章 函数和操作符_9.19. 范围函数和操作符...
查看>>
14 SVM - 代码案例一 - 鸢尾花数据SVM分类
查看>>
PostgreSQL 11 发布:JIT、存储过程事务,并行性能提升
查看>>
分享几篇文章(PDF版)
查看>>
Node.js 全局对象
查看>>
你真的懂使用Runtime进行swizzle的最佳写法?
查看>>
Java JDBC
查看>>
实现multibandblend
查看>>
机器学习 vs 深度学习到底有啥区别,为什么更多人选择机器学习
查看>>
MongoDB安装(Mac版)
查看>>
25.Android Studio下Ndk开发(参数加密解决方案)
查看>>
小程序中使用百度地图
查看>>
Kubeless —— Kubernetes 原生 Serverless 框架
查看>>