Skip to content
Alfresco 5.2 Repository Extension using 3rd Party Lib (AMP distribution)
Java Batchfile Shell Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Alfresco Platform JAR Module - SDK 3

To run use mvn clean install -DskipTests=true alfresco:run or ./ and verify that it

  • Runs the embedded Tomcat + H2 DB
  • Runs Alfresco Platform (Repository)
  • Runs Alfresco Solr4
  • Packages both as JAR and AMP assembly

Try cloning it, change the port and play with enableShare, enablePlatform and enableSolr.

Protip: This module will work just fine as a Share module if the files are changed and if the enablePlatform and enableSolr is disabled.

Few things to notice

  • No parent pom
  • WAR assembly is handled by the Alfresco Maven Plugin configuration
  • Standard JAR packaging and layout
  • Works seamlessly with Eclipse and IntelliJ IDEA
  • JRebel for hot reloading, JRebel maven plugin for generating rebel.xml, agent usage: MAVEN_OPTS=-Xms256m -Xmx1G -agentpath:/home/martin/apps/jrebel/lib/
  • AMP as an assembly
  • Configurable Run mojo in the alfresco-maven-plugin
  • No unit testing/functional tests just yet
  • Resources loaded from META-INF
  • Web Fragment (this includes a sample servlet configured via web fragment)


  • Abstract assembly into a dependency so we don't have to ship the assembly in the archetype
  • Purge,
  • Functional/remote unit tests
You can’t perform that action at this time.