ajc error when project has no sources -------------------------------------
Key: MASPECTJ-99 URL: http://jira.codehaus.org/browse/MASPECTJ-99 Project: Mojo AspectJ Plugin Issue Type: Bug Affects Versions: 1.3.1 Reporter: Yegor Bugayenko When the project has no source files and no aspects the following error is happening: {noformat} [INFO] --- aspectj-maven-plugin:1.3.1:compile (weave-classes) @ foo --- [ERROR] no sources specified [ERROR] AspectJ Compiler 1.6.9 Usage: <options> <source file | @argfile>.. AspectJ-specific options: ... {noformat} The same happens with {{test-compile}} when there are no test classes and aspects. I don't think that it's a correct behavior. Would be much better just to show a warning. -- 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 --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email