Is there a way to include specific packages during a spring boot application build? I have used spring-boot-maven plugin.
I understand it's not very customary to have classes in the same project which we don't want in the build, but I want to check if this is possible at all?
Even if a spring-boot executable jar can be built using any other way (i.e. by not using the spring-boot-maven plugin) I'd be delighted to know.
Asked
Active
Viewed 166 times
0

Divs
- 1,578
- 2
- 24
- 51
-
Can I ask why you want to do this? – Essex Boy Jan 05 '17 at 08:51
-
@EssexBoy - The rationale is explained ==> http://stackoverflow.com/questions/41461734/build-separate-versions-of-api-from-same-project-using-maven – Divs Jan 05 '17 at 08:53