You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/12/01 03:19:11 UTC
[jira] Deleted: (MAVEN-463) Project properties overwrite all other properties when Reactor is used.
Message:
The following issue has been deleted from JIRA.
---------------------------------------------------------------------
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
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org