We are using the liferay version 6.2.0 m2 and adding using liferay maven plugin 6.2.0-M5. Now when adding portal-service with version 6.2.0-M5, it is trying load the portal-parent with version 6.2.0 (which is not available in the repository) instead of 6.2.0-M5 using the dependency pom file.
We are using following repository - http://repo.maven.apache.org/maven2
And getting following error while deploying with maven
com.liferay.portal:portal-parent:pom:6.2.0 (compile), com.liferay.portal:portal-service:jar:6.2.0-M5 (compile)]: Failed to read artifact descriptor for com.liferay.portal:portal-service:jar:6.2.0-M5: Failure to find com.liferay.portal:portal-parent:pom:6.2.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]