we have two different project . And and the controller is almost same in two project.
project A has controller inside it. So generating war for it is not problem.
But project B is requiring Controller’s jar of project A controller.
Can any body tell me how can i generate the jar file from the controller of project A which i can use in project B?
The default solution for such thing is to have two separate modules one for the war and one for the controller module. Don’t start fighting with Maven.