Using plugins with jars

I want to execute the build on a stand alone environment with no internet connectivity at all. I want to use downloaded jars to use plugins like flyway, tomcat etc. How can I do it. How can make build work? I have all required jars in a folder.

one option might be to run your build once online to resolve all dependencies. after that you can run your build offline by using the --offline flag. if that is not an option you can use a local file repository instead of a remote repository. this repo can live in your source repo for example.