강의

멘토링

커뮤니티

Cộng đồng Hỏi & Đáp của Inflearn

Hình ảnh hồ sơ của junho66671397
junho66671397

câu hỏi đã được viết

Thêm Java, nhiều cách thao tác mã khác nhau

Làm thế nào để bạn đo mức độ bao phủ của mã?

site 폴더가 안생깁니다 ㅜㅜ

Đã giải quyết

Viết

·

568

0

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

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

springJPAjava

Câu trả lời 4

7

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

build 바로 하위에 넣으세요.

1

whiteship님의 프로필 이미지
whiteship
Người chia sẻ kiến thức

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

0

junho66671397님의 프로필 이미지
junho66671397
Người đặt câu hỏi

넵 감사합니다

0

junho66671397님의 프로필 이미지
junho66671397
Người đặt câu hỏi

터미널에서 빌드했을때 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]

Hình ảnh hồ sơ của junho66671397
junho66671397

câu hỏi đã được viết

Đặt câu hỏi