Chapter 9. Mavenizing Web Scripts
In this chapter, we will cover the following topics:
Setting up a development environment with Maven
Creating the default project structure with the Alfresco Maven SDK
Building an Alfresco Module Package (AMP) with Maven
Setting up a development environment in Eclipse
Understanding the default project structure
Extending the default project structure to create web scripts
Applying the AMP to the Alfresco WAR using Maven in order to test the developed web scripts locally
Things to know about using Maven with Alfresco enterprise version
So far, in our exploration of Alfresco web scripts, we have gained an understanding of how to develop web scripts and deploy them. We did not use any project structure for the web scripts we developed in the previous chapters; also, we did not use any tool to build web scripts. We simply created the required files for the web script in an editor of our choice and then manually deployed web script files to the filesystem locations. It...