maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samwun <leiwun2...@gmail.com>
Subject Re: Can't resolve libraries.
Date Wed, 22 Jun 2011 14:09:51 GMT
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 were encountered while building the effective
> model for ixsystems:ixsystems-registration:war:1.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 286,
> column 21
> [WARNING] The expression ${artifactId} is deprecated. Please use
> ${project.artifactId} instead.
> [WARNING] The expression ${artifactId} is deprecated. Please use
> ${project.artifactId} instead.
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support
> building such malformed projects.
> [WARNING] 
> [INFO]                                                                         
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building iXSystems Portal Products and Services Registration
> 1.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] The POM for com.liferay:util-java:jar:6.0.6 is missing, no
> dependency information available
> [WARNING] The POM for com.liferay:util-bridges:jar:6.0.6 is missing, no
> dependency information available
> [WARNING] The POM for com.liferay:portal-kernel:jar:6.0.6 is missing, no
> dependency information available
> [WARNING] The POM for com.liferay:portal-impl:jar:6.0.6 is missing, no
> dependency information available
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1.318s
> [INFO] Finished at: Thu Jun 23 00:05:54 EST 2011
> [INFO] Final Memory: 5M/88M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project ixsystems-registration: Could
> not resolve dependencies for project
> ixsystems:ixsystems-registration:war:1.0-SNAPSHOT: The following artifacts
> 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
> 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]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>  

Nexus thrown some exceptions as well:



> jvm 1    | 2011-06-22 23:29:25 INFO  [pool-1-thread-2] -
> org.sonatype.nexus.feeds.DefaultFeedRecorder - Updating repository group
> index "Liferay EE SP4 Local" from path null and below. : Process started
> on Wed Jun 22 23:29:21 EST 2011, finished successfully on Wed Jun 22
> 23:29:25 EST 2011
> jvm 1    | 2011-06-23 00:03:29 ERROR [tp-512243268-45] -
> org.sonatype.nexus.proxy.maven.maven2.M2Repository - Got Storage Exception
> while storing remote artifact, will attempt next mirror, cause:
> org.sonatype.nexus.proxy.RemoteStorageException: The method execution
> returned result code 502. [repositoryId="google",
> requestPath="/com/liferay/util-bridges/6.0.6/util-bridges-6.0.6.pom",
> remoteUrl="http://google-maven-repository.googlecode.com/svn/repository/com/liferay/util-bridges/6.0.6/util-bridges-6.0.6.pom"]
> jvm 1    | 2011-06-23 00:03:47 ERROR [tp-512243268-45] -
> org.sonatype.nexus.proxy.maven.maven2.M2Repository - Got Storage Exception
> while storing remote artifact, will attempt next mirror, cause:
> org.sonatype.nexus.proxy.RemoteStorageException: The method execution
> returned result code 502. [repositoryId="google",
> requestPath="/com/liferay/portal-kernel/6.0.6/portal-kernel-6.0.6.pom",
> remoteUrl="http://google-maven-repository.googlecode.com/svn/repository/com/liferay/portal-kernel/6.0.6/portal-kernel-6.0.6.pom"]
> jvm 1    | 2011-06-23 00:04:01 ERROR [tp-512243268-45] -
> org.sonatype.nexus.proxy.maven.maven2.M2Repository - Got Storage Exception
> while storing remote artifact, will attempt next mirror, cause:
> org.sonatype.nexus.proxy.RemoteStorageException: The method execution
> returned result code 502. [repositoryId="google",
> requestPath="/com/liferay/portal-kernel/6.0.6/portal-kernel-6.0.6.pom",
> remoteUrl="http://google-maven-repository.googlecode.com/svn/repository/com/liferay/portal-kernel/6.0.6/portal-kernel-6.0.6.pom"]
> 
> 

Thanks
Sam

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message