I am currently trying to create a fat sources.jar for my maven project, the structure looks like below:
I am able to create a fat jar of all modules in assembly stage using maven-assembly-plugin. However, I am not able to do the same thing with source code in assembly stage.
I tried to use maven-source-plugin however it could only create sources.jar in each of the module. In assembly there is no code there so it didn’t create anything for the sources.jar.