You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Refr Bruhl <re...@yahoo.com> on 2010/07/23 21:39:07 UTC

Deploy on a pom

Team

Have to admit I am still fighting the maven learning curve...

I wish to create 3 or 4 different pom files to be used as parent poms. When 
these are done I wish to publish them in my distribution management repository.

Is there an archetype specifically for pom's or is there another way to use 
maven to publish the pom files to the repository?

Thanks!
-R



      

Re: Deploy on a pom

Posted by Phil Housley <un...@gmail.com>.
On 23 July 2010 20:39, Refr Bruhl <re...@yahoo.com> wrote:
> Team
>
> Have to admit I am still fighting the maven learning curve...
>
> I wish to create 3 or 4 different pom files to be used as parent poms. When
> these are done I wish to publish them in my distribution management repository.
>
> Is there an archetype specifically for pom's or is there another way to use
> maven to publish the pom files to the repository?

You are unlikely to need an archetype, as a pom project is just, well,
a pom. Create a directory, create a pom.xml in it, with packaging of
"pom" and add whatever you need. Then run mvn deploy from the
directory, as normal.

A sample: http://svn.apache.org/viewvc/maven/pom/trunk/asf/pom.xml?view=markup

-- 
Phil Housley

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org