The structure of the CAIr project
- CAIr
- /alfresco-ws
- /confluence-alfresco-plugin
- /confluence-ui
Downloading projects from SVN
- https://svn.rivetlogic.com/repos/rivets/app/cair/alfresco-ws/trunk
- https://svn.rivetlogic.com/repos/rivets/app/cair/confluence-alfresco-plugin/trunk
- https://svn.rivetlogic.com/repos/rivets/app/cair/confluence-ui/trunk
Building the projects
Building Alfresco Web Scripts
- Run “ant package-amp” for the “alfresco-webscript-framework” project.
- This will generate the AMP file “alfrescoConfluence-1.0.amp”.
Building Plug-in Jar
- Manually install some required Jar's in the local Maven repository. (We can't include those jars in our maven repository due to liecensing restrictions)
- Tangosol
- Download from the following link: http://www.oracle.com/technetwork/middleware/coherence/downloads/coherence-archive-165749.html
- Unzip the downloaded file
- Locate tangosol.jar in the lib directory
- Install tangosol Jar in your Maven repository
- mvn install:install-file -DgroupId=tangosol-coherence -DartifactId=coherence -Dversion=3.3 -Dpackaging=jar -Dfile=/path/to/file
- mvn install:install-file -DgroupId=tangosol-coherence -DartifactId=tangosol -Dversion=3.3 -Dpackaging=jar -Dfile=/path/to/file
- ofbcore
- Download from: http://www.docjar.com/jar_detail/ofbcore-share.jar.html
- Install ofbcore Jar in your local Maven repository
- mvn install:install-file -DgroupId=ofbcore -DartifactId=ofbcore-entity -Dversion=2.1.1-atlassian-21Mar06 -Dpackaging=jar -Dfile=/path/to/file
- Tangosol
- Running Maven build
- Run the command "mvn clean package" This will generate the Jar file: “confluence-alfresco-plugin-0.1.jar”.