John Solomon
John Solomon

Reputation: 119

Manually install the maven plugin for offline mode operation

How to manually install the maven plugin since I have enabled offline mode in settings.xml?

For example I downloaded maven-clean-plugin-2.4.1.jar. But I dont know where to place it and how to install it.

Tried http://maven.apache.org/plugins/maven-install-plugin/usage.html but I am not able to install. Please help me.

Upvotes: 1

Views: 8428

Answers (2)

FrVaBe
FrVaBe

Reputation: 49341

I would recommend to go online once and run

mvn dependency:go-offline

The go-offline goal of the dependency plugin will "resolve all project dependencies, including plugins and reports and their dependencies."

Upvotes: 1

MangeshBiradar
MangeshBiradar

Reputation: 3938

Here is the similar question. Hope this may help you out for installing plugins for maven offlnely. Maven: How to install a plugin in offline mode

Upvotes: 2

Related Questions