Projects
Eulaceura:Factory
jacoco
_service:obs_scm:jacoco.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:jacoco.spec of Package jacoco
Name: jacoco Version: 0.7.8 Release: 3 Summary: Java Code Coverage for Eclipse License: EPL-1.0 and Apache-2.0 URL: http://www.eclemma.org/jacoco/ Source0: https://github.com/jacoco/jacoco/archive/v%{version}.tar.gz Source1: EnchancedManifest.mf BuildArch: noarch BuildRequires: maven-local mvn(org.apache.ant:ant) mvn(org.apache.maven:maven-plugin-api) BuildRequires: mvn(org.apache.maven:maven-project) BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin) BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-tools-javadoc) BuildRequires: mvn(org.apache.maven.reporting:maven-reporting-api) BuildRequires: mvn(org.apache.maven.reporting:maven-reporting-impl) BuildRequires: mvn(org.apache.maven.shared:file-management) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) mvn(org.jacoco:org.jacoco.build:pom:) BuildRequires: mvn(org.ow2.asm:asm-debug-all) dos2unix BuildRequires: mvn(org.eclipse.aether:aether-connector-basic) BuildRequires: mvn(org.eclipse.aether:aether-transport-wagon) BuildRequires: mvn(org.apache.maven.wagon:wagon-http) BuildRequires: mvn(org.apache.maven.wagon:wagon-provider-api) %description JaCoCo is a free code coverage library for Java, which has been created by the EclEmma team based on the lessons learned from using and integration existing libraries over the last five years. %package javadoc Summary: Java-docs for %{name} %description javadoc This package contains the API documentation for %{name}. %package maven-plugin Summary: A Jacoco plugin for maven %description maven-plugin A Jacoco plugin for maven. %prep %setup -q sed -i '/org.objectweb.asm/s/version="[^"]*"/bundle-version="[5.1.0,7.0.0)"/' $(find -name \*.MF) %pom_disable_module ../org.jacoco.examples org.jacoco.build %pom_disable_module ../org.jacoco.doc org.jacoco.build %pom_disable_module ../org.jacoco.tests org.jacoco.build %pom_disable_module ../jacoco org.jacoco.build %mvn_package ":jacoco-maven-plugin:{jar,pom}:{}:" maven-plugin %mvn_package ":{org.}*:{jar,pom}:runtime:" sed -i -e "s|nb-configuration.xml|nb-configuration.xml,build.xml, pom.xml|g" org.jacoco.build/pom.xml %pom_remove_plugin org.codehaus.groovy.maven:gmaven-plugin ./org.jacoco.build/pom.xml %pom_remove_plugin -f -r org.apache.maven.plugins:maven-enforcer-plugin %pom_xpath_inject pom:plugin[pom:artifactId=\'maven-antrun-plugin\']/pom:executions '<execution> <id>parse-version</id> <phase>validate</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <property name="jacoco.runtime.package.name" value="org.jacoco.agent.rt.internal_${randomNumber}" /> </target> <exportAntProperties>true</exportAntProperties> </configuration> </execution>' org.jacoco.build/pom.xml %build %mvn_build -b -- -Dproject.build.sourceEncoding=UTF-8 a=`find org.jacoco.agent.rt/target/ | grep jar | grep -v -e sources -e all` for x in $a ; do jar -umf %{SOURCE1} $x done; %install %mvn_install mkdir -p %{buildroot}%{_sysconfdir}/ant.d echo %{name} %{name}/org.jacoco.ant objectweb-asm/asm-debug-all > %{buildroot}%{_sysconfdir}/ant.d/%{name} %files -f .mfiles %dir %{_javadir}/%{name} %config(noreplace) %{_sysconfdir}/ant.d/%{name} %doc org.jacoco.doc/docroot/* %doc org.jacoco.doc/about.html %files maven-plugin -f .mfiles-maven-plugin %files javadoc -f .mfiles-javadoc %changelog * Fri Aug 18 2023 Ge Wang <wang__ge@126.com> - 0.7.8-3 - Fix build failure due to buildnumber-maven-plugin updated * Wed May 11 2022 liyanan <liyanan32@h-partners.com> - 0.7.8-2 - License compliance rectification * Fri Aug 28 2020 wutao <wutao61@huawei.com> - 0.7.8-1 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2