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

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -