You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The optional parameters 'sources' and 'testSources' documentation for the compile and test-compile goals (respectively) might be incomplete, the text implies that includes and excludes might be specified, yet there are no hints on how that can be accomplished. One alternative I found to work is (covers my use case).:
It took me sometime to figure it out, perhaps an example can be provided where the syntax is shown. I must say I first assumed a structure like <testSources><includes><include>some/**/expression</... by analogy from other parameters example code.
I'm guessing the includes and excludes can be leveraged directly inside <source>... using something along the lines of <dirsExcluded>, <dirsIncluded>, etc. as per the structure of DirectoryScanner, but I'm not really familiar with the mechanisms by which configuration parameters are converted inside maven plugins.
Perhaps the documentation can be complemented by someone fully familiar with the possibilities.
The optional parameters 'sources' and 'testSources' documentation for the compile and test-compile goals (respectively) might be incomplete, the text implies that includes and excludes might be specified, yet there are no hints on how that can be accomplished. One alternative I found to work is (covers my use case).:
It took me sometime to figure it out, perhaps an example can be provided where the syntax is shown. I must say I first assumed a structure like
<testSources><includes><include>some/**/expression</...
by analogy from other parameters example code.I'm guessing the includes and excludes can be leveraged directly inside
<source>...
using something along the lines of<dirsExcluded>, <dirsIncluded>, etc.
as per the structure of DirectoryScanner, but I'm not really familiar with the mechanisms by which configuration parameters are converted inside maven plugins.Perhaps the documentation can be complemented by someone fully familiar with the possibilities.
Links to the related documentation:
@ http://www.mojohaus.org/aspectj-maven-plugin/test-compile-mojo.html#testSources
and
@ http://www.mojohaus.org/aspectj-maven-plugin/compile-mojo.html#sources
The text was updated successfully, but these errors were encountered: