Skip to content
This repository has been archived by the owner on Nov 6, 2021. It is now read-only.

Commit

Permalink
fixes #29
Browse files Browse the repository at this point in the history
Former-commit-id: 6a27c58
Former-commit-id: 0ddcd90
  • Loading branch information
maoo committed Feb 20, 2015
1 parent 32c9d5d commit 408d96e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions vagrant/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,28 @@ To reset your local environment, run the following command
```
vagrant destroy -f && killall VBoxSVC && rm -Rf .vagrant *.lock
```

Maven Repository custom configuration
---
When `vagrant up` runs, it fetches artifacts using Apache Maven; you may want to reuse a (host) local Maven repository that already contains some of the artifacts you need (saving significant time during provisioning); add the following to your Vagrantfile

```
config.vm.synced_folder File.expand_path("~/m2-repository"), "/root/.m2/repository"
```

By default, alfresco-boxes will purge Maven configuration after the run, to avoid keeping installation files within the box; to avoid this operation, set the following in your JSON attribute file:

```
{
"provisioners": [
{
"json": {
...
"maven" : {
"purge_settings" : false
}
}
}
]
}
```

0 comments on commit 408d96e

Please sign in to comment.