강의

멘토링

커뮤니티

Inflearn コミュニティ Q&A

junho66671397 のプロフィール画像
junho66671397

投稿した質問数

もっとJava、コードを操作するさまざまな方法

コードカバレッジはどのように測定しますか?

site 폴더가 안생깁니다 ㅜㅜ

解決済みの質問

作成

·

567

0

https://github.com/KAN-JUNHO/workspace

jacoco 설치후 target/site 라는 폴더가 생기지 않습니다 ㅜㅜ

springJPAjava

回答 4

7

pom.xml > build에 pluginManagement가 있는데 그 안에 plugin을 넣으면 안되더라고요.

build 바로 하위에 넣으세요.

1

whiteship님의 프로필 이미지
whiteship
インストラクター

빌드를 해보셨나요? mvn site를 실행해보니 target/site 디렉토리가 생기는걸 확인했습니다. 생겨요~

0

junho66671397님의 프로필 이미지
junho66671397
質問者

넵 감사합니다

0

junho66671397님의 프로필 이미지
junho66671397
質問者

터미널에서 빌드했을때 jacoco자체를 인식을 못합니다 ㅜㅜ

실행시 이런 경고가 뜹니다

[WARNING]

[WARNING] Some problems were encountered while building the effective model for junho.whiteship:workspace:jar:1.0-SNAPSHOT

[WARNING] 'dependencies.dependency.version' for org.junit.jupiter:junit-jupiter:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 31, column 16

[WARNING] 'dependencies.dependency.version' for org.junit.jupiter:junit-jupiter:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 37, column 16

[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.junit.jupiter:junit-jupiter:jar -> duplicate declaration of version RELEASE @ line 34, co

lumn 17

[WARNING] 'dependencies.dependency.version' for org.junit.jupiter:junit-jupiter:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 43, column 16

[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.junit.jupiter:junit-jupiter:jar -> duplicate declaration of version RELEASE @ line 40, co

lumn 17

[WARNING]

[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.

[WARNING]

[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.

[WARNING]

junho66671397 のプロフィール画像
junho66671397

投稿した質問数

質問する