Closed llsand closed 8 years ago
This should only be neccessary the first time the schema update runs, right? You could prepare for going offline via mvn dependency:go-offline
, see https://maven.apache.org/plugins/maven-dependency-plugin/go-offline-mojo.html
This should only be neccessary the first time the schema update runs, right?
Yes
You could prepare for going offline via mvn dependency:go-offline, see https://maven.apache.org/plugins/maven-dependency-plugin/go-offline-mojo.html
It is important, that an orcas installation can run without ever having an internet connection. The idea was to run orcas on an machine with internet connection an create a file that enbables another orcas installation on a dirfferent machine to run orcas offline.
It's possible to add a file base repository to the list of repositories maven queries to resolve dependencies, e.g. like so in your pom.xml
:
<repositories>
<!--other repositories if any-->
<repository>
<id>project.local</id>
<name>project</name>
<url>file:${project.basedir}/repo</url>
</repository>
</repositories>
So probably you can
mv ~/.m2/repository ~/.m2/repo.bak
) to populate the local repo with the dependencies needed to build the project
Orcas requires an internet connection for updating a schema. It needs this connection for resolving maven-dependencies. It should be possible to pre-build orcas, so that the update-run does no longer depends on an active internet connection.