That is not the full fix. There seems to be an issue when I get into sub-SUB-modules
Now when I went back to version 2.0, it works fine... On 8/8/07, Mick Knutson <[EMAIL PROTECTED]> wrote: > > I found a solution: > > http://jira.codehaus.org/browse/MCOBERTURA-61 > > But this does not work if I am at ./utilties/common-jar/pom.xml level > trying to run this... > > > > > > > On 8/8/07, Mick Knutson <[EMAIL PROTECTED]> wrote: > > > > I have a project that has sub-sub-modules like: > > > > ./pom.xml > > ./utilties/pom.xml > > ./utilities/common-jar/pom.xml > > > > > > Now when I run mvn clean site:site @ ./utilities, I get my expected > > Cobertura report that is NOT 100% coverage. > > > > But when I run it at the ./utilities/common-jar level, everything is > > 100% covered which is not the case. > > > > Here is my main definition: > > > > ./pom.xml > > =================== > > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>cobertura-maven-plugin</artifactId> > > <version>2.1</version> > > > > <configuration> > > <!-- BUG IN PLUGIN: > > <dataFile>${basedir}/target/cobertura.ser</dataFile>--> > > <formats> > > <format>xml</format> > > <format>html</format> > > </formats> > > > > <instrumentation> > > <ignores> > > <ignore>com/**/* Exception.class > > </ignore> > > <ignore>org/**/*Exception.class</ignore> > > <ignore>com/**/BaseObject.class</ignore> > > <ignore> org.apache.commons.logging.* > > </ignore> > > </ignores> > > <excludes> > > <exclude>com/**/*Test.class</exclude> > > <exclude>org/**/*Test.class</exclude> > > <exclude>com/**/*Exception.class > > </exclude> > > <exclude>org/**/* Exception.class > > </exclude> > > > > <exclude>com/**/BaseObject.class</exclude> > > <exclude>org.apache.commons.logging.* > > </exclude> > > </excludes> > > </instrumentation> > > </configuration> > > <executions> > > <execution> > > <goals> > > <goal>clean</goal> > > </goals> > > </execution> > > </executions> > > </plugin> > > > > > > > > ./utilities/common-jar/pom.xml: > > =========================== > > > > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>cobertura-maven-plugin</artifactId> > > </plugin> > > > > > > > > -- > > > > Thanks, > > Mick Knutson > > > > http://www.baselogic.com > > http://www.blincmagazine.com > > http://www.djmick.com > > http://www.myspace.com/mickknutson > > http://www.myspace.com/djmick_dot_com > > http://www.myspace.com/sexybeotches > > http://www.thumpradio.com > > --- > > > > > -- > > Thanks, > Mick Knutson > > http://www.baselogic.com > http://www.blincmagazine.com > http://www.djmick.com > http://www.myspace.com/mickknutson > http://www.myspace.com/djmick_dot_com > http://www.myspace.com/sexybeotches > http://www.thumpradio.com > --- > -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/djmick_dot_com http://www.myspace.com/sexybeotches http://www.thumpradio.com ---
