Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable download for a single dependency

I am downright annoyed because the Quartz release I'm importing does not have a proper POM file deployed (maven repo).

Therefore maven dutifully tries to download it on every build.

Downloading: http://repo1.maven.org/maven2/opensymphony/quartz/1.6.3/quartz-1.6.3.pom

I'd like to skip this step but without going completely offline since that is useful.

Ideas?

like image 594
Robert Munteanu Avatar asked Jan 23 '26 21:01

Robert Munteanu


1 Answers

Add an additional repository, with this artifact and make sure the POM is correct. This way the main repo POM will be overridden. You can run repository manager such as artifactory or nexus locally

like image 162
David Rabinowitz Avatar answered Jan 25 '26 10:01

David Rabinowitz