解决Maven报Plugin execution not covered by lifecycle configuration

解决Maven报Plugin execution not covered by lifecycle configuration

发布者:IT人在线 | 发表时间:2019/4/11 17:10:14

 Description Resource Path Location Type Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (execution: default-compile, phase: compile) pom.xml /lucene line 1 Maven Project Build Lifecycle M

project 中加入下面的代码

<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/maven-v4_0_0.xsd">

    <modelVersion>4.0.0</modelVersion>