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/08 11:21:36 UTC

[jira] Created: (MAVEN-1224) subprojects should inherit project.properties file that lives in same dir as 'ed pom file

Message:

  A new issue has been created in JIRA.

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1224
    Summary: subprojects should inherit project.properties file that lives in same dir as <extend>'ed pom file
       Type: Improvement

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Versions:
             1.0-rc1

   Assignee: 
   Reporter: joseph benavidez

    Created: Thu, 8 Apr 2004 5:20 AM
    Updated: Thu, 8 Apr 2004 5:20 AM
Environment: linux

Description:
let's say i've got this structure:

superproj/
|-- maven.xml
|-- project.properties
|-- project.xml
`-- subproj
    |-- project.properties
    `-- project.xml

and subproj's project.xml inherits superproj's project.xml... if I run maven from inside subproj, I want to inherit superproj's project.properties.

it's nice to be able to build stuff at the top level (using multiproject), but it'd be also nice to build at the subproj level without having to dup project.properties...

for example i want to be able to just run maven checkstyle from w/in the subproj. of course the checkstyle properties are all defined in the top-level project.properties...

I will attach a simple patch. (nothing refactored. a few lines copy/pasted). It seems to work correctly. The subproject's project.proprties overrides those of the subclassed pom's properties file. 


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