Uniform access to phase properties of MavenProject --------------------------------------------------
Key: MNG-2463 URL: http://jira.codehaus.org/browse/MNG-2463 Project: Maven 2 Issue Type: Improvement Affects Versions: 2.0.4 Reporter: Jochen Kuhnle MavenProject has a distinct accessor for each phase's properties, e.g. getCompileSourceRoots for the compile and getTestCompileSourceRoots for the test phase. There are also many plugins that essentially do the same in more than one phase (e.g. the compiler plugin). If there was a uniform way to access the same property in different phases, these plugins would be easier to write, because we wouldn't need an abstract base class and different implementations for each phase. So what I propose basically is: MavenProject.getCompilePhase().getSourceRoots() and MavenProject.getTestPhase().getSourceRoots() -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira