NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

I cant create maven web application in netbeans 7.0

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
haroonfoad



Joined: 26 Apr 2011
Posts: 3

PostPosted: Tue Apr 26, 2011 8:20 am    Post subject: I cant create maven web application in netbeans 7.0 Reply with quote

I got this error after trying to create the project with maven 2.2.1:

Scanning for projects...
Searching repository for plugin with prefix: 'archetype'.
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Required goal not found: archetype:generate in org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7
------------------------------------------------------------------------
For more information, run Maven with the -e switch
------------------------------------------------------------------------
Total time: < 1 second
Finished at: Tue Apr 26 10:15:02 AST 2011
Final Memory: 1M/30M

-----------------------------------------------------------------
and with maven 3 I am getting this error:

Scanning for projects...
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 0.900s
Finished at: Tue Apr 26 10:50:28 AST 2011
Final Memory: 3M/38M
------------------------------------------------------------------------
Could not find goal 'generate' in plugin org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7 among available goals create-from-project, create -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoNotFoundException
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo