To build the project, simple run following maven command under the project root
mvn clean package -DskipTests=true
This should build two AMP files and two zip files under the sub project target folders.
To run the Alfresco as embedded server, you need to run following maven command under zitomedia-ap-repo sub-project
mvn integration-test -Pamp-to-war
and then run the following maven command under zitomedia-ap-share sub-project
mvn integration-test -Pamp-to-war -Dmaven.tomcat.port=8081
To install modules directly to the expanded war folders of your local Alfresco instance, you will need to create a build.properties file under the project root.
The properties file needs to provide the location of the local Alfresco instance such as
alfresco.root=/Users/drq/dev/alfresco/alfresco-5.0.a
- Create a new share site such as account-payable
- Add Accounting Group and James Rigas to the site as Site Manager
- Add all supervisors to the site as Site Consumer
- Browse to the Document Library page of the site
- Under the root folder, create a folder with name Invoices
- Go the "Managing Permissions" page of the Invoices folder
- Disable "Inherited Permissions" and then add Accounting Group and James Rigas as Manager for the folder
- Under the Invoices folder, create following sub folders
- Assigned
- Under Assigned folder, create a sub-folder for each supervisor. The supervisor's name needs to be the folder name.
- The corresponding supervisor of the folder also needs to be added as Collaborator of the folder.
- Incoming
- This will be folder that Accounting group users drop invoices and start the approval workflow
- Processing
- Use the "AP Invoices" space template to create it
- Processed
- Use the "AP Invoices" space template to create it.
- Rejected
- Use the "AP Invoices" space template to create it.
- Add an additional sub-folder with name "Supervisor Rejected"
- Assigned
- For Accounting group users and James Rigas user, they can customize their dashboard and replace "My Tasks" dashlet with "AP Tasks" dashlet or "Non-ZitoMedia Tasks" dashlet.
- Create a new share site such as paf-payable
- Add Debb Kelly and James Rigas to the site as Site Manager
- Add all supervisors and their managers to the site as Site Consumer
- Browse to the Document Library page of the site
- Under the root folder, create a folder with name PAF Documents
- Under the PAF Documents folder, create following sub folders
- Supervisors
- For each supervisor, create a sub folder with his user id as the folder name
- Go the "Managing Permissions" page of the sub folder
- Disable "Inherited Permissions" of the sub folder and then add the supervisor and his manager as Collaborator for the folder.
- The corresponding supervisor of the folder also needs to be added as Collaborator of the folder.
- This will be folder that supervisors drop documents and start the PAF approval workflow
- Processing
- Go the "Managing Permissions" page of the folder
- Disable "Inherited Permissions" and then add Debb Kelly and James Rigas as Manager for the folder
- For each supervisor, create a sub folder with his user id as the folder name
- Processed
- Go the "Managing Permissions" page of the folder
- Disable "Inherited Permissions" and then add Debb Kelly and James Rigas as Manager for the folder
- For each supervisor, create a sub folder with his user id as the folder name
- Supervisors
- For all users, they can customize their dashboard and replace "My Tasks" dashlet with "PAF Tasks" dashlet or "Non-ZitoMedia Tasks" dashlet.