Maven de bir war dosyası oluşturuyorum. Benim sunucumda zaten olan bir dosyayı dahil ettiği için çakışma yaşıyorum. İstemediğim bir jar dosyasını nasıl harici bırakabilirim?
comments
3 references
// Comments are closed.
Maven de ”/ ” yapısı kullanılarak istenmeyen jar dosyası harici bırakılabilir.
Bunun için bir örnek var mıdır?
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<!– Tomcat bağımlılığını hariç tut –>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>