I am using liferay 6.2.10.4 enterprise edition with maven.while deploying it with maven clean package commad I got below error.
The following artifacts could not be resolved: com.liferay.portal:portal-service:jar:6.2.10.4, com.liferay.portal:util-bridges:jar:6.2.10.4, com.liferay.portal:util-taglib:jar:6.2.10.4, com.liferay.portal:util-java:jar:6.2.10.4: Could not find artifact com.liferay.portal:portal-service:jar:6.2.10.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
I have used below as well.
repositories>
<repository>
<id>liferay-ce</id>
<name>Liferay CE</name>
<url>https://repository.liferay.com/nexus/content/groups/liferay-ce</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>liferay-ce</id>
<url>https://repository.liferay.com/nexus/content/groups/liferay-ce/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
You need to add those dependencies to your own Maven Repository. If you don't already use a Repository Proxy: now is the time! (it really helps with lots of things). Sonatype Nexus or Artifactory are the most known ones. Both are good. Choose the one you like (but choose one).
I think this maven plugin has (or had?) a goal to upload the artifacts from the Enterprise Edition to the Repository Proxy. Otherwise you need to do that manually.