Hi Kristian,

> -----Original Message-----
> From: Kristian Nordal [mailto:[EMAIL PROTECTED] 
> Sent: 11. juni 2007 12:11
> To: Maven Users List
> Subject: Re: How do I set up a project for my root POM ?
> 
> Hi,
> 
> On 6/11/07, Arne Styve <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > We have setup our development system based on a companywide 
> root POM 
> > which is stored in our company repository. When we first 
> created this 
> > root POM, I created the POM and deployed it to the company 
> repository 
> > from the commandline on the server hosting the company repository.
> >
> > HREowever, it would be nice to create a Maven2 project 
> which had the 
> > root POM as "source" so that when I deploy the project, the 
> root POM 
> > would be deploied to the company repository using FTP like 
> any other 
> > of our Maven2 projects. How do I set up a project where the 
> result is 
> > a POM, and where do I place the root POM (as source) ? I.e. 
> I end up 
> > with two POM's, one beeing the root POM itself as a source, and the 
> > other the POM for the project...
> 
> Set the packaging element in the pom.xml to "pom". See:
> http://maven.apache.org/guides/introduction/introduction-to-th
> e-pom.html#Super%20POM
> 
> You should be able to deploy this module (with only a 
> pom.xml) like any other module.
> 

You are so right. By performing a "mvn deploy" the pom in question was
deploied to the company repository.

Thanks!

By the way, what client do you use to read this mailinglist ?

Regards
Arne

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to