On Tuesday 30 March 2004 14:49, Jörg Schaible wrote:
> Hi Niclas,
>
> > avalon-excalibur/buildsystem/project-common.xml
>
>                                        ^^^^
> should be project.properties ?

Nope...
I was assuming that all the Organization, Mailinglists, <build> and other 
common stuff could be stuffed into a shared pom file. No?

Documentation says;
<quote>
Values from the parent project will be the default for this project if they 
are left unspecified. 
</quote>


> 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.

So, you are saying that the global "project.properties" in the top-level dir 
(where maven multiproject is invoked) will not be read?

> - 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 ?

Docs says that "jar" is default type (although the Optional=No).

> - maven.javadoc.stylesheet =file:${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

I worry about this later.

> Try to validate your POMs with pom:validate.

Is the POM xml 'order sensitive', or just the pom:validate?


Attached is the avalon-excalibur/project.properties


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?


Cheers
Niclas
-- 
+---------//-------------------+
|   http://www.bali.ac         |
|  http://niclas.hedhman.org   |
+------//----------------------+
maven.repo.remote = 
http://www.apache.org/dist/avalon,http://www.ibiblio.org/maven,http://lsd.student.utwente.nl/repository

maven.docs.src = ${basedir}/site/xdocs
maven.docs.outputencoding = UTF-8

#
# Banner background and foreground colors.
#

maven.ui.banner.background = #fff
maven.ui.banner.foreground = #000
maven.xdoc.jsl = file:${avalon.buildsysten}/site.jsl
maven.javadoc.stylesheet = file:${avalon.buildsystem}/stylesheet.css
maven.javadoc.links = 
${sun.j2se.link},${avalon.logkit.link},${avalon.framework.link},${excalibur.thread.link},${excalibur.event.link}
maven.license.licenseFile = file:${basedir}/LICENSE.txt
maven.xdoc.poweredby.image=

#
# Declaration of the remote links to assign on javadoc generation.
# Link declarations can be overriden in the user's build.properties
# file.
#

sun.j2se.link = http://java.sun.com/j2se/1.4/docs/api/
avalon.framework.link = http://avalon.apache.org/framework/api/
avalon.logkit.link = http://avalon.apache.org/logkit/api/
excalibur.thread.link = http://avalon.apache.org/excalibur/thread/api/
excalibur.event.link = http://avalon.apache.org/excalibur/event/api/

maven.multiproject.includes = **/project.xml

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

Reply via email to