[ 
https://jira.codehaus.org/browse/MASPECTJ-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=272200#comment-272200
 ] 

Yegor Bugayenko edited comment on MASPECTJ-99 at 7/3/11 11:29 AM:
------------------------------------------------------------------

Here it is:

{noformat}
$ mvn -v
Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
Maven home: /opt/local/share/java/maven3
Java version: 1.6.0_24, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.6.6", arch: "x86_64", family: "mac"
{noformat}

      was (Author: fazend):
    Here it is:

{{{
$ mvn -v
Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
Maven home: /opt/local/share/java/maven3
Java version: 1.6.0_24, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.6.6", arch: "x86_64", family: "mac"
}}}
  
> 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


Reply via email to