I have a cloud application which uses git and maven, so the source code is uploaded by Eclipse using GIT, and the required libraries are downloaded to the server by maven. But I have one library not in maven, it's downloaded as a source and also run time jar, xxx.jar
and xxx-source.jar
. When I upload the source, the reference libraries are not uploaded to the server, so the compile will fail on the server.
I could unzip it and package in the source folder and upload altogether. However, is there a simpler way just to put the source.jar as part of the project so Eclipse can upload that jar file as part of the project to the GIT server? and then the server will use that jar for compile?