cancel
Showing results for 
Search instead for 
Did you mean: 

How to run alfresco SDK offline( version 4.4) alfresco version 7.2.0

alaeddine
Champ in-the-making
Champ in-the-making

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-

imagefirst-picture-pom-changmentsImageseconde-picture-error-messageimagethird-picture-all-the-imagecoulde any help please

1 ACCEPTED ANSWER

abhinavmishra14
World-Class Innovator
World-Class Innovator

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 Smiley Happy

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

View answer in original post

3 REPLIES 3

abhinavmishra14
World-Class Innovator
World-Class Innovator

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 Smiley Happy

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

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.