How to exclude a set of packages from maven build jar?

后端 未结 3 868
迷失自我
迷失自我 2021-01-02 01:57

That\'s all I need. Additional details: I have a src/bootstrap/java folder and the regular src/main/java folder. Each one needs to go to a separate jar for obvious reasons.

3条回答
  •  甜味超标
    2021-01-02 02:24

    Maybe use ProGuard? It's what I use to strip out unused code. It seems that you can add it as a Maven plugin.

提交回复
热议问题