Build Instructions

The structure of the CAIr project

  • CAIr
    • /alfresco-ws
    • /confluence-alfresco-plugin
    • /confluence-ui

Downloading projects from SVN

  1. https://svn.rivetlogic.com/repos/rivets/app/cair/alfresco-ws/trunk
  2. https://svn.rivetlogic.com/repos/rivets/app/cair/confluence-alfresco-plugin/trunk
  3. https://svn.rivetlogic.com/repos/rivets/app/cair/confluence-ui/trunk

Building the projects

Building Alfresco Web Scripts

  1. Run “ant package-amp” for the “alfresco-webscript-framework” project.
    1. This will generate the AMP file “alfrescoConfluence-1.0.amp”.

Building Plug-in Jar

  1.  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)
    1. Tangosol
      1. Download from the following link: http://www.oracle.com/technetwork/middleware/coherence/downloads/coherence-archive-165749.html
      2. Unzip the downloaded file
      3. Locate tangosol.jar in the lib directory
      4. Install tangosol Jar in your Maven repository
        1. mvn install:install-file -DgroupId=tangosol-coherence  -DartifactId=coherence -Dversion=3.3   -Dpackaging=jar -Dfile=/path/to/file
        2. mvn install:install-file -DgroupId=tangosol-coherence  -DartifactId=tangosol  -Dversion=3.3   -Dpackaging=jar -Dfile=/path/to/file
    2. ofbcore
      1. Download from:  http://www.docjar.com/jar_detail/ofbcore-share.jar.html
      2. Install ofbcore Jar in your local Maven repository
        1. mvn install:install-file -DgroupId=ofbcore -DartifactId=ofbcore-entity -Dversion=2.1.1-atlassian-21Mar06 -Dpackaging=jar -Dfile=/path/to/file
  2. Running Maven build
    1. Run the command "mvn clean package"  This will generate the Jar file: “confluence-alfresco-plugin-0.1.jar”.
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.