You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Reinhard Pötz <re...@apache.org> on 2008/11/29 18:00:49 UTC

[cocoon3] Added a root POM

Reinhard Pötz wrote:
> Vadim Gritsenko wrote:
>> On Nov 5, 2008, at 2:55 AM, Reinhard Pötz wrote:
>>
>>> Steven Dolg wrote:
>>>> If everything fails moving the pom might be an option. Would that
>>>> produce a valid project file with your setup?
>>> If that solves the problem with IDEA, we can (re)introduce the root pom.
>>> Actually I also have problems with creating releases because the Maven
>>> release plugin doesn't support flat scenarios (although recommended by
>>> Maven AFAIU).
>>>
>>> Vadim, you can use cocoon3/trunk/release.pom.xml and rename it to
>>> pom.xml. Then go to parent/pom.xml and remove the <modules> section from
>>> there. Then invoke all mvn commands from cocoon3/trunk instead of
>>> cocoon3/trunk/parent.
>> Works beautifully!
>>
>> Why not to have pom in root of the project? It seems to be the most
>> obvious thing to do, to run mvn from root of the project.
> 
> Because if you have one Eclipse project for one Maven module, then you
> can't create a project for the root pom anymore. But if that solves your
> problem (and because of the release plugin quirks) I think we should
> reintroduce the root pom.

I added a minimal root POM but left as many settings as possible in the
parent POM. HTH

-- 
Reinhard Pötz                           Managing Director, {Indoqa} GmbH
                         http://www.indoqa.com/en/people/reinhard.poetz/

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member                  reinhard@apache.org
________________________________________________________________________