maven 项目打包

                <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
                    <path stroke-linecap="round" d="M5,0 0,2.5 5,5z" id="raphael-marker-block" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path>
                </svg>
                <p><strong>前提:已经配置好maven环境</strong><br> <strong>传送门:</strong><a href="https://www.cnblogs.com/lehend/p/14842413.html">Linux 上安装maven 并配置阿里远程仓库</a></p> 

示例:

一、下载代码

git clone https://github.com/sayers522/JNDI-Injection-Exploit

在这里插入图片描述

二、编译代码,jar包会在 target 目录生成

mvn clean install -DskipTests

在这里插入图片描述

三、成功打包,在 target 目录生成

在这里插入图片描述

posted @ 2021-05-27 23:34  CCCCC099  阅读(62)  评论(0)    收藏  举报