AnsweredAssumed Answered

Change repository URL in maven Share project

Question asked by sipapp on Nov 14, 2017
Latest reply on Jan 9, 2018 by douglascrp

Hi All,

 

I am currently using Alfresco share project created with 

mvn archetype:generate -Dfilter=org.alfresco:

I am using SDK 3.0.1 My repository/solar4/database server is running on different machine. Is there any way to configure/force Share project to use my remote repository (http://mydomain.com/alfresco). I am running my local share project with run.bat. Contents of run.bat is like below

mvn clean install alfresco:run

I believe, if you want to point different repository in SDK 2.0.1 you have to update share project's pom.xml file as below:

<properties>

.

.

<alfresco.repo.url>http://mydomain.com/alfresco</alfresco.repo.url>

.

</properties>

I have tried above option for 3.0.1 SDK share project, however its not working. 

Outcomes