Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags more
Archives
Today
Total
관리 메뉴

두리공장

스프링 부트 프로젝트에서 OZ리포트 jar 라이브러리 사용시.. 본문

java

스프링 부트 프로젝트에서 OZ리포트 jar 라이브러리 사용시..

두리공장 2022. 6. 11. 21:53

Oz리포트를 라이브러리로 사용하는 경우가 있었다.

일단 ozsfw80.jar 파일을 /src/main/resources/libs/ozsfw80.jar 에 복사하자

그리고 나서 메이븐 플러그인을 pom.xml 의 build>plugins 에 추가한다.

<plugin>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-maven-plugin</artifactId>
    <configuration>
        <includeSystemScope>true</includeSystemScope>
    </configuration>
</plugin>

마지막으로 dependency를 추가한다.

<dependency>
    <groupId>oz</groupId>
    <artifactId>report</artifactId>
    <version>1.0.0</version>
    <scope>system</scope>
    <systemPath>${pom.basedir}/src/main/resources/libs/ozsfw80.jar</systemPath>
</dependency>

끝.