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 identifier is
> reserved for the local repository, using it for other repositories will
> corrupt your repository metadata. @ C:\Users\sam\.m2\settings.xml
> [WARNING] 
> [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 293,
> 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:5.2.8 is missing, no
> dependency information available
> [WARNING] The POM for com.liferay:util-bridges:jar:5.2.8 is missing, no
> dependency information available
> [WARNING] The POM for com.liferay:portal-kernel:jar:5.2.8 is missing, no
> dependency information available
> [WARNING] The POM for com.liferay:portal-impl:jar:5.2.8 is missing, no
> dependency information available
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 5.426s
> [INFO] Finished at: Wed Jun 22 20:48:16 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:5.2.8,
> com.liferay:util-bridges:jar:5.2.8, com.liferay:portal-kernel:jar:5.2.8,
> com.liferay:portal-impl:jar:5.2.8: Failure to find
> com.liferay:util-java:jar:5.2.8 in
> http://localhost:8081/nexus/content/groups/public was cached in the local
> repository, resolution will not be reattempted until the update interval
> of local 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
> 
> 

Thanks
Sam

--
View this message in context: 
http://maven.40175.n5.nabble.com/Can-t-resolve-libraries-tp4513191p4513627.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