NetBeans Forums

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

NetBeans 7 Does Not Find All Maven Dependency Libraries

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



Joined: 22 Apr 2011
Posts: 5

PostPosted: Fri Apr 22, 2011 1:11 pm    Post subject: NetBeans 7 Does Not Find All Maven Dependency Libraries Reply with quote

NetBeans 6.9.1 correctly interrogates my pom.xml and loads 85 dependent jars and their requisite dependencies as well. NetBeans 7 only loads 80, several of which are fairly shallow dependencies (like the bean loader for spring-core). Things work if you explicitly define them in the POM, but otherwise libraries like common-management-1.0.jar (a direct dependency of camel-core) do not appear.

I'm running 6.9.1 side-by-side with NetBeans 7, and 6.9.1 loads the classpath correctly.
Back to top
jonesbusy



Joined: 25 Apr 2011
Posts: 1

PostPosted: Mon Apr 25, 2011 6:59 pm    Post subject: Reply with quote

Same problem on Netbeans 7.0.1 running on ArchLinux.

Three of my Maven projects dependencies are not loading properly.
Back to top
haroonfoad



Joined: 26 Apr 2011
Posts: 3

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

I dont know why i cant create a maven web application in netbeans 7.0 with bundled maven or with maven 2.2.1?
why ?
I got this error 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
Back to top
deckerego



Joined: 22 Apr 2011
Posts: 5

PostPosted: Fri Apr 29, 2011 3:38 pm    Post subject: Re: NetBeans 7 Does Not Find All Maven Dependency Libraries Reply with quote

I have submitted this as a bug: http://netbeans.org/bugzilla/show_bug.cgi?id=198208

If anyone has similar issues and POMs to share I'm sure they would be appreciated.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans 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