Hello evryone,
i'm working with two pc and one them does not have acces to internet , and i want to run the project all-in-one (sdk 4.4
,alfresco 7.2)
so I download all the alfresco images (alfresco-share,alfresco-content-repostory,postgresql...)
and i move them to the pc offline in a repository that I specified.
i make 2 changments in the pom.xml -as ine the first pecture below- to search for images locally
and not on the internet. but it does not work .-as ine the seconde picture below-
coulde any help please
Solved! Go to Solution.
If you are not making any change after building the project and all the dependencies are downloaded and cached in local maven respository then it might still work without internet. If you have a local maven server as repository and have everything stored there, you may configure the repo urls in settings.xml to use it as second option when internet is off.
But when you make a change to pom file, it triggers a rebuild and maven tries to keep things up to date as it also need to validate the metadata. so it definitely needs internent connection there if dependencies are downloaded from internet always.
Why would you turn off your internet by the way
If you are not making any change after building the project and all the dependencies are downloaded and cached in local maven respository then it might still work without internet. If you have a local maven server as repository and have everything stored there, you may configure the repo urls in settings.xml to use it as second option when internet is off.
But when you make a change to pom file, it triggers a rebuild and maven tries to keep things up to date as it also need to validate the metadata. so it definitely needs internent connection there if dependencies are downloaded from internet always.
Why would you turn off your internet by the way
thank you abhinavmishra14 for replying my question ,
Firstly, in that pc (where i develop and custom alfresco ) I don't have access to internet due to a security reaison
So basicly my question is :
1/Can I run the All-in-one project in pc where i don't have acces to internet knowing that I have another pc where I
have an access to interner, if yes .. HOW?
Note: i have two personal computer one does not have acces to internet and the other does.
Thank you in advance for your help abhinavmishra14.
hello Abhinav,
I managed to launch alfresco in the machine which does not have access to the internet cause i forget to move the cash
which is in /root/.m2
thanks for the help.
cordially.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.