I am working with Maven project Jenkins for which i am new ...

i have two maven project in my local and my task is to build both the project without using Eclipse IDE. As i may have to replicate the same with Jenkins

Among those two project, one is dependent on another... i was able to build fine the non-dependent project.

Can some one please tell how to build the dependent project?

As i don't know how to link the dependent project to the primary one due to this i am getting error functionality(defined in primary project) could not be found?

Thanks in advance