Force install dependency.
I have a maven project with a dependency in the pom:
This dependency does not exist at any of the repositories in the pom; I don't want to change the pom. Instead, I want to fetch the dependency jar from somewhere (wget), store it locally, and build the project with that.
This is with
mvn
in docker.3 Replies
⌛
This post has been reserved for your question.
Hey @Pheotis! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
I am currently wgetting the dependency jar, putting it in the folder with the project's files, and running:
The first install ... builds?... the dependency successfully, but doesn't build the main project jar.
The second install fails to build the main project jar because it is for some reason missing the dependency that was just installed.
Figured it out.
Post Closed
This post has been closed by <@928755449665298432>.