Comments (1)
<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>install</phase>
<configuration>
<includes>
<include>/org/xxx/xxx/**/*.class</include>
<include>/mybatis/mapper/**/*Mapper.xml</include>
<include>/application-test.yml</include>
<include>/application-prod.yml</include>
</includes>
<excludes>
<exclude>/templates/**.*</exclude>
<exclude>/static/**.*</exclude>
<exclude>/application.yml</exclude>
<exclude>/application-dev.yml</exclude>
<exclude>/application-deploy.yml</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
The project depends on cross-platform dependency packages such as ffmpeg. After all compilation and encryption, the project will fail to start, but these dependencies cannot be removed. Therefore, the scope of the scan package needs to be set when encrypting.
from xjar.
Related Issues (20)
- 能不能也支持一下:Solon 框架啊?
- 控制台Scanner nextLine()获取用户输入执行报错 HOT 5
- 请问,加密后Nacos、Spring Cloud 等能正常使用吗?
- 使用xjar启动器启动集成了seata-all-1.3.0.jar的加密后的Spring Cloud项目时发生异常 HOT 3
- 请问,jdk15,打包加密启动报错
- 【致命】发现一个致命的问题,既然加密是为了交付,假如三方直接登入机器dumpjava内存,一下就看到秘钥了。 HOT 2
- springmvc项目出错
- jsp加密运行出错
- Springboot3 + Java17 打包后运行报错 HOT 3
- tomcat 扫描包出错 HOT 1
- 被杀毒软件报毒 HOT 2
- -Dxjar.excludes=static/** 无法排除static目录下文件不加密
- 启动时报主类错误 Incompatible magic value
- 针对quarkus等框架打包出来的legacy-jar也能运行吗?JDK17
- 升级了Java版到21,现在运行的时候,没法启动 HOT 2
- 有大佬用WinSW服务部署过吗
- Xjar启动异常:尚不支持新的Java类文件版本 HOT 9
- 加密类操作spring 注解怎么解决啊?无法解密啊!
- springboot自定义打包,依赖jar外置后,xjar加密报错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xjar.