On Tue, 31 May 2005, Julian C. Dunn wrote:
I don't see any loop there, but I guess the next step would be that c1
gets built again.
The problem here is that C1 and C2 inherit B's settings, so
the site goal there is actually the site goal from B, which calls
multiproject:site. You should wither override the site
goal again in C1 and C2 to just attainGoal site:site, or
add a check to B's site goal to see if it's being called on B (or on a
subproject). I don't know if the first solution will work, though.
-- Greetings,
Kenney
I know (from reading the list archives) that the Multiproject plugin
doesn't support multiproject nesting. From my understanding if one has a
project structure like:
projectA
\
projectB
\
- projectC1
|
- projectC2
and you try to run maven multiproject:site from projectA, it will
invoke maven site in projectB instead of maven multiproject:site.
So I tried to override projectB's site goal in the maven.xml with this:
goal name=site
attainGoal name=multiproject:site/
/goal
However, this causes an infinite loop. This is an example of the
transcript:
Starting the reactor...
Our processing order:
projectB1
projectB2
+
| Generating site for projectB1
| Memory: 3M/4M
+
multiproject:site-init:
multiproject:site:
build:start:
site:
.
.
.
multiproject:projects-init:
[echo] Gathering project list
Starting the reactor...
Our processing order:
projectC1
projectC2
+
| Generating site for projectC1
| Memory: 16M/24M
+
multiproject:site-init:
multiproject:site:
build:start:
.
.
.
+
| Generating site for projectC2
| Memory: 30M/36M
+
.
.
.
build:end:
[echo] Now building reactor projects: [projectC1, projectC2]
.
.
Our processing order:
projectC1
projectC2
and over and over.
Is there any way to get this to work?
- Julian
--
-- Julian C. Dunn, B.A.Sc, P.Eng. [EMAIL PROTECTED]
-- Platform Administrator, CBC.ca Production Operations
-- Office: 2C310-Q * Tel.: (416) 205-3311 x5592
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]