cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Pötz <>
Subject [cocoon3] Added a root POM
Date Sat, 29 Nov 2008 17:00:49 GMT
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

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member        

View raw message