Liferay maven dependency could not be resolved -


i using liferay 6.2.10.4 enterprise edition maven.while deploying maven clean package commad got below error.

the following artifacts not 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: 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 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> 

i think problem versions doesn't exist in maven repository. must put correct version. example, can see util-taglib available versions here.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -