NetBeans Forums

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

Netbeans and Maven Project (with modules) - 'dependencies.dependency.version' is missing, but version in parent POM

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



Joined: 17 Dec 2009
Posts: 2

PostPosted: Thu Dec 17, 2009 9:22 pm    Post subject: Netbeans and Maven Project (with modules) - 'dependencies.dependency.version' is missing, but version in parent POM Reply with quote

I have a maven project with some modules, the version is informed of the dependencies in the master pom, but the plugin maven in netbeans shows problems with the modules:

Quote:

Project model validation failed.
[0] 'dependencies.dependency.version' is missing for org.springframework:spring

and <Badly formed Maven Project> on project.


this is not a problem because the version of dependency is in master pom.

any suggestions to solve? or is it a bug in the maven plugin?

thanks
Back to top
Fabrizio Giudici
Posted via mailing list.





PostPosted: Fri Dec 18, 2009 1:12 am    Post subject: Netbeans and Maven Project (with modules) - 'dependencies.dependency.version' is missing, but version in parent POM Reply with quote

spyrogyra wrote:
Quote:
Quote:
I have a maven project with some modules, the version is informed of the dependencies in the master pom, but the plugin maven in netbeans shows problems with the modules:


Quote:
Project model validation failed.
[0] 'dependencies.dependency.version' is missing for org.springframework:spring

and <Badly formed Maven Project> on project.



this is not a problem because the version of dependency is in master pom.

any suggestions to solve? or is it a bug in the maven plugin?

Have you tried to reload all the projects? (Indeed, the master pom and the current one should suffice).

Quote:
--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/people
address-removed ([email]address-removed[/email])
Back to top
spyrogyra



Joined: 17 Dec 2009
Posts: 2

PostPosted: Fri Dec 18, 2009 11:45 am    Post subject: Re: Netbeans and Maven Project (with modules) - 'dependencies.dependency.version' is missing, but version in parent POM Reply with quote

indeed, opening again netbeans projects do not report without problems. But I did not have to close and open the projects, only resolved by restarting netbeans.

Thanks

PS: Product Version: NetBeans IDE 6.8 (Build 200912041610)
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