[ http://jira.codehaus.org/browse/MPCLOVER-30?page=comments#action_39673 ] Eric Lapierre commented on MPCLOVER-30: ---------------------------------------
I am using clover with the multiproject plugin. If I add the generate directory maven.compile.src.set before calling clover:on, I get a compile error for the subprojects that don't have the generate the directory: Unable to obtain goal [multiproject:install-callback] -- /home/ericlap/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48: <ant:javac> srcdir "/vobs/oam_platform/base_datamgmt/persistence/target/generate" does not exist! Total time: 29 seconds I tried running clover:off before rerunning clover:on without any success. Once I have run clover:on once on a subproject, the fileset is fixed. > clover:on does not see updated maven.compile.src.set > ---------------------------------------------------- > > Key: MPCLOVER-30 > URL: http://jira.codehaus.org/browse/MPCLOVER-30 > Project: maven-clover-plugin > Type: Bug > Versions: 1.7 > Reporter: Eric Lapierre > Priority: Minor > Attachments: plugin.jelly.patch, project.xip > > > In our environment, we do generate some source code, so when we > invoke clover:on, the code does not already exist, so the fileset does not > contain our code. > So we are now calling clover:on whenever we generate some source code. > This is done after the maven.compile.src.set is modified. The problem is at > the second invocation of clover:on, the clover:on goal does not see the new > value of maven.compile.src.set. > It looks like ant:pathconvert, does not override a property if it is already > set. -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
