Java Project Eclipse의 모든 종속성에서 pom 종속성을 제외합니다.

I have had a problem to exclude a dependency from all dependencies in POM file. If you dont use Eclipse you have to put exlusioin clauses on all dependencies in POM file for this dependency. I use Eclipse and you can do following.

  1. Open the Project in Eclipse in Package View go to ‘Maven Dependencies’
  2. Right Click on Dependency you want to exclude
  3. Go in the opened Menu to ‘Maven>’ and that opens another Menu on the right
  4. Click on ‘Exclude Maven Artifact’
  5. Choose the POM file you want to make the changes in the following window
  6. Save the changed POM file

In all dependencies where the excluded dependency is used will be put exclusion clause for this dependency and as you see the excluded dependency is no more under ‘Maven Dependencies’

답장을 남겨주세요

다음과 같이 설계되었습니다. 워드프레스 | 개인 정보 보호 정책 | 나를 위한 | 블로그 지원