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 2004/04/27 13:17:10 UTC

[jira] Created: (MAVEN-1247) Projects should inherit the project.properties from the POM they extend

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1247

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1247
    Summary: Projects should inherit the project.properties from the POM they extend
       Type: Improvement

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             inheritance
   Versions:
             1.0-rc2

   Assignee: 
   Reporter: Michael Mattox

    Created: Tue, 27 Apr 2004 7:16 AM
    Updated: Tue, 27 Apr 2004 7:16 AM
Environment: Windows 2000, JDK 1.4.2

Description:
When a project extends another project, the base project's properties are not inherited.  This ends up causing a lot of problems.  For example, I want to set:

webserver.ip=9.144.174.72
webserver.port=9000
webserver.root.directory=/www/cs

these are properties that should be "global", that is to say used by all subprojects.  Currently, the only way to do this is to put the properties in a build.properties in the user's home.  This causes a few problems:

1 - Putting the build.properties in CVS causes problems because it's checked out to the user's home

2 - If the user uses maven for several projects the build.properties will clash.

In short, I think this can easily be solved like this: When a project extends another project, the sub-project inherits the super-project's project.properties.  I think this would be very easy to implement, and there is already a demand for this functionality.  It'd be a perfect addition to the 1.0 release.  I understand this may be planned for the 1.1 release, but I think it needs to be in 1.0.  Once 1.0 is released Maven will get a lot more exposure and maybe even a book or two.  If a critical feature like this is missing it may prevent people from using Maven.

Michael Mattox



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