cancel
Showing results for 
Search instead for 
Did you mean: 

Where should I place these files in Maven Project ?

vincent_roye
Champ in-the-making
Champ in-the-making
Hi,

I have created 2 Maven projects and I have troubles with 2 files :

- share-workflow-form-config.xml : I chose to set my form config in this file because the share-form-config.xml presence in my project was provoking a bug at the deployment time.

/usg-mvn-share/src/main/amp/config/alfresco/web-extension/share-workflow-form-config.xml

When I run Alfresco and Share projects locally, the "share-workflow-form-config.xml" file is taken in account and works. When I deploy the AMP, it's not taken in account so that I have to configure the share-form-config.xml manually in the "shared" folder.
I am not sure it is a good idea …
What file should I use in my Maven project and where should I put it ?

- workflow-messages.properties : it's not working even locally in my Maven project. I put it in :

/usg-mvn-repo/src/main/amp/config/alfresco/extension/workflow/workflow-messages.properties

along with my custom workflows :

/usg-mvn-repo/src/main/amp/config/alfresco/extension/workflow/readandapprove.bpmn20.xml

The workflows work well after their deployments on my remote server.

Thank you very much for your help,

Best Regards,

Vincent
3 REPLIES 3

vincent_roye
Champ in-the-making
Champ in-the-making
I found where to place the workflow-messages.properties file. I don't know where to place the share-workflow-form-config.xml file only.

kaynezhang
World-Class Innovator
World-Class Innovator
place it under
usg-mvn-repo/src/main/amp/config/alfresco/web-extension

I finally put it in : src/main/resources/META-INF/share-config-custom.xml and it's working. Thanks Smiley Happy