备忘:maven 错误信息: Plugin execution not covered by lifecycle configuration

<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>mymaven</groupId>
  <artifactId>mymaven</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <dependencies>
   <dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate</artifactId>
    <version>3.5.4-Final</version>
    <type>pom</type>
   </dependency>
   <dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-annotations</artifactId>
    <version>3.5.4-Final</version>
   </dependency>
   <dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-core</artifactId>
    <version>3.5.4-Final</version>
   </dependency>
   <dependency>
    <groupId>org.javassist</groupId>
    <artifactId>javassist</artifactId>
    <version>3.18.2-GA</version>
   </dependency>
   <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>1.7.7</version>
   </dependency>
   <dependency>
    <groupId>ch.qos.logback</groupId>
    <artifactId>logback-classic</artifactId>
    <version>1.1.2</version>
   </dependency>
   <dependency>
    <groupId>ch.qos.logback</groupId>
    <artifactId>logback-core</artifactId>
    <version>1.1.2</version>
   </dependency>
   <dependency>
    <groupId>mysql</groupId>
    <artifactId>mysql-connector-java</artifactId>
    <version>5.1.31</version>
   </dependency>
   <dependency>
    <groupId>org.mybatis</groupId>
    <artifactId>mybatis</artifactId>
    <version>3.2.7</version>
   </dependency>
  </dependencies>
  <build>
   
    <plugins>
         <plugin>
          <groupId>org.mybatis.generator</groupId>
          <artifactId>mybatis-generator-maven-plugin</artifactId>
           <version>1.3.1</version>
               <configuration> 
                   <verbose>true</verbose> 
                   <overwrite>true</overwrite> 
               </configuration> 
           <executions>
             <execution>
               <id>Generate MyBatis Artifacts</id>
               <goals>
                 <goal>generate</goal>
               </goals>
             </execution>
           </executions>
         </plugin>
      </plugins>
  </build>
</project>

红字出错了。错误信息是:Plugin execution not covered by lifecycle configuration. 在网上找了一些解决方案,结果是把plugins包括在pluginManagement里。

<pluginManagement>

时间: 2024-09-20 16:58:12

备忘:maven 错误信息: Plugin execution not covered by lifecycle configuration的相关文章

Maven异常:Plugin execution not covered by lifecycle configuration

   异常信息如下:       Xml代码   Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:aspectj-maven-plugin:1.3.1:compile (execution: default, phase: compile)        Eclipse中提示如图:    解决办法:        点击back后退,先安装ajdt插件,如图:    然后eclipse会重启,继续

m2eclipse报错:Plugin execution not covered by lifecy

   今天在导入以前写的maven项目时,遇到了一个问题,下面是pom.xml中的代码片段: ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 <plugin>   <groupId>com.google.code.maven-replacer-plugin</groupId>   <artifactId>replacer</artifactId>   <ver

maven-Plugin execution not covered by lifecycle

问题描述 Plugin execution not covered by lifecycle Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build-helper-maven-plugin:1.7:parse-version (execution: default, phase: generate-sources)

整合ssh时发生错误信息Dispatcher initialization failed Unable to load configuration. -

问题描述 五月 11, 2013 5:16:55 下午 org.apache.catalina.core.AprLifecycleListener initINFO: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.五月 11, 2013 5:16:55 下午 org.apache.catalina.core.AprLifecycleListener initINFO: APR capabi

docker 文件位置[备忘]

在创建一个 docker 容器后, 常见 docker 容器会在 /var/lib/docker 目录下会生成一些文件, 目录 备忘一下文件信息 如创建了一个容器, 容器 ID 为 f32b82280d67c66d8eecc75c63dc49e40c3e23672cf4498ea6cc44ad654b3cf6 [root@sh-storage-128204 docker]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAM

内存控制器错误信息[备忘]

参考日志错误信息: [root@hh-yun-compute-130125 ~]# cat /var/log/messages | grep -i error Mar 1 04:58:05 hh-yun-compute-130125 kernel: sbridge: HANDLING MCE MEMORY ERROR Mar 1 04:58:06 hh-yun-compute-130125 kernel: EDAC MC1: CE row 2, channel 0, label "CPU_Src

Maven编译提示如下错误信息怎么解决?

问题描述 D:JavaHello-world>mvn clean compile[INFO] Scanning for projects...[INFO][INFO] ------------------------------------------------------------------------[INFO] Building Maven Hello world Project 1.0-SNAPSHOT[INFO] ---------------------------------

eclipse maven 报错Could not get the value for parameter encoding for plugin execution default

问题描述:更改默认的maven仓库路径完成后.即存maven项目或者新建maven项目的时候出现如下错误   Could not get the value for parameter encoding for plugin execution default   原因分析:当问题解决后.回首想想应该是当时在更改本地仓库([自学maven系列]之修改eclipse的maven默认仓库路径)的最后一步.也就是在重新download默认的maven包的时候出现了问题.记得当时已经24点之后.电脑锁屏

maven 使用clean test出错 ,错误信息如下

问题描述 maven 使用clean test出错 ,错误信息如下 [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building user-core 0.0.1-SNAPSHOT [INFO] -------------------------------------------------