当前位置:
添加依赖
<dependency>
<groupId>com.github.core-lib</groupId>
<artifactId>xjar</artifactId>
<version>4.0.2</version>
</dependency>
<dependency>
<groupId>com.github.core-lib</groupId>
<artifactId>xjar-maven-plugin</artifactId>
<version>4.0.2</version>
</dependency>
添加插件
<build>
<plugins>
<plugin>
<groupId>com.github.core-lib</groupId>
<artifactId>xjar-maven-plugin</artifactId>
<version>4.0.2</version>
<executions>
<execution>
<goals>
<goal>build</goal>
</goals>
<phase>package</phase>
<configuration>
<targetJar>${artifactId}-encrypted.jar</targetJar>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
加上参数
mvn clean install -U -Dxjar.password=www.biemo.com





![通过nginx方式解决跨域问题[具体配置收藏一下]](https://www.makesoft.cn/api/uploads/image/png/2023/4/30/1682841555770.png)