I had created a share extension project in eclipse using alfresco-amp-archetype and build is also successful. But I am getting a warning " [WARNING] The requested profile "amp-to-war" could not be activated because it does not exist. "
How to tackle it now?
SDK/Alfresco version is?
Did you use
mvn install -Pamp-to-war
At least for Alfresco community 5.1 and the corresponding sdk it should work:
Maven Archetypes - Command Reference | Alfresco Documentation
I have tried it now, but still it's giving the same warning.
...and your Alfresco version is? SDK version is?
Alfresco Version : 5.2.0
SDK Version : 2.2.0
I'm not sure if that is a valid combination (maybe Axel Faust could comment on this)
config check like Upgrading SDK 2.2.0 projects from Community 5.1.e to 5.2.a | Alfresco Documentation
Alfresco has intended for SDK 3 to be the official SDK version for Alfresco 5.2, but unfortunately they did not manage to properly release it in time. A beta has been available since middle of last year. As far as I know, SDK 2.2 can generally be made to work with Alfresco 5.2. Personally, I do not use the SDK myself so the experience / list of suggestions is very limited.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.