Excluding locales from war file in maven project
Vladislav Kislyi <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <CAPcHZAApQ_7AGb-L9zpizmm+n3=dyiGnqkVgZAuAwqfPzYyFXQ@mail.gmail.com> |
When i build Netbeans RCP application via Maven my build always includes all localization jars: Russian(ru), Chinese(zh_CN), Japanese(ja) and Brazilian Portuguese(pt_BR). I would like to exclude these files. It increases build time and distributable artifact size. Localization jars take about 500kB. As i understood nbm-maven-plugin puts these files into build. They looks like : boot_ja.jar org-openide-modules_ja.jar org-openide-util-lookup_ja.jar org-openide-util_ja.jar boot_pt_BR.jar... boot_zh_CN.jar org-openide-modules_zh_CN.jar org-openide-util-lookup_zh_CN.jar org-openide-util_zh_CN.jar Is there a way to exclude these files? I found https://github.com/bitstrings/nbm-maven it can remove these files on fly but as i understood it has compatibility problems with Netbeans IDE. PS: my question is on StO http://stackoverflow.com/questions/38239669/netbeans-platform-excluding-locales-from-war-file-in-maven-project