mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
17.13.2014 f77901ca8919358e76fd832ef176f55e4f9fafb2
Omit generated messages and config sources from Cobertura coverage reports.
2 files modified
25 ■■■■■ changed files
opendj-config/pom.xml 14 ●●●●● patch | view | raw | blame | history
pom.xml 11 ●●●●● patch | view | raw | blame | history
opendj-config/pom.xml
@@ -110,6 +110,20 @@
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>cobertura-maven-plugin</artifactId>
        <configuration>
          <instrumentation>
            <excludes>
              <exclude>**/*Messages.class</exclude>
              <exclude>**/config/client/*CfgClient*.class</exclude>
              <exclude>**/config/server/*Cfg*.class</exclude>
              <exclude>**/config/meta/*.class</exclude>
            </excludes>
          </instrumentation>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <reporting>
pom.xml
@@ -308,6 +308,17 @@
          <version>${i18nFrameworkVersion}</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>cobertura-maven-plugin</artifactId>
          <configuration>
            <instrumentation>
              <excludes>
                <exclude>**/*Messages.class</exclude>
              </excludes>
            </instrumentation>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-release-plugin</artifactId>
          <version>2.2.2</version>