maven - Generate a pom as an artifact -


i work on project, multiple workstreams generate quite lot of wars. said wars uploaded artifactory. we're in process of splitting configuration management java product, , i'm trying work out way generate pom on fly, contains dependencies of precisely wars use deploy product. pom uploaded product itself, artifactory other war or jar project produces, , downloaded using gav coordinate. said pom downloaded @ deploy time deploy script, , more or less directly used download , deploy wars our internal repo our target machine.

i'm looking elegant way produce pom in target directory contains reference wars produced multi module project.


Comments