zoukankan      html  css  js  c++  java
  • Maven maven-compiler-plugin版本

    项目执行Maven clean后出现WARNING提示。报如信息如下,根据报错信息

    'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 104, column 12

    猜测是maven-compiler-plugin的版本信息缺失问题

    [INFO] Scanning for projects...
    [WARNING] 
    [WARNING] Some problems were encountered while building the effective model for June:charles:war:0.0.1-SNAPSHOT
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 104, column 12
    [WARNING] 
    [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
    [WARNING] 
    [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. 

    百度之后,没有解决

    最后在

    https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin

    查出

     从而确定版本信息。

    	<build>
    		<plugins>
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-compiler-plugin</artifactId>
    				<version>3.5</version>
    				<configuration>
    					<source>${java.version}</source>
    					<target>${java.version}</target>
    				</configuration>
    			</plugin>
    		</plugins>
    	</build>
    

      

  • 相关阅读:
    爬取全部的校园新闻
    理解爬虫原理
    中文词频统计与词云生成
    复合数据类型,英文词频统计
    字符串操作、文件操作,英文词频统计预处理
    大数据应用期末总评
    分布式文件系统HDFS 练习
    Hadoop的安装
    爬虫综合大作业
    爬取全部的校园新闻
  • 原文地址:https://www.cnblogs.com/itachy/p/7495480.html
Copyright © 2011-2022 走看看