The following issue has been updated:
Updater: joseph benavidez (mailto:[EMAIL PROTECTED])
Date: Thu, 8 Apr 2004 5:20 AM
Changes:
Attachment changed to inherit-project-properties.patch
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1224&page=history
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]