# Fabric8 Documentation

## Offline Repositories

Its quite common for folks to want to create offline repositories; either as a local cache of remote maven repositories, or in cases where production machines do not have access to the internet.

### For a profile

To download all the bundles and features for a given profile type this into the Fuse shell after you've created a fabric:

 profile-download-artifacts --profile jboss-fuse-full /tmp/myrepo


This will download all the bundles and features for the default version of the given profile and download them into the /tmp/myrepo directory.

If you omit a path then it installs into the system folder inside the current Fuse container (thereby populating the local maven repo for the container).

 profile-download-artifacts --profile jboss-fuse-full


### For a version

To download all the bundles and features for all the profiles in the default version type this into a Fuse shell after you've created a fabric:

 profile-download-artifacts /tmp/myrepo


 profile-download-artifacts --version 1.0 /tmp/myrepo


If you omit a path then it installs into the system folder inside the current Fuse container (thereby populating the local maven repo for the container).

mvn org.apache.maven.plugins:maven-dependency-plugin:2.8:go-offline -Dmaven.repo.local=/tmp/cheese