Compiler: <executable>${non-existent}</executable> resolved as "null", should emit a warning. ---------------------------------------------------------------------------------------------
Key: MCOMPILER-145 URL: http://jira.codehaus.org/browse/MCOMPILER-145 Project: Maven 2.x Compiler Plugin Issue Type: Bug Reporter: Ondrej Zizka Priority: Trivial When having the following in a profile, <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.6</source> <target>1.6</target> <compilerVersion>1.6</compilerVersion> <executable>${jdk16_home}/bin/javac</executable> <fork>true</fork> <verbose>true</verbose> </configuration> </plugin> the build with ${jdk16_home} not set would fail with: Embedded error: Error while executing the external compiler. java.io.IOException: null/bin/javac: not found I think that the unresolved property should emit a warning rather than being converted to "null" since that is harder to track the issue down that way. -- 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