Maven Plugin
Overview
The avalon plugin provides support for the generation of classloader metadata associated with a jar file.
The generation of metyada is triggered using the following goal:
artifact:install
The goal generates a file with the same name as the jar artifact + ".meta".
An example from the merlin/kernel/impl project is included below.
# # Meta classifier. # meta.domain = avalon meta.version = 1.0 # # Artifact descriptor. # avalon.artifact.group = merlin avalon.artifact.name = merlin-impl avalon.artifact.version = 3.2-dev avalon.artifact.signature = 20031211.044644 # # API dependencies. # avalon.artifact.dependency.api.0 = merlin:merlin-api;3.2-dev avalon.artifact.dependency.api.1 = avalon-activation:avalon-activation-api;1.2.1-dev avalon.artifact.dependency.api.2 = avalon-repository:avalon-repository-api;1.2-dev avalon.artifact.dependency.api.3 = avalon-composition:avalon-composition-api;1.2.1-dev avalon.artifact.dependency.api.4 = avalon-meta:avalon-meta-api;1.2.1-dev avalon.artifact.dependency.api.5 = avalon-extension:avalon-extension-spi;1.0 avalon.artifact.dependency.api.6 = avalon-framework:avalon-framework-api;4.1.5 avalon.artifact.dependency.api.7 = excalibur-lifecycle:excalibur-lifecycle-api;1.0 avalon.artifact.dependency.api.8 = xml-apis:xml-apis;2.0.2 avalon.artifact.dependency.api.9 = xml-apis:xmlParserAPIs;2.0.2 # # SPI dependencies. # avalon.artifact.dependency.spi.0 = avalon-activation:avalon-activation-spi;1.2.2-dev avalon.artifact.dependency.spi.1 = avalon-repository:avalon-repository-spi;1.2-dev avalon.artifact.dependency.spi.2 = avalon-composition:avalon-composition-spi;1.2.1-dev avalon.artifact.dependency.spi.3 = avalon-meta:avalon-meta-spi;1.2.1-dev # # Implementation dependencies. # avalon.artifact.dependency.0 = avalon-activation:avalon-activation-impl;1.2.3-dev avalon.artifact.dependency.1 = avalon-composition:avalon-composition-impl;1.2.2-dev avalon.artifact.dependency.2 = avalon-meta:avalon-meta-impl;1.2.1-dev avalon.artifact.dependency.3 = avalon-extension:avalon-extension-impl;1.0 avalon.artifact.dependency.4 = avalon-framework:avalon-framework-impl;4.1.5 avalon.artifact.dependency.5 = avalon-util:avalon-util-defaults;1.1-dev avalon.artifact.dependency.6 = avalon-util:avalon-util-env;1.0-dev avalon.artifact.dependency.7 = avalon-util:avalon-util-exception;1.0-dev avalon.artifact.dependency.8 = avalon-util:avalon-util-criteria;1.0-dev avalon.artifact.dependency.9 = logkit:logkit;1.2 avalon.artifact.dependency.10 = excalibur-i18n:excalibur-i18n;1.1 avalon.artifact.dependency.11 = excalibur-configuration:excalibur-configuration;1.1 avalon.artifact.dependency.12 = excalibur-event:excalibur-event;1.0.3 avalon.artifact.dependency.13 = excalibur:excalibur-util-concurrent;1.3.1 avalon.artifact.dependency.14 = mx4j:mx4j-jmx;1.1.1 avalon.artifact.dependency.15 = mx4j:mx4j-tools;1.1.1 avalon.artifact.dependency.16 = commons-collections:commons-collections;2.1 avalon.artifact.dependency.17 = xerces:xerces;2.4.0 # # Factory. # avalon.artifact.factory = org.apache.avalon.merlin.impl.DefaultFactory # # EOF #