I have the following project structure.
- src/test/java
There is no src/main folder.
Above src/test/java folder contains some scala classes as well as some java classes. When i build the jar file using following plugins
- maven-jar-plugin : it generates the tests jar file but dependencies are not included in that jar file
- maven-shade-plugin : this plugin generates the jar file without tests suffix and include all the dependencies in the generated jar.
Please suggest
how to generate the 'tests' jar with all the dependencies in it unpacked. OR How to generate jar file in this case with all the classes under src/test/java folder and all the dependencies required by the tests classes