My goal is to get an artifact, from maven, including all source files (also from the project dependencies).
Just something like running mvn source:jar
, but with all it's dependencies also included.
Note:
- the artifact can be of any type (folder, zip, jar, etc. ...)
- I need the .java files, not the .class
How can I achieve this?