java-jacoco-previous
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.sonarsource.java</groupId>
<artifactId>java-jacoco-previous</artifactId>
<version>5.7.0.15470</version>
</dependency><?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">
<parent>
<artifactId>java</artifactId>
<groupId>org.sonarsource.java</groupId>
<version>5.7.0.15470</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>java-jacoco-previous</artifactId>
<description>This module shades the required classes of previous version of JaCoCo to allow analysis of two JaCoCo binary format.</description>
<build>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
<includes>
<include>org/jacoco/core/data/ExecutionDataReader*</include>
<include>org/jacoco/core/data/ExecutionDataWriter*</include>
<include>org/jacoco/core/analysis/Analyzer*</include>
<include>org/jacoco/core/analysis/CoverageNodeImpl*</include>
<include>org/jacoco/core/internal/**</include>
</includes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>org.jacoco.core.data.ExecutionDataReader</pattern>
<shadedPattern>org.jacoco.previous.core.data.ExecutionDataReader</shadedPattern>
</relocation>
<relocation>
<pattern>org.jacoco.core.data.ExecutionDataWriter</pattern>
<shadedPattern>org.jacoco.previous.core.data.ExecutionDataWriter</shadedPattern>
</relocation>
<relocation>
<pattern>org.jacoco.core.analysis.Analyzer</pattern>
<shadedPattern>org.jacoco.previous.core.analysis.Analyzer</shadedPattern>
</relocation>
<relocation>
<pattern>org.jacoco.core.analysis.CoverageNodeImpl</pattern>
<shadedPattern>org.jacoco.previous.core.analysis.CoverageNodeImpl</shadedPattern>
</relocation>
<relocation>
<pattern>org.jacoco.core.internal</pattern>
<shadedPattern>org.jacoco.previous.core.internal</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<executions>
<execution>
<id>default-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<archive>
<manifestEntries>
<Version>5.7.0.15470</Version>
<Implementation-Build>${buildNumber}</Implementation-Build>
<Build-Time>2018-08-20T15:47:17+0000</Build-Time>
</manifestEntries>
</archive>
</configuration>
</execution>
<execution>
<id>empty-javadoc-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>javadoc</classifier>
<archive>
<manifestEntries>
<Version>5.7.0.15470</Version>
<Implementation-Build>${buildNumber}</Implementation-Build>
<Build-Time>2018-08-20T15:47:17+0000</Build-Time>
</manifestEntries>
</archive>
</configuration>
</execution>
<execution>
<id>empty-sources-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>sources</classifier>
<archive>
<manifestEntries>
<Version>5.7.0.15470</Version>
<Implementation-Build>${buildNumber}</Implementation-Build>
<Build-Time>2018-08-20T15:47:17+0000</Build-Time>
</manifestEntries>
</archive>
</configuration>
</execution>
</executions>
<configuration>
<archive>
<manifestEntries>
<Version>5.7.0.15470</Version>
<Implementation-Build>${buildNumber}</Implementation-Build>
<Build-Time>2018-08-20T15:47:17+0000</Build-Time>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.sonarsource.java</groupId>
<artifactId>sonar-jacoco-listeners</artifactId>
<version>4.14.0.11784</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>