Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey,
I got to compile my project in maven.
This is the error that prevail.
adminis@adminis-laptop:~/fsmcp-1.5.1-SNAPSHOT$ mvn compile
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Cannot execute mojo: resources. It requires a project with an existing pom.xml, but the build is not using one.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Thu Sep 30 13:26:19 IST 2010
[INFO] Final Memory: 2M/56M
[INFO] ------------------------------------------------------------------------
Hey,
I got to compile my project in maven.
This is the error that prevail.
Can somebody pls help?
First, spell out your words. Second, did you read the error and try what it said??
Quote:
Originally Posted by ShaliniRNair
[INFO] Cannot execute mojo: resources. It requires a project with an existing pom.xml, but the build is not using one.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
yes, i read the error n explains like this:
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository
yes, i read the error n explains like this:
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository
Pom file was built too. the problem i perceive is that it is unable to connect to the site provided to downloa plugins.
Y? Y? Y?
Again, SPELL OUT YOUR WORDS...that text-speak garbage is against LQ rules.
What is the ouput of "maven -e", as it told you to run for more information.
Have you tested your internet connection on that box then? Is the POM file in the right path/directory? Right permissions? Are you running this as root? Is the name of the POM correct (case-sensitive)? Again, the docs on the site were pretty clear on why you'd get that error, and how to resolve it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.