간혹 퍼블릭 jar가 아닌 파일이 있는데 그럴때 쓰면 될듯
<dependency>
<groupId>SimpleCryptLib</groupId>
<artifactId>SimpleCryptLib</artifactId>
<version>1.1.0</version>
<scope>system</scope>
<systemPath>${basedir}/src/main/webapp/WEB-INF/lib/SimpleCryptLib-1.1.0.jar</systemPath>
</dependency>
version, scope, systemPath는 꼭 작성해야 한다 groupId, artifactId, version은 암거나 해도 되는거 같음
최근(2021.05.04)스프링 부트
<dependency>
<groupId>NiceID</groupId>
<artifactId>NiceID</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${basedir}/src/main/resources/lib/NiceID.jar</systemPath>
</dependency>
이걸 추가해주는것도 필요할지도..??
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
원래는 이거였음
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<includeSystemScope>true</includeSystemScope>
</configuration>
</plugin>
</plugins>
</build>
<configuration>
<includeSystemScope>true</includeSystemScope>
</configuration>
이 3줄만 추가했음
근데 안해도 잘 작동함(나는...)
댓글
댓글 쓰기