Search code examples
javaeclipsemavenparent-pom

Where does Super POM come from in the config


When I look at my effective pom in Eclipse, I can see a load of dependencies and a label stating that this is our corporate super pom which must form part of every project.

I can't actually work out where the super pom comes into play in the config. I have looked at my settings.xml in maven, and it has lists to remote repositories, and internal repositories - but can't seem to see a link to the super pom anywhere.

It is a muliple module maven project built from an internal archetype, and the parent module has a parent artefact defined...but when I browse the parent artefact, I still cant see how the super pom comes into play.

Any advice appreciated.

Regards

i


Solution

  • The super pom is defined by the <parent> tag:

    <parent>
      <groupId>com.mycompany</groupId>
      <artifactId>mvn</artifactId>
      <version>1.0.0-SNAPSHOT</version>
    </parent>