[ http://jira.codehaus.org/browse/MOJO-331?page=all ]
Kaare Nilsen closed MOJO-331:
-----------------------------
Resolution: Fixed
The problem was that it tried to do a compile on the project that had packaging
pom.
So now i skip the pom projects, and everything is a-ok.
Thanx very much for the test project attached, this made me save several hours
in debugging !!
> Compile can't find source files if running maven from a parent project
> ----------------------------------------------------------------------
>
> Key: MOJO-331
> URL: http://jira.codehaus.org/browse/MOJO-331
> Project: Mojo
> Type: Bug
> Components: aspectj
> Versions: 1.0
> Environment: Windows XP
> Reporter: Morten Torkildsen
> Assignee: Kaare Nilsen
> Fix For: 1.0
> Attachments: aspectjpluginissue.zip
>
>
> When compiling a project using the pom and working directory of a parent
> project, the aspectj compiler is unable to find the source files of the
> subproject and issues to following error:
> [INFO] Starting compiling aspects
> [INFO] Argumentsfile written : C:\tempdev\target\classesbuilddef.lst
> [ERROR] no sources specified
> [ERROR] AspectJ Compiler
> When running maven from the working directory of the subproject, it works.
> I've included a zip file with an example project that illustrates the problem
--
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