Hi, thank you for your patient for answering my question.

I tried to use 6.0.6 because I found that Maven central has liferay 6.0.6
libraries, I want to make sure my path to the repositories is right, so I
want to try out 6.0.6, and it mostly works by changing the com.liferay to
com.liferay.portal. But there still 2 jar files are missing there:

11-6-23 上午08时52分43秒: Refreshing [/ixsystems-registration/pom.xml]
11-6-23 上午08时52分50秒: Downloading
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-java/6.0.6/util-java-6.0.6.pom
11-6-23 上午08时52分50秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-java/6.0.6/util-java-6.0.6.pom
11-6-23 上午08时52分52秒: Downloading
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-bridges/6.0.6/util-bridges-6.0.6.pom
11-6-23 上午08时52分52秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-bridges/6.0.6/util-bridges-6.0.6.pom
11-6-23 上午08时53分03秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/portal-kernel/6.0.6/portal-kernel-6.0.6.pom
11-6-23 上午08时53分03秒: [WARN] The POM for
com.liferay.portal:portal-kernel:jar:6.0.6 is missing, no dependency
information available
11-6-23 上午08时53分04秒: Downloading
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/portal-impl/6.0.6/portal-impl-6.0.6.pom
11-6-23 上午08时53分04秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/portal-impl/6.0.6/portal-impl-6.0.6.pom
11-6-23 上午08时53分09秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/portal-kernel/6.0.6/portal-kernel-6.0.6.jar
11-6-23 上午08时53分19秒: Downloading
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-bridges/6.0.6/util-bridges-6.0.6.jar
11-6-23 上午08时53分19秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-bridges/6.0.6/util-bridges-6.0.6.jar
11-6-23 上午08时54分04秒: Downloading
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-java/6.0.6/util-java-6.0.6.jar
11-6-23 上午08时54分04秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-java/6.0.6/util-java-6.0.6.jar
11-6-23 上午08时54分06秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/portal-impl/6.0.6/portal-impl-6.0.6.jar
11-6-23 上午08时54分07秒: Missing artifact
com.liferay.portal:portal-kernel:jar:6.0.6:provided
11-6-23 上午08时54分07秒: Missing artifact
com.liferay.portal:portal-impl:jar:6.0.6:provided

liferay 5.2.8 is not in Maven Central. 5.2.8 is liferay EE version, Perhaps
Maven Central doesn't haven EE version of libraries. The 6.0.6 is only for
Community version of liferay.

When I change back to 5.2.8, I got the same error:


11-6-23 上午08时55分14秒: Refreshing [/ixsystems-registration/pom.xml]
11-6-23 上午08时55分25秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-java/5.2.8/util-java-5.2.8.pom
11-6-23 上午08时55分25秒: [WARN] The POM for
com.liferay.portal:util-java:jar:5.2.8 is missing, no dependency information
available
11-6-23 上午08时55分29秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-bridges/5.2.8/util-bridges-5.2.8.pom
11-6-23 上午08时55分29秒: [WARN] The POM for
com.liferay.portal:util-bridges:jar:5.2.8 is missing, no dependency
information available
11-6-23 上午08时55分32秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/portal-kernel/5.2.8/portal-kernel-5.2.8.pom
11-6-23 上午08时55分32秒: [WARN] The POM for
com.liferay.portal:portal-kernel:jar:5.2.8 is missing, no dependency
information available
11-6-23 上午08时55分35秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/portal-impl/5.2.8/portal-impl-5.2.8.pom
11-6-23 上午08时55分35秒: [WARN] The POM for
com.liferay.portal:portal-impl:jar:5.2.8 is missing, no dependency
information available
11-6-23 上午08时55分37秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-java/5.2.8/util-java-5.2.8.jar
11-6-23 上午08时55分38秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/portal-impl/5.2.8/portal-impl-5.2.8.jar
11-6-23 上午08时55分41秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-bridges/5.2.8/util-bridges-5.2.8.jar
11-6-23 上午08时55分41秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/portal-kernel/5.2.8/portal-kernel-5.2.8.jar
11-6-23 上午08时55分41秒: Missing artifact
com.liferay.portal:util-java:jar:5.2.8:provided
11-6-23 上午08时55分41秒: Missing artifact
com.liferay.portal:util-bridges:jar:5.2.8:provided
11-6-23 上午08时55分41秒: Missing artifact
com.liferay.portal:portal-kernel:jar:5.2.8:provided
11-6-23 上午08时55分41秒: Missing artifact
com.liferay.portal:portal-impl:jar:5.2.8:provided
11-6-23 上午08时55分42秒: Maven Builder: AUTO_BUILD 


Thanks
Sam

--
View this message in context: 
http://maven.40175.n5.nabble.com/Can-t-resolve-libraries-tp4513191p4515796.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to