Rubén Aguado
Rubén Aguado

Reputation: 366

Exclude files from dependencies in Maven WAR

I am generating a WAR file which is using tess4j. Tess4j contains the following structure:

- net.sourceforge.tess4j
- META-INF/
- win32-x86/winlibraries

My war project is used in Linux, so I don't need winlibraries inside the tess4j dependency. I want to package my WAR using a version of tess4j without winlibraries, because it take up a lot of size. Is it possible to do using only Maven? Any plugin?

Upvotes: 0

Views: 44

Answers (0)

Related Questions