• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

parent tag in Maven

 
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
  • 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
 
Greenhorn
Posts: 12
MyEclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • 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

 
Space pants. Tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!