### Config package dependencies

`config` elements may include the feature-pack package dependencies. So that when the config is included into the installation, the relevant packages are automatically included as well. The package dependencies are configured using the same elements used for <<_feature_package_dependencies,the feature package dependencies>>. E.g.

[source,xml]
----
<feature-pack xmlns="urn:jboss:galleon:feature-pack:1.0"
              groupId="org.jboss.pm.test" artifactId="fp1" version="1.0.0.Final">
  <config model="modelA">
    <packages>
     <package name="p1"/>
     <package name="p2" optional="true"/>
    </packages>
  </config>
</feature-pack>
----

Now every config of the *modelA* will depend on and implicitly will bring into the installation the specified packages.
