首页 > 其他分享 >maven-assembly-plugin和maven-compiler-plugin显示 not found,找不到

maven-assembly-plugin和maven-compiler-plugin显示 not found,找不到

时间:2023-06-16 15:47:10浏览次数:35  
标签:assembly plugin 1.8 maven plugins apache compiler

<plugin>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>3.7.0</version>
    <configuration>
        <source>1.8</source>
        <target>1.8</target>
    </configuration>
</plugin>

上述配置变红,原因估计找不到具本路径。故加上
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.7.0</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>

注意,加的这一句:<groupId>org.apache.maven.plugins</groupId>
特别注意:必须保证你的本地库中有这个文件\maven-repo\org\apache\maven\plugins   maven-repo\org\apache\maven\plugins\maven-compiler-plugin(内部有各种版本)

 

标签:assembly,plugin,1.8,maven,plugins,apache,compiler
From: https://www.cnblogs.com/danbobiji/p/17485703.html

相关文章

  • --go_out: protoc-gen-go: plugins are not supported;
    记录问题:--go_out:protoc-gen-go:pluginsarenotsupported;标签(空格分隔):grpc,protoc-gen-gogrpc官网:https://grpc.io/docs/languages/go/quickstart/官网写的要安装以下:$goinstallgoogle.golang.org/protobuf/cmd/[email protected]$goinstallgoogle.golang.or......
  • 【测试入门系列】Maven是什么
    Maven是什么?先用起来。结论在本文最后。使用步骤安装好maven后,在命令行执行如下命令,用maven初始化一个叫做helloworld的项目:$mvnarchetype:generate-DgroupId=com.mycompany.helloworld-DartifactId=helloworld-Dpackage=com.mycompany.helloworld-Dversion=1.0-SNAPSHOT一路......
  • IDEA-创建Maven项目
          ......
  • Maven的基本使用
      编译  它会在maven你自己定义或者默认的的本地仓库中下载用来进行编译的插件 同时生成targrt文件夹来保存编译后的字节码文件 清理 会删除掉target文件,同时也会下载插件  打包  会生成target文件夹并且会把打包后的文件放在里面,也会下载插件......
  • Maven概述
         ......
  • 上传自己java项目到maven中央仓库pom
    前提首先的你项目需要在Gitee或者Github上有仓库我这里以Gitee是的yhchat-sdk-core仓库为例开始在sonatype上创建问题访问sonatype注册并登录创建一个问题概要填仓库名称描述随意写写GroupId填写自己的域名,如果没有域名的话,可以自行百度使用Gitee、Github的域名需......
  • IDEA Spring Boot Maven 多环境
    源码地址:GiteeGitHub后端https://gitee.com/linjiabin100/pi-admin.githttps://github.com/zengpi/pi-admin.git前端https://gitee.com/linjiabin100/pi-admin-web.githttps://github.com/zengpi/pi-admin-web.git多环境的作用在于允许在不同的运行环境中......
  • maven简介
    maven查询maven依赖版本信息地址:https://mvnrepository.com/管理庞大的jar包;构建项目(依赖、打包、部署);阿里云镜像仓库<mirror><id>nexus-aliyun</id><mirrorOf>central</mirrorOf><name>Nexusaliyun</name><url>http://maven.ali......
  • springboot~代码风格统计spring-javaformat-maven-plugin插件
    SpringJavaformat是Spring团队开发的一款基于GoogleJavaFormat的代码格式化工具,可以帮助Java开发者自动化进行代码格式化,提高代码质量,降低代码维护成本。SpringJavaformat可以自定义配置文件,支持大量的代码风格配置选项,满足不同项目和团队的需求。还可以与Gradle、Maven、Int......
  • maven-compiler-plugin build-helper-maven-plugin Maven-assembly-plugin
    三个插件都是是用干啥的maven-compiler-plugin进行源代码的编译build-helper-maven-plugin项目中添加额外的资源、源代码、构建输出目录和依赖项等Maven-assembly-plugin生成可执行jar包<build><plugins><plugin><groupId......