Download cobertura-2.1.1.jar file

Introduction

You can download cobertura-2.1.1.jar in this page.

License

The Apache Software License, Version 2.0

Type List

cobertura-2.1.1.jar file has the following types.

COPYING
COPYRIGHT
META-INF/MANIFEST.MF
META-INF/maven/net.sourceforge.cobertura/cobertura/pom.properties
META-INF/maven/net.sourceforge.cobertura/cobertura/pom.xml
logback.xml
net.sourceforge.cobertura.CoverageIgnore.class
net.sourceforge.cobertura.ant.AntUtil.class
net.sourceforge.cobertura.ant.CheckTask.class
net.sourceforge.cobertura.ant.CoberturaJUnitResultFormatter.class
net.sourceforge.cobertura.ant.CommonMatchingTask.class
net.sourceforge.cobertura.ant.ExcludeClasses.class
net.sourceforge.cobertura.ant.Ignore.class
net.sourceforge.cobertura.ant.IgnoreBranches.class
net.sourceforge.cobertura.ant.IgnoreClassAnnotation.class
net.sourceforge.cobertura.ant.IgnoreMethodAnnotation.class
net.sourceforge.cobertura.ant.IncludeClasses.class
net.sourceforge.cobertura.ant.InstrumentTask.class
net.sourceforge.cobertura.ant.MergeTask.class
net.sourceforge.cobertura.ant.Regex.class
net.sourceforge.cobertura.ant.ReportTask.class
net.sourceforge.cobertura.check.CheckCoverageMain.class
net.sourceforge.cobertura.check.CheckCoverageTask.class
net.sourceforge.cobertura.check.CoverageRate.class
net.sourceforge.cobertura.check.CoverageResultEntry.class
net.sourceforge.cobertura.check.CoverageThreshold.class
net.sourceforge.cobertura.check.Main.class
net.sourceforge.cobertura.check.PackageCoverage.class
net.sourceforge.cobertura.coveragedata.BranchCoverageData.class
net.sourceforge.cobertura.coveragedata.ClassData.class
net.sourceforge.cobertura.coveragedata.CoverageData.class
net.sourceforge.cobertura.coveragedata.CoverageDataContainer.class
net.sourceforge.cobertura.coveragedata.CoverageDataFileHandler.class
net.sourceforge.cobertura.coveragedata.JumpData.class
net.sourceforge.cobertura.coveragedata.LightClassmapListener.class
net.sourceforge.cobertura.coveragedata.LineData.class
net.sourceforge.cobertura.coveragedata.PackageData.class
net.sourceforge.cobertura.coveragedata.ProjectData.class
net.sourceforge.cobertura.coveragedata.SaveTimer.class
net.sourceforge.cobertura.coveragedata.SourceFileData.class
net.sourceforge.cobertura.coveragedata.SwitchData.class
net.sourceforge.cobertura.coveragedata.TouchCollector.class
net.sourceforge.cobertura.dsl.Arguments.class
net.sourceforge.cobertura.dsl.ArgumentsBuilder.class
net.sourceforge.cobertura.dsl.Cobertura.class
net.sourceforge.cobertura.dsl.ReportFormat.class
net.sourceforge.cobertura.instrument.AbstractFindTouchPointsClassInstrumenter.class
net.sourceforge.cobertura.instrument.Archive.class
net.sourceforge.cobertura.instrument.ClassPattern.class
net.sourceforge.cobertura.instrument.CoberturaClassWriter.class
net.sourceforge.cobertura.instrument.CoberturaFile.class
net.sourceforge.cobertura.instrument.CoberturaInstrumenter.class
net.sourceforge.cobertura.instrument.CodeInstrumentationTask.class
net.sourceforge.cobertura.instrument.ContextMethodAwareMethodAdapter.class
net.sourceforge.cobertura.instrument.FindTouchPointsMethodAdapter.class
net.sourceforge.cobertura.instrument.HistoryMethodAdapter.class
net.sourceforge.cobertura.instrument.InstrumentMain.class
net.sourceforge.cobertura.instrument.Main.class
net.sourceforge.cobertura.instrument.TouchPointListener.class
net.sourceforge.cobertura.instrument.pass1.CodeFootstamp.class
net.sourceforge.cobertura.instrument.pass1.DetectDuplicatedCodeClassVisitor.class
net.sourceforge.cobertura.instrument.pass1.DetectDuplicatedCodeMethodVisitor.class
net.sourceforge.cobertura.instrument.pass1.DetectIgnoredCodeClassVisitor.class
net.sourceforge.cobertura.instrument.pass1.DetectIgnoredCodeMethodVisitor.class
net.sourceforge.cobertura.instrument.pass2.BuildClassMapClassVisitor.class
net.sourceforge.cobertura.instrument.pass2.BuildClassMapTouchPointListener.class
net.sourceforge.cobertura.instrument.pass3.AbstractCodeProvider.class
net.sourceforge.cobertura.instrument.pass3.AtomicArrayCodeProvider.class
net.sourceforge.cobertura.instrument.pass3.CodeProvider.class
net.sourceforge.cobertura.instrument.pass3.FastArrayCodeProvider.class
net.sourceforge.cobertura.instrument.pass3.InjectCodeClassInstrumenter.class
net.sourceforge.cobertura.instrument.pass3.InjectCodeTouchPointListener.class
net.sourceforge.cobertura.instrument.tp.ClassMap.class
net.sourceforge.cobertura.instrument.tp.JumpTouchPointDescriptor.class
net.sourceforge.cobertura.instrument.tp.LineTouchPointDescriptor.class
net.sourceforge.cobertura.instrument.tp.SwitchTouchPointDescriptor.class
net.sourceforge.cobertura.instrument.tp.TouchPointDescriptor.class
net.sourceforge.cobertura.javancss.FunctionMetric.class
net.sourceforge.cobertura.javancss.Javancss.class
net.sourceforge.cobertura.javancss.JavancssFactory.class
net.sourceforge.cobertura.javancss.Metric.class
net.sourceforge.cobertura.javancss.ObjectMetric.class
net.sourceforge.cobertura.javancss.PackageMetric.class
net.sourceforge.cobertura.javancss.ccl.Exitable.class
net.sourceforge.cobertura.javancss.ccl.FileUtil.class
net.sourceforge.cobertura.javancss.ccl.Init.class
net.sourceforge.cobertura.javancss.ccl.Util.class
net.sourceforge.cobertura.javancss.parser.JavaCharStream.class
net.sourceforge.cobertura.javancss.parser.JavaParser.class
net.sourceforge.cobertura.javancss.parser.JavaParserConstants.class
net.sourceforge.cobertura.javancss.parser.JavaParserInterface.class
net.sourceforge.cobertura.javancss.parser.JavaParserTokenManager.class
net.sourceforge.cobertura.javancss.parser.ParseException.class
net.sourceforge.cobertura.javancss.parser.Token.class
net.sourceforge.cobertura.javancss.parser.TokenMgrError.class
net.sourceforge.cobertura.javancss.parser.debug.JavaCharStream.class
net.sourceforge.cobertura.javancss.parser.debug.JavaParserDebug.class
net.sourceforge.cobertura.javancss.parser.debug.JavaParserDebugConstants.class
net.sourceforge.cobertura.javancss.parser.debug.JavaParserDebugTokenManager.class
net.sourceforge.cobertura.javancss.parser.debug.ParseException.class
net.sourceforge.cobertura.javancss.parser.debug.Token.class
net.sourceforge.cobertura.javancss.parser.debug.TokenMgrError.class
net.sourceforge.cobertura.javancss.parser.java15.GTToken.class
net.sourceforge.cobertura.javancss.parser.java15.JavaCharStream.class
net.sourceforge.cobertura.javancss.parser.java15.JavaParser15.class
net.sourceforge.cobertura.javancss.parser.java15.JavaParser15Constants.class
net.sourceforge.cobertura.javancss.parser.java15.JavaParser15TokenManager.class
net.sourceforge.cobertura.javancss.parser.java15.ParseException.class
net.sourceforge.cobertura.javancss.parser.java15.Token.class
net.sourceforge.cobertura.javancss.parser.java15.TokenMgrError.class
net.sourceforge.cobertura.javancss.parser.java15.debug.GTToken.class
net.sourceforge.cobertura.javancss.parser.java15.debug.JavaCharStream.class
net.sourceforge.cobertura.javancss.parser.java15.debug.JavaParser15Debug.class
net.sourceforge.cobertura.javancss.parser.java15.debug.JavaParser15DebugConstants.class
net.sourceforge.cobertura.javancss.parser.java15.debug.JavaParser15DebugTokenManager.class
net.sourceforge.cobertura.javancss.parser.java15.debug.ParseException.class
net.sourceforge.cobertura.javancss.parser.java15.debug.Token.class
net.sourceforge.cobertura.javancss.parser.java15.debug.TokenMgrError.class
net.sourceforge.cobertura.merge.Main.class
net.sourceforge.cobertura.merge.MergeMain.class
net.sourceforge.cobertura.merge.MergeProjectDataFilesTask.class
net.sourceforge.cobertura.reporting.ComplexityCalculator.class
net.sourceforge.cobertura.reporting.CompositeReport.class
net.sourceforge.cobertura.reporting.CoverageThresholdsReport.class
net.sourceforge.cobertura.reporting.Main.class
net.sourceforge.cobertura.reporting.NativeReport.class
net.sourceforge.cobertura.reporting.NullReport.class
net.sourceforge.cobertura.reporting.Report.class
net.sourceforge.cobertura.reporting.ReportFormatStrategy.class
net.sourceforge.cobertura.reporting.ReportFormatStrategyRegistry.class
net.sourceforge.cobertura.reporting.ReportMain.class
net.sourceforge.cobertura.reporting.ReportName.class
net.sourceforge.cobertura.reporting.html.HTMLReport.class
net.sourceforge.cobertura.reporting.html.HTMLReportFormatStrategy.class
net.sourceforge.cobertura.reporting.html.JavaToHtml.class
net.sourceforge.cobertura.reporting.html.SourceFileDataBaseNameComparator.class
net.sourceforge.cobertura.reporting.html.files.CopyFiles.class
net.sourceforge.cobertura.reporting.xml.SummaryXMLReport.class
net.sourceforge.cobertura.reporting.xml.SummaryXMLReportStrategy.class
net.sourceforge.cobertura.reporting.xml.XMLReport.class
net.sourceforge.cobertura.reporting.xml.XMLReportFormatStrategy.class
net.sourceforge.cobertura.util.ArchiveUtil.class
net.sourceforge.cobertura.util.CommandLineBuilder.class
net.sourceforge.cobertura.util.ConfigurationUtil.class
net.sourceforge.cobertura.util.FileFinder.class
net.sourceforge.cobertura.util.FileLocker.class
net.sourceforge.cobertura.util.Header.class
net.sourceforge.cobertura.util.IOUtil.class
net.sourceforge.cobertura.util.RegexUtil.class
net.sourceforge.cobertura.util.ShutdownHooks.class
net.sourceforge.cobertura.util.Source.class
net.sourceforge.cobertura.util.StringUtil.class
net.sourceforge.cobertura.webapp.FlushCoberturaServlet.class
net/sourceforge/cobertura/ant/antlib.xml
net/sourceforge/cobertura/reporting/html/files/blank.png
net/sourceforge/cobertura/reporting/html/files/customsorttypes.js
net/sourceforge/cobertura/reporting/html/files/downsimple.png
net/sourceforge/cobertura/reporting/html/files/help.css
net/sourceforge/cobertura/reporting/html/files/help.html
net/sourceforge/cobertura/reporting/html/files/index.html
net/sourceforge/cobertura/reporting/html/files/main.css
net/sourceforge/cobertura/reporting/html/files/popup.js
net/sourceforge/cobertura/reporting/html/files/sortabletable.css
net/sourceforge/cobertura/reporting/html/files/sortabletable.js
net/sourceforge/cobertura/reporting/html/files/source-viewer.css
net/sourceforge/cobertura/reporting/html/files/stringbuilder.js
net/sourceforge/cobertura/reporting/html/files/tooltip.css
net/sourceforge/cobertura/reporting/html/files/upsimple.png
net/sourceforge/cobertura/webapp/web.xml
tasks.properties

Pom

cobertura-2.1.1.pom file content.

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

  <modelVersion>4.0.0</modelVersion>
  <groupId>net.sourceforge.cobertura</groupId>
  <artifactId>cobertura</artifactId>
  <version>2.1.1</version>
  <packaging>jar</packaging>
  <name>Cobertura code coverage</name>
  
  <parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>7</version>
    <relativePath />
  </parent>
  
  <description>
    Cobertura is a free Java tool that calculates the percentage of
    code accessed by tests. It can be used to identify which parts of
    your Java program are lacking test coverage. It is based on jcoverage.
  </description>
  
  <url>http://cobertura.sourceforge.net</url>
  
  <pluginRepositories>
    <pluginRepository>
      <id>sonatype-releases</id>
      <url>http://oss.sonatype.org/content/repositories/releases</url>
    </pluginRepository>
    <pluginRepository>
      <id>clojars.org</id>
      <url>http://clojars.org/repo</url>
    </pluginRepository>
  </pluginRepositories>

  <properties>
    <asmVersion>5.0.1</asmVersion>
    <xercesVersion>2.11.0</xercesVersion>
    <xalanVersion>2.7.1</xalanVersion>
    <oroVersion>2.0.8</oroVersion>
    <jaxenVersion>1.1.4</jaxenVersion>
    <commonsioVersion>2.2</commonsioVersion>
    <commonslangVersion>3.3.2</commonslangVersion>
    <antVersion>1.8.3</antVersion>
    <jettyVersion>6.1.14</jettyVersion>
    <simplexmlVersion>2.6.2</simplexmlVersion>
    <guavaVersion>13.0.1</guavaVersion>
    <groovyVersion>1.6.9</groovyVersion>
    <jsr305Version>1.3.2</jsr305Version>
    <javaccVersion>5.0</javaccVersion>
    <logbackVersion>1.0.13</logbackVersion>
    <junitVersion>4.11</junitVersion>
    <mockitoVersion>1.9.5</mockitoVersion>
    <jdkVersion>1.6</jdkVersion>
    <surefireVersion>2.16</surefireVersion>
    <slf4jVersion>1.7.5</slf4jVersion>
    <jdomVersion>1.1.3</jdomVersion>
    <plugin.java.formatter.version>0.4</plugin.java.formatter.version>
    <plugin.mvn.compiler.version>2.3.2</plugin.mvn.compiler.version>
    <plugin.mvn.jar.version>2.3.2</plugin.mvn.jar.version>
    <plugin.pmd.version>3.0.1</plugin.pmd.version>
    <plugin.jdoc.version>2.9.1</plugin.jdoc.version>
    <plugin.findbugs.version>2.5.2</plugin.findbugs.version>
  </properties>

  <dependencies>
    <dependency>
      <groupId>org.ow2.asm</groupId>
      <artifactId>asm</artifactId>
      <version>${asmVersion}</version>
    </dependency>
    <dependency>
      <groupId>org.ow2.asm</groupId>
      <artifactId>asm-tree</artifactId>
      <version>${asmVersion}</version>
    </dependency>
    <dependency>
      <groupId>org.ow2.asm</groupId>
      <artifactId>asm-commons</artifactId>
      <version>${asmVersion}</version>
    </dependency>
    <dependency>
      <groupId>org.ow2.asm</groupId>
      <artifactId>asm-util</artifactId>
      <version>${asmVersion}</version>
    </dependency>
    <dependency>
      <groupId>org.ow2.asm</groupId>
      <artifactId>asm-analysis</artifactId>
      <version>${asmVersion}</version>
    </dependency>
    <dependency>
      <groupId>xerces</groupId>
      <artifactId>xercesImpl</artifactId>
      <version>${xercesVersion}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>xalan</groupId>
      <artifactId>xalan</artifactId>
      <version>${xalanVersion}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jdom</groupId>
      <artifactId>jdom</artifactId>
      <version>${jdomVersion}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>oro</groupId>
      <artifactId>oro</artifactId>
      <version>${oroVersion}</version>
    </dependency>
    <dependency>
      <groupId>jaxen</groupId>
      <artifactId>jaxen</artifactId>
      <version>${jaxenVersion}</version>
    </dependency>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <version>${commonsioVersion}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.ant</groupId>
      <artifactId>ant</artifactId>
      <version>${antVersion}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.ant</groupId>
      <artifactId>ant-junit</artifactId>
      <version>${antVersion}</version>
    </dependency>
    <dependency>
      <groupId>org.mortbay.jetty</groupId>
      <artifactId>servlet-api-2.5</artifactId>
      <version>${jettyVersion}</version>
    </dependency>
    <dependency>
      <groupId>org.mortbay.jetty</groupId>
      <artifactId>jetty</artifactId>
      <version>${jettyVersion}</version>
    </dependency>
    <dependency>
      <groupId>org.mortbay.jetty</groupId>
      <artifactId>jetty-util</artifactId>
      <version>${jettyVersion}</version>
    </dependency>
    <dependency>
      <groupId>org.mortbay.jetty</groupId>
      <artifactId>jetty-servlet-tester</artifactId>
      <version>${jettyVersion}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.groovy</groupId>
      <artifactId>groovy-all</artifactId>
      <version>${groovyVersion}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>net.java.dev.javacc</groupId>
      <artifactId>javacc</artifactId>
      <version>${javaccVersion}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.sun</groupId>
      <artifactId>tools</artifactId>
      <version>0</version>
      <scope>system</scope>
      <systemPath>${toolsjar}</systemPath>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>${slf4jVersion}</version>
    </dependency>
    <dependency>
      <groupId>ch.qos.logback</groupId>
      <artifactId>logback-classic</artifactId>
      <version>${logbackVersion}</version>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>${junitVersion}</version>
    </dependency>
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-all</artifactId>
      <version>${mockitoVersion}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-lang3</artifactId>
      <version>${commonslangVersion}</version>
    </dependency>
  </dependencies>

  <profiles>
      <profile>
          <id>jdk6minus</id>
          <activation>
              <jdk>(,1.6]</jdk>
          </activation>
          <build>
              <plugins>
                  <plugin>
                      <groupId>org.apache.maven.plugins</groupId>
                      <artifactId>maven-surefire-plugin</artifactId>
                      <version>${surefireVersion}</version>
                      <configuration>
                          <excludes combine.children="append">
                              <!-- These tests require JDK 7+ -->
                              <exclude>net/sourceforge/cobertura/jdk/JDK7Test.java</exclude>
                              <exclude>net/sourceforge/cobertura/test/FunctionalTest.java</exclude>
                              <exclude>net/sourceforge/cobertura/test/IgnoreMethodAnnotationFunctionalTest.java</exclude>
                              <exclude>net/sourceforge/cobertura/test/IgnoreTrivialFunctionalTest.java</exclude>
                              <exclude>net/sourceforge/cobertura/test/LargeFileTest.java</exclude>
                              <exclude>net/sourceforge/cobertura/test/PerformanceTest.java</exclude>
                              <exclude>net/sourceforge/cobertura/test/SwitchFunctionalTest.java</exclude>
                              <exclude>net/sourceforge/cobertura/thread/test/MultipleClassloaderFunctionalTest.java</exclude>
                          </excludes>
                      </configuration>
                  </plugin>
              </plugins>
          </build>
      </profile>
      <profile>
          <id>standardToolsJar-profile</id>
          <activation>
              <activeByDefault>true</activeByDefault>
              <file>
                  <exists>${java.home}/../lib/tools.jar</exists>
              </file>
          </activation>
          <properties>
              <toolsjar>${java.home}/../lib/tools.jar</toolsjar>
          </properties>
      </profile>
      <profile>
          <id>appleJdkToolsJar-profile</id>
          <activation>
              <activeByDefault>false</activeByDefault>
              <file>
                  <exists>${java.home}/../Classes/classes.jar</exists>
              </file>
          </activation>
          <properties>
              <toolsjar>${java.home}/../Classes/classes.jar</toolsjar>
          </properties>
      </profile>
      <!--
          Purpose: Use GPG to sign artifacts during release:perform.
      -->
      <profile>
          <id>release-sign-artifacts</id>
          <activation>
              <property>
                  <name>performRelease</name>
                  <value>true</value>
              </property>
          </activation>
          <build>
              <plugins>
                  <plugin>
                      <groupId>org.apache.maven.plugins</groupId>
                      <artifactId>maven-gpg-plugin</artifactId>
                      <version>1.4</version>
                      <executions>
                          <execution>
                              <id>sign-artifacts</id>
                              <phase>package</phase>
                              <goals>
                                  <goal>sign</goal>
                              </goals>
                          </execution>
                      </executions>
                  </plugin>
              </plugins>
          </build>
      </profile>
  </profiles>

  <build>
    <resources>
      <resource>
        <directory>src/main/resources</directory>
      </resource>
      <resource>
        <directory>executables</directory>
        <filtering>true</filtering>
      </resource>
    </resources>
    <plugins>
      <!--
        This plugin seems presently to cause more problems than
        it solves, due to its constant reformatting of code.

        https://code.google.com/p/maven-java-formatter-plugin/
        https://github.com/treymarc/maven-java-formatter-plugin
      -->
      <!-- plugin>
        <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
        <artifactId>maven-java-formatter-plugin</artifactId>
        <version>${plugin.java.formatter.version}</version>
        <configuration>
          <lineEnding>LF</lineEnding>
        </configuration>
        <executions>
          <execution>
            <goals>
              <goal>format</goal>
            </goals>
          </execution>
        </executions>
      </plugin -->
      
      <!-- Cobertura requires custom jdk version for providing the support for the latest jdk. -->
      <plugin>
        <groupId>com.code54.mojo</groupId>
        <artifactId>buildversion-plugin</artifactId>
        <version>1.0.3</version>
        <executions>
          <execution>
            <goals>
              <goal>set-properties</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>${plugin.mvn.compiler.version}</version>
        <configuration>
          <fork>true</fork>
          <source>${jdkVersion}</source>
          <target>${jdkVersion}</target>
          <excludes>
            <exclude>**/test/*.java</exclude>
          </excludes>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>${plugin.mvn.jar.version}</version>
        <configuration>
          <archive>
            <index />
            <manifest>
              <addDefaultImplementationEntries />
              <addDefaultSpecificationEntries />
            </manifest>
            <manifestEntries>
              <Specification-Title>A code coverage analysis tool.</Specification-Title>
              <Specification-Version>${project.version}</Specification-Version>
              <Specification-Vendor>Cobertura</Specification-Vendor>
              <Implementation-Title>A code coverage analysis tool.</Implementation-Title>
              <Implementation-Version>${project.version}</Implementation-Version>
              <Implementation-Vendor>Cobertura</Implementation-Vendor>
              <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
            </manifestEntries>
          </archive>
          <excludes>
            <exclude>*.sh</exclude>
            <exclude>*.bat</exclude>
          </excludes>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>${surefireVersion}</version>
        <configuration>
          <redirectTestOutputToFile>true</redirectTestOutputToFile>
          <excludes combine.children="append">
            <exclude>**/test/condition/**</exclude>
            <exclude>**/examples/functionaltest1/**</exclude>
            <!-- This test is failing and I don't know how to fix it -->
            <exclude>net/sourceforge/cobertura/thread/test/MultipleClassloaderFunctionalTest.java</exclude>
            <!-- This test fails on Windows, see https://github.com/cobertura/cobertura/pull/209 -->
            <exclude>net/sourceforge/cobertura/dsl/ArgumentsBuilderTest.java</exclude>
          </excludes>
        </configuration>
      </plugin>

      <!-- This is required to assemble all of the binary files. -->
      <!-- The descriptor has more detailed information about what is included/excluded. -->
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <version>2.2.1</version>
        <configuration>
          <descriptors>
            <descriptor>src/main/assembly/assembly.xml</descriptor>
          </descriptors>
        </configuration>
        <executions>
          <execution>
            <id>packageBins</id>
            <phase>package</phase>
            <goals>
              <goal>single</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-pmd-plugin</artifactId>
        <version>${plugin.pmd.version}</version>
        <configuration>
          <failOnViolation>false</failOnViolation>
        </configuration>
        <executions>
          <execution>
            <goals>
              <goal>check</goal>
              <goal>cpd-check</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
        <version>${plugin.findbugs.version}</version>
        <configuration>
          <failOnError>false</failOnError>
        </configuration>
        <executions>
          <execution>
            <goals>
              <goal>check</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      
      <!-- This is to build the coberturaFlush.war file necessary for servlets. -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <version>2.3</version>
        <configuration>
          <warName>coberturaFlush</warName>
          <webXml>src/main/resources/net/sourceforge/cobertura/webapp/web.xml</webXml>
          <packagingIncludes>WEB-INF/classes/net/sourceforge/cobertura/webapp/FlushCoberturaServlet.class</packagingIncludes>
        </configuration>
        <executions>
          <execution>
            <id>prepare-war</id>
            <phase>prepare-package</phase>
            <goals>
              <goal>war</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.5.1</version>
        <configuration>
          <goals>deploy</goals>
          <localCheckout>true</localCheckout>
          <pushChanges>false</pushChanges>
       </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>javacc-maven-plugin</artifactId>
        <version>2.6</version>
        <executions>
          <execution>
            <id>javacc</id>
            <phase>initialize</phase>
            <goals>
              <goal>javacc</goal>
            </goals>
            <configuration>
              <outputDirectory>src/main/java</outputDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-clean-plugin</artifactId>
        <version>2.5</version>
        <configuration>
          <filesets>
            <fileset>
              <directory>src/main/java/net/sourceforge/cobertura/javancss/parser</directory>
              <includes>
                <include>**/*</include>
              </includes>
              <followSymlinks>false</followSymlinks>
            </fileset>
          </filesets>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-failsafe-plugin</artifactId>
        <version>2.15</version>
        <executions>
          <execution>
            <goals>
              <goal>integration-test</goal>
              <goal>verify</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>${plugin.jdoc.version}</version>
      </plugin>
    </plugins>
  </reporting>
  
  <scm>
    <connection>scm:git:git://github.com/cobertura/cobertura</connection>
    <developerConnection>scm:git:git@github.com:cobertura/cobertura.git</developerConnection>
    <url>http://github.com/cobertura/cobertura</url>
    <tag>cobertura-2.1.1</tag>
  </scm>
  
  <developers>
    <developer>
      <id>schristou88</id>
      <name>Steven Christou</name>
      <email>schristou88@gmail.com</email>
      <roles>
        <role>Developer</role>
      </roles>
      <timezone>+6</timezone>
    </developer>
  </developers>
</project>

POM Entry

<dependency>
   <groupId>net.sourceforge.cobertura</groupId>
   <artifactId>cobertura</artifactId>
   <version>2.1.1</version>
</dependency>

Download

If you think the following cobertura-2.1.1.jar downloaded from Maven central repository is inappropriate, such as containing malicious code/tools or violating the copyright, please email , thanks.



Download cobertura-2.1.1.jar file




PreviousNext

Related