cancel
Showing results for 
Search instead for 
Did you mean: 

Changes not reflected Maven SDK 2.1

g_rathod
Star Contributor
Star Contributor
Hi Friends,

I am migrating from alfresco 4.2.4 to 5 , I am using now latest SDK 2.1.
Since long I am facing one issue related to maven or alfresco sdk,
I have configured "All in one" project Archetype with alfresco . Where my main parent project having "run" target, which will install and create my AMP for repo and share.
Now problem I am facing with share project.

My changes are like :


project-share-amp
          |
          ——-src/main/amp
                        |
                        ——–web
                                 |
                                 —–components
                                         |
                                         —- workflows
                                                 |
                                                 —– custom-workflow.js
                                                       custom-workflow-min.js

Now when I change both original and min file, then running "run" target, it will do and generate my AMP files as expected, but it will not reflected to my exploded WAR. I am also not able to find target "AMP TO WAR".

Any folder structure change in SDK 2.1 ?   or Do we need to configure this target manually?  Or  All in one project do not support this?

My End target is deployment successful with changed files at exploded war.As I am not using separate alfresco but built in with "All in one" target.
Any pointers links to have this target manually which is working!

H E L P.


Thanks,
3 REPLIES 3

eswbitto
Confirmed Champ
Confirmed Champ
Why don't you do a test with the alfresco and share archtypes and make your change that way to compare. It is either your code just doesn't work or maybe a bug in the new SDK.

Eswbitto,

Actually I want to make it work on "all-in-one" project, as we are not installing separate alfresco, This all in one target includes solr, alfresco and ready to run.

Can anyone suggest me step by step configure and run alfresco via eclipse.

Specially as of now I want solution to get deploy my web resource from share folder to be deploy into WAR.

share-project
|
——src/main/amp
           |
           ——-web
                  |


web and respected level stuff are not reflected into my WAR.
Any specific target to run in "all-in-one" project to deploy web resource into WAR ?
AMP is generated properly, but as this is all-in-one project, we dont have separate alfresco and having amps folder to patch AMP.
ANy solution  ???

By the way, I do out of box alfresco fresh maven project and tried "mvn install" it still not do deploy changes into my WAR.

eswbitto
Confirmed Champ
Confirmed Champ
@g_rathod,

I've answered your other post pertaining to the same issue. Please have a look at this video and maybe it will help you.

https://www.youtube.com/watch?v=utYZaVe9Nd0