NetBeans Forums

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

maven multi-module project, cannot see dependencies

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
Alessandro Ferrucci
Posted via mailing list.





PostPosted: Fri Aug 05, 2011 5:26 pm    Post subject: maven multi-module project, cannot see dependencies Reply with quote

Hello,
I have a very large multi-module project that I have opened in netbeans (the project is actually geotools).
All the poms are already correctly configured and I should just be able to open the project and have all the class references be recognized.
Opening this project in Eclipse works fine without having to do anything, so there is something wrong with netbeans (or netbeans maven plugin).
Literally every reference to Classes that are defined within modules and referenced from other modules are not recognized.
Also, any external dependencies that are defined in the POMs that are available in the M2 Repo are not recognized, the dependencies are indeed in my local m2 repo, Eclipse can find them fine.

Anything I can do to trouble shoot? Check?
Back to top
Alessandro Ferrucci
Posted via mailing list.





PostPosted: Fri Aug 05, 2011 5:32 pm    Post subject: maven multi-module project, cannot see dependencies Reply with quote

I would also like to add that building the project externally using mvn works fine, so dependencies are getting resolved fine (Further proof that project itself has no issues).

Thank you,
Alessandro Ferrucci

On Fri, Aug 5, 2011 at 12:41 PM, Alessandro Ferrucci <address-removed ([email]address-removed[/email])> wrote:
Quote:
Hello,
I have a very large multi-module project that I have opened in netbeans (the project is actually geotools).
All the poms are already correctly configured and I should just be able to open the project and have all the class references be recognized.
Opening this project in Eclipse works fine without having to do anything, so there is something wrong with netbeans (or netbeans maven plugin).
Literally every reference to Classes that are defined within modules and referenced from other modules are not recognized.
Also, any external dependencies that are defined in the POMs that are available in the M2 Repo are not recognized, the dependencies are indeed in my local m2 repo, Eclipse can find them fine.

Anything I can do to trouble shoot? Check?
Back to top
Brad Cox
Posted via mailing list.





PostPosted: Fri Aug 05, 2011 6:45 pm    Post subject: maven multi-module project, cannot see dependencies Reply with quote

Netbeans scanning has gotten very flakey. Try erasing ~\.netbeans\<version>\var\cache\index. That usually unwedges it.

On Fri, Aug 5, 2011 at 12:41 PM, Alessandro Ferrucci <address-removed ([email]address-removed[/email])> wrote:
Quote:
Hello,
I have a very large multi-module project that I have opened in netbeans (the project is actually geotools).
All the poms are already correctly configured and I should just be able to open the project and have all the class references be recognized.
Opening this project in Eclipse works fine without having to do anything, so there is something wrong with netbeans (or netbeans maven plugin).
Literally every reference to Classes that are defined within modules and referenced from other modules are not recognized.
Also, any external dependencies that are defined in the POMs that are available in the M2 Repo are not recognized, the dependencies are indeed in my local m2 repo, Eclipse can find them fine.

Anything I can do to trouble shoot? Check? 
I have even set up the M2_REPO env. variable to no avail.
Any one have any insight?

Thank  you




--
Cell: 703-594-1883
Blog: http://bradjcox.blogspot.com
Web: http://virtualschool.edu
Manassas VA 20111
Back to top
Alessandro Ferrucci
Posted via mailing list.





PostPosted: Fri Aug 05, 2011 6:56 pm    Post subject: maven multi-module project, cannot see dependencies Reply with quote

Hey Brad, thanks for this suggestion, I will certainly try it, but I see there are other directories in the cache dir

mainly:

mavencachedirs, mavenindex, maven-plugins-index.

I think it would probably help to remove these as well and allow netbeans to regenerate them? or not?

Thanks,
Alessandro Ferrucci

On Fri, Aug 5, 2011 at 1:59 PM, Brad Cox <address-removed ([email]address-removed[/email])> wrote:
Quote:
Netbeans scanning has gotten very flakey. Try erasing
Back to top
Brad Cox
Posted via mailing list.





PostPosted: Fri Aug 05, 2011 10:44 pm    Post subject: maven multi-module project, cannot see dependencies Reply with quote

Could be; never tried. Just index works for me.

On Fri, Aug 5, 2011 at 2:10 PM, Alessandro Ferrucci <address-removed ([email]address-removed[/email])> wrote:
Quote:
Hey Brad, thanks for this suggestion, I will certainly try it, but I see there are other directories in the cache dir

mainly:

mavencachedirs, mavenindex, maven-plugins-index.

I think it would probably help to remove these as well and allow netbeans to regenerate them? or not?

Thanks,
Alessandro Ferrucci


On Fri, Aug 5, 2011 at 1:59 PM, Brad Cox <address-removed ([email]address-removed[/email])> wrote:
Quote:
Netbeans scanning has gotten very flakey. Try erasing ~\.netbeans\<version>\var\cache\index. That usually unwedges it.

On Fri, Aug 5, 2011 at 12:41 PM, Alessandro Ferrucci <address-removed ([email]address-removed[/email])> wrote:


Quote:
Hello,
I have a very large multi-module project that I have opened in netbeans (the project is actually geotools).
All the poms are already correctly configured and I should just be able to open the project and have all the class references be recognized.
Opening this project in Eclipse works fine without having to do anything, so there is something wrong with netbeans (or netbeans maven plugin).
Literally every reference to Classes that are defined within modules and referenced from other modules are not recognized.
Also, any external dependencies that are defined in the POMs that are available in the M2 Repo are not recognized, the dependencies are indeed in my local m2 repo, Eclipse can find them fine.

Anything I can do to trouble shoot? Check? 
I have even set up the M2_REPO env. variable to no avail.
Any one have any insight?

Thank  you






--
Cell: [url=tel:703-594-1883]703-594-1883[/url]
Blog: http://bradjcox.blogspot.com
Web: http://virtualschool.edu
Manassas VA 20111






--
Signed,
Alessandro Ferrucci



--
Cell: 703-594-1883
Blog: http://bradjcox.blogspot.com
Web: http://virtualschool.edu
Manassas VA 20111
Back to top
jiangjiang



Joined: 06 Aug 2011
Posts: 3

PostPosted: Sat Aug 06, 2011 2:25 am    Post subject: DRESS Reply with quote

cheerful and most looking kid as one of the gang with all pals.Party Dresses uk If you're shopping with junior clothesin larger sizes then it could be prudent that you want flare jeans or bell-bottoms and it will indeed become a wise choice to have the kiddo appear voguish. Wedding Dresses storeAdditionally, make sure that you've got some black, as they may last
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