Sorry, I was wrong, the configuration is loaded correctly, I see the includes, ignores and excludes, but it seems like the ignores have no effect. Now I am confused.
Martin777 wrote: > > I've checked the plugin sources available online and it looks to me, that > it never uses the ignores or exludes, just includes everything... Could I > be right? :) > > > Martin777 wrote: >> >> Have you solved the problem? I have the same issue with Cobertura, I want >> to ignore my data classes package. I've tried many combinations of >> ignore/exclude, but no luck :) >> >> >> Ulrich Wolf-2 wrote: >>> >>> Benjamin Bentmann wrote: >>>> >>>> Try moving the <configuration> from the <build> section to the >>>> <reporting> section. As mentioned in [0], a build config does not >>>> affect >>>> a reporting plugin execution. >>>> >>>> Benjamin >>>> >>>> [0] http://maven.apache.org/pom.html#Reporting >>> >>> Thanks for your reply, nice to know that! I thought that it would be the >>> other way round. >>> >>> Now I've also tested that, but this doesn't change anything. I also >>> tried >>> running cobertura separately from "site" as cobertura:cobertura, which >>> probably should use the <configuration> from the <build>-Section but the >>> output didn't change. >>> >>> I also tried to exchange the notation of includes and excludes (dots & >>> slashes) and defining every sourcefile on its own, but all that didn't >>> help. >>> >>> Really odd behavior, I can't really see why this is happening... >>> >>> Uli >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe from this list, please visit: >>> >>> http://xircles.codehaus.org/manage_email >>> >>> >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/Problems-with-exclusions-in-cobertura-maven-plugin-tp23011559p23831490.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