Я хочу создать исполняемый файл войны (java -jar x.war), который также можно развернуть на обычном сервере приложений, например Tomcat или JBoss.
Чтобы выполнить эту работу, мне нужно создать военный файл со структурой по умолчанию и файлами классов, расположенными в папке x.jar->WEB-INF/classes.
Поскольку я хочу включить все зависимости, я использую плагин maven-shade для создания uber-войны.
Q1: Как сделать так, чтобы подключаемый модуль Shade находил все классы в каталоге /WEB-INF/classes, а не в корневой папке war-файла?
Q2: как мне нужно установить путь к классам в МАНИФЕСТЕ, чтобы сделать его работоспособным и не создавать исключение ClassNotFoundException?
Заранее спасибо, Нео