Skip to content

Tag: build-process

How to build jars from IntelliJ properly?

I have a project that contains a single module, and some dependencies. I’d like to create a jar, in a separate directory, that contains the compiled module. In addition, I’d like to have the dependencies present beside my module. No matter how I twist IntelliJ’s “build jar” proce…

Can I add maven repositories in the command line?

I’m aware I can add maven repositories for fetching dependencies in ~/.m2/settings.xml. But is it possible to add a repository using command line, something like: The reason I want to do this is because I’m using a continuous integration tool where I have full control over the command line options…