jar files not installing in the local repo in the m2 folder using maven install
<p>I have a child project which is being consumed by the parent project.I need to test something in child so not creating a release version inplace I am trying to install the child project jar file into local repo so that I can use it in my parent project.</p>

<p>Now I am facing 2 problems:</p>

<ol>
<li>When doing mvn install I am getting errors related to the code used in the project.These errors are not seen while compiling.</li>
<li>in my local .m2 repo directory the jar files are missing for the child project hence errors are seen in the parent project as the dependency is missing.</li>
</ol>

<p>Please help me in navigating the problem.</p>

<p>Thanks.</p>