davidkarlsen wrote: > > On Mon, 19 Jan 2009, zorro2b wrote: > >> >> How can I configure the plugin the weave the test code with aspects >> defined >> in src/main? >> >> Currently my plugin configuration is exactly as specified on the plugin >> docs >> page: >> >> <plugin> >> <groupId>org.codehaus.mojo</groupId> >> <artifactId>aspectj-maven-plugin</artifactId> >> <version>1.1</version> >> <executions> >> <execution> >> <goals> >> <goal>compile</goal> >> <goal>test-compile</goal> >> </goals> >> </execution> >> </executions> >> </plugin> > > aspects in src/main/java? > > Just noticed that the sites does have the default "goals" > report/documentation. > > That would reveal that the properties aspectDirectory and > testAspectDirectory points to src/main/aspec >
Let me clarify. When I referred to src/main I was indicating my main code. I have java in src/main/java and aspects in src/main/aspect. These get compiled ok, but I want the aspects in src/main/aspect applied to my test code. At the moment I cannot see the results of my main aspects applied to my test code. It is not clear to me how to configure the plugin to do that. Regards, Andrew -- View this message in context: http://www.nabble.com/AspectJ-weaving-problems-tp21552340p21552786.html Sent from the mojo - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
