Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 57935 invoked from network); 30 Mar 2004 08:47:21 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 30 Mar 2004 08:47:21 -0000 Received: (qmail 37365 invoked by uid 500); 30 Mar 2004 08:46:52 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 37321 invoked by uid 500); 30 Mar 2004 08:46:52 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 37301 invoked from network); 30 Mar 2004 08:46:52 -0000 Received: from unknown (HELO gateway.elsag.de) (134.98.65.18) by daedalus.apache.org with SMTP; 30 Mar 2004 08:46:52 -0000 Received: from vwall.elsag.de by gateway.elsag.de via smtpd (for daedalus.apache.org [208.185.179.12]) with SMTP; Tue, 30 Mar 2004 10:47:04 +0200 Received: from esmail by gateway.elsag.de via smtpd (for vwall.elsag.de [192.168.100.108]) with SMTP; Tue, 30 Mar 2004 10:47:03 +0200 Subject: RE: [multiproject] Strange... MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 30 Mar 2004 10:47:03 +0200 x-mimeole: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [multiproject] Strange... Thread-Index: AcQWKihe51asN3YbSiqkqfelQ3OzvgACFI4A From: =?iso-8859-1?Q?J=F6rg_Schaible?= To: "Maven Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Niclas Hedhman wrote on Tuesday, March 30, 2004 9:39 AM: > On Tuesday 30 March 2004 14:49, J=F6rg Schaible wrote: >> Hi Niclas, >>=20 >>> avalon-excalibur/buildsystem/project-common.xml >>=20 >> ^^^^ >> should be project.properties ? >=20 > Nope... > I was assuming that all the Organization, Mailinglists, and > other common stuff could be stuffed into a shared pom file. No? >=20 > Documentation says; > > Values from the parent project will be the default for this project > if they are left unspecified. > Since this behaviour changed multiple from RC1 to RC2 it is hard to say. = I would also believe the docs. As long as something is compiled and e.g. = the developers are listed i nthe project members - good. >> Personally I have added a pregoal for build:start to my maven.xml's >> that will load global properties. But even here: It is too late for >> the maven.repo.remote entry. This one cannot be shared, since >> the goal runs too late. >=20 > So, you are saying that the global "project.properties" in > the top-level dir > (where maven multiproject is invoked) will not be read? Yes. This is definatly true. >> - your "child" project.properties should contain an entry >> maven.multiproject.type. Otherwise multiproject does not know, what >> to call. Maybe this is your problem below ? >=20 > Docs says that "jar" is default type (although the Optional=3DNo). ok then. >> - maven.javadoc.stylesheet > =3Dfile:${avalon.buildsystem}/stylesheet.css >> will not work. All you define here is the link that is inserted in >> your HTML code. There are open JIRA issues (with patch) to solve >> this, but they're not applied >=20 > I worry about this later. :) =20 >> Try to validate your POMs with pom:validate. >=20 > Is the POM xml 'order sensitive', or just the pom:validate? Just the pom:validate, since the POM is not validated for execution (too = expensive). But this means maven will just use what if finds and you'll = never know if something is ignored. Guess, I had once a tag = and wondered why ... ;-) But nothing of this should create your original problem. Did you run = maven with -X option ? > Point in hand; I want a default Maven project with heaps of > subprojects without hordes of maven.xml coding, in fact I don't want > any maven.xml at all. Is this possible or not? If so, what is the > expected project layout?=20 Well, you can omit the maven.xml, if you don't use global properties. = But then you have to repeat them in any of the subprojects also. = Additionally you cannot have a global theme.css, this must also live in = each subproject. Solving this problems results again in a maven.xml in = each subproject ... I do not know what is really better ... Regards, J=F6rg --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org