building maven project without internet

Building Offline

If you are temporarily disconnected from the internet and you need to build your projects offline you can use the offline switch on the CLI:

 mvn -o package

Note that many plugins will honour the offline setting and not perform any operations that would connect to the internet. Some examples are resolving Javadoc links and link checking the site.



Comments

Post a Comment

Popular Posts