Reputation: 6951
I'm searching for a Maven CLI command to install a Maven artifact (e.g. jar library) from a remote Maven repository. I don't want to manually download the artifact first, so that I can install it. I'm looking for a command like npm install rxjs
, which automatically downloads rxjs
and installs it as a dependeny to my project.
Is there an equivalent command available for Maven?
Upvotes: 1
Views: 619
Reputation: 589
Unfortunately, there are no such commands.
One option is through a shell scripts or stream editors (e.g. sed).
Upvotes: 1