Matthew Adams created MCOMPILER-200: ---------------------------------------
Summary: Provide optional boolean parameter <skipMain> Key: MCOMPILER-200 URL: https://jira.codehaus.org/browse/MCOMPILER-200 Project: Maven 2.x Compiler Plugin Issue Type: Improvement Reporter: Matthew Adams This issue relates to MCOMPILER-132; in fact, MCOMPILER-132 might just end up depending on this issue. NB: I'm using ajc exclusively as my compiler. Firstly, I can already instruct maven-compiler-plugin to skip test source compilation via the "<skip>true</skip>" parameter. I'm just asking it to do the same for compiling main code, because I don't want it to waste the time attempting to compile via javac when I know it's going to break. It doesn't make symmetrical sense that I can skip test source compilation and not main source compilation. I also acknowledge the argument made in MCOMPILER-132 that not all projects need compilation and should be able to skip it. Secondly, I'm not comfortable using "<compilerId>aspectj</compilerId>" along with plexus-compiler-aspectj because it's woefully out of date (the latest version, 2.1, depends on aspectj 1.6.0, but the current ajc release is 1.7.1). Lastly, I don't feel like I have enough control over the ajc compiler using compilerId aspectj. I prefer to use org.codehaus.mojo:aspectj-maven-plugin, binding execution id "default-compile" to the compile phase & execution id "default-testCompile" to testCompile. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira