metadata - How can I add meta data to a maven pom -
i have maven pom deployed repo -and want add meta data tags..... example, date created, git md5, etc...
most importantly , want meta data seen in pom itself, (and embedded in jar/zip artifact, easy do).
can add more (nonidentifying) xml fields pom declaration, can used browsing not required defining pom resource ?
if not, simple way annotate information resource in maven deployment server (i'm using archiva, similar nexus)-- of course, there "version" field, don't want have cram metadata 1 field.
there fields in pom.xml
can used found under more project information in pom reference.
you squeeze information description
tag , parse way like.
or use <properties/>
, create useful tags there fulfill requirements. may not recommended way use properties still option.
by using properties easy values manifest.mf file using filtering techniques in combination maven jar plugin.
Comments
Post a Comment