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
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
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
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
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
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
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
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:
> >
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
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
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
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
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
>
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
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
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
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
> 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.
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]
-
> 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
--
20 matches
Mail list logo