i am using maven for OpenKM project . if enter command as mvn package in cmd then it is working fine when power is there .if the power is gone i cant run the maven successfully.
please help me how to run the maven when power is gone.
Use a Battery !
Maven fails as it tries to make connection with its central repository, which is used by default. For offline usage, you can create and use a repository manager (also useful if your internet connection is erratic/slow).
Maven is always going to look to the local repository (cache) on the machine doing the build. So this shouldn't be a problem except in cases where you have to pull new stuff from a remote repository or are publishing results to a remote repository.
In fact, I use the "-o" (offline) switch on my quick builds so that Maven won't even try and check for updates.
"privilege" comes from the Latin words for "private" and "law" (legal) and dates to feudal times. To "claim privilege" meant that you were above the laws that applied to the common people.