第一步:先把 Java 代码打成可运行的 JAR 包(基础中的基础)
<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>com.ming</groupId>
<artifactId>AES_ENCRY_TOOL</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>AES_ENCRY_TOOL</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
junit
3.8.1
test
cn.hutool
hutool-all
5.8.25
org.apache.maven.plugins
maven-compiler-plugin
3.8.1
8
8
org.apache.maven.plugins
maven-assembly-plugin
3.3.0
com.ming.SHTAesUtil
true
lib/
jar-with-dependencies
make-assembly
package
single