Hi Damien,
I've never set up Sonar to work offline and Maven isn't known to be easily usable offline.
Nevertheless, try to follow those steps :
- Install Sonar and Maven on a computer which has an Internet Access
- Launch the Sonar Maven goal to analyse a project
- Copy / Paste the Maven local repository from this computer to your target computer (which doesn't have access to Internet)
- Install Maven on the target computer
- Edit the Maven conf/settings.xml file to check the path of the Maven local repository
- Add the following section to the Maven conf/settings.xml file :
<settings>
...
<mirrors>
<mirror>
<id>sonar</id>
<name>Sonar Maven repository</name>
<url>http://sonarserver:sonarport/deploy/maven</url>
<mirrorOf>*</mirrorOf>
</mirror>
</mirrors>
...
</settings>
Launch the Sonar Maven goal and keep us informed ...
cheers,
Freddy
On Mon, Mar 9, 2009 at 12:49 PM, Damien Coraboeuf
<dcoraboeuf@...> wrote:
Hi,
We wish to setup Sonar on our build server which is not connected to the Internet. Since Sonar relies on Maven I think I will have to install manually a Maven repository.
But any of you have any feedback/issue/best practice to share about running Sonar offline ?
Thanks,
Damien.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email