When I have a project that includes a POM, e.g. like this:
<dependency>
<groupId>org.jboss.arquillian</groupId
<artifactId>arquillian-bom</artifactId
<version>1.1.2.Final</version>
<type>pom</type
<scope>test</scope>
</dependency>
then the POM is really downloaded to my local repository. And the POM contains a list of dependencies (I can check the POM file in my local repo, there is dependenManagement tag, and listed under there are a lot of dependencies, e.g. arquillian-config-api,shrinkwrap-descriptors-bom etc...), but those dependencies are not listed in mvn dependency:tree. The dependency tree looks like this:
...
\- org.jboss.arquillian:arquillian-bom:pom:1.1.2.Final:test
(no more lines below it)
...
but actually I would expect that Maven would show those dependencies as transitive dependencies. When the type of a dependency is of type JAR, then transitive dependencies are really shown.
Somehow, I think I don't understand what is the meaning of type "pom" when using Maven.
Until now, I thought it just means that instead of an artifact, it is just a POM that is inserted in the POM that is referring to it. So when I include a POM-typed dependency, the dependencies of the POM-type dependency are included.
But it seems that I am mistaken and the Maven documentation on the Internet has not helped me with this question.
Any ideas?