ExtensionDescriptor

Extension descriptor, stored in META-INF/maven/extension.xml in an extension's jar artifact to precisely control parts of the extension and dependencies to expose.

Notice: this documentation is generated from a Modello model but the code executed is not generated from this descriptor. Please report if you find anything wrong.

<extension>
  <exportedPackages/>
  <exportedArtifacts/>
</extension>

extension

Root element of the extension.xml file.

Element Type Description
exportedPackages/exportedPackage* List<String> (Many) Packages from the artifact that are exposed.
exportedArtifacts/exportedArtifact* List<String> (Many) Artifacts that are exposed: groupId:artifactId file.