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

cancel
Showing results for 
Search instead for 
Did you mean: 
alaeddine
Member II

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

Jump to solution

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-

first-picture-pom-changmentsfirst-picture-pom-changmentsseconde-picture-error-messageseconde-picture-error-messagethird-picture-all-the-imagethird-picture-all-the-imagecoulde any help please

 

1 Solution

Accepted Solutions
abhinavmishra14
Advanced

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

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

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

View solution in original post

3 Replies
abhinavmishra14
Advanced

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

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

~Abhinav
(ACSCE, AWS SAA, Azure Admin)
alaeddine
Member II

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

Jump to solution

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.

 

 

 

alaeddine
Member II

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

Jump to solution

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.