The following issue has been updated:

    Updater: dion gillard (mailto:[EMAIL PROTECTED])
       Date: Mon, 4 Aug 2003 12:21 AM
    Changes:
             timeoriginalestimate changed from 0
             timeestimate changed from 0 minutes
             Fix Version changed to 1.0-final
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-463&page=history

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-463


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-463
    Summary: Project properties overwrite all other properties when Reactor is used.
       Type: Bug

     Status: Unassigned
   Priority: Major

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             maven-reactor-plugin
   Fix Fors:
             1.0-final
   Versions:
             maven-new-unreleased

   Assignee: 
   Reporter: Charles Chan

    Created: Wed, 4 Jun 2003 12:43 PM
    Updated: Mon, 4 Aug 2003 12:21 AM

Description:
If you execute the reactor Goal in Project A, Project A's
properties overwrites all other definitions. If you
execute in Project B where 'conf.dir' is not defined,
you will get the right behavior. I am going to report
this as a bug in JIRA.

=====

Apparently, Maven allows only one definition of a
property in reactor.

Consider the following scenario:

Project A
project.properties
==================
conf.dir=/A/conf

Project B
project.properties
==================
No definition of conf.dir

My Plugin
plugin.jelly
============
<goal name="testProperty">
  <echo>conf.dir=${conf.dir}</echo>
</goal>

plugin.properties
=================
(default conf.dir)
conf.dir=${maven.src.dir}/conf

If you have a reactor that executes both A and B's
testProperty goal, A's conf.dir property will be used
when running B's goal.

This is unexpected because when we execute B by
itself, it uses the default conf.dir property defined
in the Plugin.




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

Reply via email to