Can't resolve libraries.

2011-06-22 Thread samwun
Hello, I imported a maven project, but it can't resolve the following libraries. I have local Nexus installed and connected to the internet. 11-6-22 下午05时17分09秒: Unable to update index for local|http://localhost:8081/nexus/content/groups/public 11-6-22 下午05时17分05秒: Updating index local|http://lo

Can't resolve libraries.

2011-06-24 Thread samwun
sorry I can't post anything to Maven Manager forum. I have uploaded liferay artifacts to Sonatype repositories. The uploaded file structure is shown as in the attachment. The error is show as below: > sam@sam-PC /cygdrive/c/ixsystems-registration > $ mvn install > [INFO] Scanning for projects

Re: Can't resolve libraries.

2011-06-22 Thread Guillaume Polet
Hi, from your logs, it looks like access to the Internet is not working or at least not for Maven, since most of the missing dependencies are available on central. Would you have a proxy/firewall set up somewhere and forgot to put that in your settings? Or do you have a local firewall that wo

Re: Can't resolve libraries.

2011-06-22 Thread samwun
Hi, Thank you very much for your suggestion. Now I somehow manage to reduce the the errors to 5 jar files. The error is: > sam@sam-PC /cygdrive/c/ixsystems-registration > $ mvn compile war:war > [WARNING] > [WARNING] Some problems were encountered while building the effective > settings > [WAR

Re: Can't resolve libraries.

2011-06-22 Thread Barrie Treloar
On Wed, Jun 22, 2011 at 7:35 PM, samwun wrote: > Hi, > > Thank you very much for your suggestion. > Now I somehow manage to reduce the the errors to 5 jar files. > The error is: > > > >> sam@sam-PC /cygdrive/c/ixsystems-registration >> $ mvn compile war:war >> [WARNING] >> [WARNING] Some problems

Re: Can't resolve libraries.

2011-06-22 Thread samwun
Thank you very much for othe suggestion I have removed the error in $MAVEN_HOME/conf/settings.xml. Here is the error: > $ mvn compile war:war > [WARNING] > [WARNING] Some problems were encountered while building the effective > settings > [WARNING] 'mirrors.mirror.id' must not be 'local', this

Re: Can't resolve libraries.

2011-06-22 Thread Barrie Treloar
On Wed, Jun 22, 2011 at 8:20 PM, samwun wrote: > Thank you very much for othe suggestion > I have removed the error in $MAVEN_HOME/conf/settings.xml. > Here is the error: > > > >> $ mvn compile war:war >> [WARNING] >> [WARNING] Some problems were encountered while building the effective >> setting

RE: Can't resolve libraries.

2011-06-22 Thread Martin Gainty
please read this brief description of mirrors: Martin -- > Date: Wed, 22 Jun 2011 20:48:35 +0930 > Subject: Re: Can't resolve libraries. > From: baerr...@gmail.com > To: users@maven.apache.org > > On Wed, Jun 22, 2011 at 8:20 PM, samwun wrote: > >

Re: Can't resolve libraries.

2011-06-22 Thread samwun
Thank you for another suggestion. I have also remove "local" definition in the settings.xml and now it has downloaded some more files before hitting another errors. > $ mvn compile war:war > [INFO] Scanning for projects... > [WARNING] > [WARNING] Some problems were encountered while building t

Re: Can't resolve libraries.

2011-06-22 Thread Barrie Treloar
On Wed, Jun 22, 2011 at 9:17 PM, samwun wrote: >> >> [ERROR] Failed to execute goal on project ixsystems-registration: Could >> not resolve dependencies for project >> ixsystems:ixsystems-registration:war:1.0-SNAPSHOT: The fo

Re: Can't resolve libraries.

2011-06-22 Thread samwun
Thank you for the suggestion. I have removed my own liferay repositories definition in the pom.xml file, and changed liferay.version to 6.0.6. But it still cant find liferay 6.0.6 Here is the error: > $ mvn compile war:war > [INFO] Scanning for projects... > [WARNING] > [WARNING] Some problems

Re: Can't resolve libraries.

2011-06-22 Thread Larry Shatzer, Jr.
On Wed, Jun 22, 2011 at 8:09 AM, samwun wrote: > Thank you for the suggestion. > > I have removed my own liferay repositories definition in the pom.xml file, > and changed liferay.version to 6.0.6. > > But it still cant find liferay 6.0.6 > Here is the error: > > >> could not be resolved: com.life

Re: Can't resolve libraries.

2011-06-22 Thread Barrie Treloar
On Thu, Jun 23, 2011 at 12:09 AM, Larry Shatzer, Jr. wrote: [del] >>> could not be resolved: com.liferay:util-java:jar:6.0.6, >>> com.liferay:util-bridges:jar:6.0.6, com.liferay:portal-kernel:jar:6.0.6, >>> com.liferay:portal-impl:jar:6.0.6: Failure to find >>> com.liferay:util-java:jar:6.0.6 in >

Re: Can't resolve libraries.

2011-06-22 Thread samwun
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

Re: Can't resolve libraries.

2011-06-22 Thread samwun
However, I have my local liferay libraries files for 5.2.8, how can I "deploy" to Nexus local repositories? eg. here is the path of 5.2.8 portal-kernel I have created in my local nexus server: C:\Nexus\sonatype-work\nexus\storage\liferay-ee-sp4\com\liferay\portal-kernel\5.2.8 How to make this pa

Re: Can't resolve libraries.

2011-06-22 Thread Barrie Treloar
On Thu, Jun 23, 2011 at 8:34 AM, samwun wrote: > However, I have my local liferay libraries files for 5.2.8, how can I > "deploy" to Nexus local repositories? > > eg. here is the path of 5.2.8 portal-kernel I have created in my local nexus > server: > > C:\Nexus\sonatype-work\nexus\storage\liferay

Re: Can't resolve libraries.

2011-06-23 Thread samwun
Thank you for the suggestion. Do you know where I can find a tutorial for uploading third party libraries to Sonatype/Nexus? The problems now are: 1. I don't know exactly how to configure Sonatype/Nexus for upload third-party libraries to the local repositories. I login as admin / admin123, so I as

Re: Can't resolve libraries.

2011-06-23 Thread Wayne Fay
> Thank you for the suggestion. > Do you know where I can find a tutorial for uploading third party libraries > to Sonatype/Nexus? These are all great questions for the Nexus Users list. Please ask them there. Since it appears you are using Nabble, here is that link: http://maven.40175.n5.nabble.

Re: Can't resolve libraries.

2011-06-27 Thread samsam9988
Hello, I have uploaded liferay portal jar files to Sonatype using Artifacts Upload. When I execute command "mvn compile war:war", it stiill can't find the liferay files I uploaded. Here is the error: [INFO] BUILD FAILURE [INFO] -

Re: Can't resolve libraries.

2011-06-27 Thread Wayne Fay
> http://localhost:8081/nexus/content/groups/public/ 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] Try mvn -U to force Maven to check for updates in your repo. Wayne --