[ https://jira.codehaus.org/browse/MASPECTJ-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=272182#comment-272182 ]
Robert Scholte commented on MASPECTJ-99: ---------------------------------------- Yegor, could you add your output of {{mvn -v}}. I think I hit this same problem. On windows it all works fine, but our CI-machine with linux fails. > ajc error when project has no sources > ------------------------------------- > > Key: MASPECTJ-99 > URL: https://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. 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