Search This Blog

Wednesday, September 7, 2011

Maven system dependency.


Adding a depedency from the system is not recommended. The sole purpose of having maven is, if you give the developer the src directory and the pom.xml file, with the help of maven he can build and deploy the entire app.Having a system dependency will take away this advantage as you will have to provide the dependency along with the source or the developer will have to download it make changes to his pom.xml so that it takes the appropriate system path, etc.

System dependency should only be used if the dependency that you are providing cannot be found in any online repository or you are using some external functionality that you built yourself.

In one of my posts, I have explained how to add the system dependency.

Thanks,
Shoeb

No comments:

Post a Comment