[ http://jira.codehaus.org/browse/MNG-3746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on MNG-3746 started by John Casey. > POM properties do not override default system properties during POM > interpolation > --------------------------------------------------------------------------------- > > Key: MNG-3746 > URL: http://jira.codehaus.org/browse/MNG-3746 > Project: Maven 2 > Issue Type: Bug > Components: Inheritance and Interpolation > Affects Versions: 2.1.0-M1 > Reporter: John Casey > Assignee: John Casey > Priority: Blocker > Fix For: 2.1.0-M1 > > > From Paul Benedict, on the maven dev list: > {noformat} > My issue might be related to MNG-3535. > I defined this property: > <java.version>1.6</java.version> > And used it in my compiler plugin: > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <configuration> > <source>${java.version}</source> > <target>${java.version}</target> > </configuration> > </plugin> > I know this use to work before 2.0.10, but now it does not. > [INFO] Compilation failure > Failure executing javac, but could not parse the error: > javac: invalid target release: 1.6.0_06 > Usage: javac <options> <source files> > use -help for a list of possible options > The error here is that ${java.version} is not the value I specified, > but one that already exists. > Paul > {noformat} > I've replicated the problem in a separate test mock-up project. -- 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