• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

parent tag in Maven

 
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I am new to Maven.
Can somebody tell me what is the use of "parent" tag in maven? Does it involves more than one pom.xml file or not etc.?
I can not find any good documentaion to understand it.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://maven.apache.org/pom.html#Inheritance
 
Greenhorn
Posts: 12
MyEclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you have 3 maven projects and 1 web project, With out re declaring dependency in child project just refer below Element in child pom.xml file



For Example MySqlMavenServices is a Maven project it is referred to MySqlMavenWeb project
pom.xml file in MySqlMavenServices



pom.xml file in MySqlMavenWeb project

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic