Comments (7)
实测有效的解决方案:
- 解压源代码目录下的 jacoco/maven-plugin/1.0.2-SNAPSHOT.tar,获得 1.0.2 目录;
- 注释掉 1.0.2/jacoco/org.jacoco.build/1.0.2-SNAPSHOT 目录下的 org.jacoco.build/1.0.2-SNAPSHOT org.jacoco.build-1.0.2-SNAPSHOT.pom 文件中的
<parent>
<groupId>com.xiaoju</groupId>
<artifactId>base-pom</artifactId>
<version>0.0.1</version>
</parent>
- 将 1.0.2/jacoco 目录下的所有内容 复制到 ${user.home}/.m2/repository/org/jacoco 目录下,即可。
from super-jacoco.
我把那个parent依赖注释了
from super-jacoco.
使用项目 jacoco/maven-plugin/ 目录下,定制过的jar, 需要解压再放入本地maven库。
from super-jacoco.
放进去后报错 com.xiaoju 的依赖找不到
Failed to read artifact descriptor for org.jacoco:jacoco-maven-plugin:jar:1.0.2-SNAPSHOT: Could not find artifact com.xiaoju:base-pom:pom:0.0.1 in mirror
from super-jacoco.
本地maven仓库已放定制的jar包 请求之后仍然报找不到jar包 请问是什么原因呢
from super-jacoco.
参考上一个提问,把这个依赖注释掉。
from super-jacoco.
没找到被注释的依赖呢 我下载的版本有问题么 方便截图么
from super-jacoco.
Related Issues (20)
- 请问现在可以只包含/排除某些包和类么 HOT 3
- 子模块含有子模块的项目会报找不到路径
- org.jacoco.cli-1.0.2-SNAPSHOT-nodeps.jar 这部分的源码可以提供么 HOT 5
- com.xiaoju:base-pom:pom:0.0.1 was not found
- 多模块项目,以增量的方式请求,且不同子项目存在同一类名时,输出的报告却是全量的
- 请问同一个服务运行在多个pod里,怎样才能获取到准确的覆盖率?
- 如果配置agent服务的IP是变化的,怎么从容器内部获取IP信息,传给jacoco服务
- 如果是一个项目多个实例,多人测试,最终项目的测试报告怎么合并成一个报告 HOT 1
- 当获取--sourcefiles 文件目录不存在的话,后期执行jacoco命令获取 jacoco.exec数据文件时会报错 HOT 1
- 执行测试后,代码仍然显示未覆盖 HOT 5
- 增量报告生成失败:None of the analyzed classes contain code relevant for code coverage HOT 1
- [WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 1.
- 关于克隆代码时出现切换分支失败问题 HOT 1
- bug: 参数列表过长 HOT 6
- 使用postman调用接口后,再生成覆盖率报告,对应接口覆盖率无变化 HOT 1
- 获取覆盖率报告提示单元测试执行错误
- 启动被测服务失败
- 被测服务可以正常启动,jacoco的接口也可以正常请求,但是获取报告的时候提示编译代码出错,错误日志如下
- 是否可以提供jacoco二开的源码
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from super-jacoco.