The following issue has been updated:
Updater: joseph benavidez (mailto:[EMAIL PROTECTED])
Date: Mon, 9 Feb 2004 7:39 PM
Comment:
simple patch to do what i described above...
Changes:
Attachment changed to multiproject-plugin-reactorXml.patch
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPMULTIPROJECT-21&page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPMULTIPROJECT-21
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPMULTIPROJECT-21
Summary: allow to set reactorXml tag for reactor tags within multiproject-plugin's
plugin.jelly
Type: Improvement
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-multiproject-plugin
Assignee: dion gillard
Reporter: joseph benavidez
Created: Mon, 9 Feb 2004 7:13 PM
Updated: Mon, 9 Feb 2004 7:39 PM
Environment: linux, maven rc1
Description:
It would be really nice to be able to set the reactorXml attribute
for the maven:reactor tags inside the plugin.jelly file, perhaps
by setting a maven.multiproject.reactorXml property.
The reason for this is that I have a maven.xml that defines
a java:compile preGoal that calls custom goals defined in
the parent maven.xml. It looks something like this:
parentDir
|
|---- maven.xml ("super project")
|
|---- subdir
|
|
|--- subproject1
| |
| |---- project.xml
|
|
|--- subproject2
|
|---- project.xml
(Notice that the project.xml's for subproject1 and subproject2 are
2 directories away from the "super project". We have it organized
like this for cleanliness. Anyway...)
Now, if I call multiproject:goal with java:compile, I therefore expect
my custom java:compile preGoal to be called. But my
preGoal is not called. If I go into the
~/.maven/plugins/maven-multiproject-plugin/plugin.jelly script and set the reactorXml
attribute to the "super project's" maven.xml, then it works.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]