Hello @Heena91,
There could be many reasons for this for example you can check if the modules you're trying to install are a part of parent pom.xml:
<modules>
<module>core</module>
<module>ng-app</module>
<module>ui.apps</module>
<module>ui.content</module>
<module>ui.permissions</module>
<module>oak-index-definitions</module>
</modules>
Also check if the profile autoInstallPackage and adobe-public inside ui.apps has a 'install' goal defined. Please re-run the maven command using debug mode example 'mvn -X -PautoInstallPackage -Padobe-public clean install' to check what is happening.
Jineet