cancel
Showing results for 
Search instead for 
Did you mean: 

Error deployment alfresco-amp-archetype

gslamy
Champ in-the-making
Champ in-the-making
Hi,

I read tutorial for Alfresco 5 (http://docs.alfresco.com/5.0/tasks/alfresco-sdk-install-quick-start.html) and try do it.

After ran this command "mvn install" i got C:\maven_projects\quick-start-project\target\quick-start-project.amp

But I can't deploy quick-start-project.amp in Alfresco, used:
java -jar alfresco-mmt.jar install C:\maven_projects\quick-start-project\target C:\Alfresco\tomcat\webapps -verbose

Error: "Unable to read a manifest for the war file: C:\Alfresco\tomcat\webapps"
What am i do wrong?
1 REPLY 1

gravitonian
Star Collaborator
Star Collaborator
Hi,

There are two ways you can go about this:

1) Run the AMP in an embedded Tomcat via Maven, you do this with the following command:
  
 
      repo-amp-test$ mvn install -Pamp-to-wa
  

   This will kick off Tomcat with the AMP applied to an Alfresco.war webapp, you can access via http://localhost:8080/alfresco. Note. there is no Share webapp deployed. You can test your repo web scripts this way for example. To see your files use WebDAV via http://localhost:8080/alfresco/webdav

2) Deploy your AMP into an existing stand-alone Alfresco 5 installation:
 

    java -jar C:\Alfresco\bin\alfresco-mmt.jar install C:\maven_projects\quick-start-project\target\quick-start-project.amp C:\Alfresco\tomcat\webapps\alfresco.war -verbose

For more info see: http://docs.alfresco.com/5.0/tasks/amp-install.html