09-22-2022 07:14 AM
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
09-23-2022 11:46 AM
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
09-23-2022 11:46 AM
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
09-26-2022 05:00 AM
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.
09-27-2022 06:45 AM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.