There are two supported ways of packaging extensions: Alfresco Module Packages (AMPs) and Simple JAR Modules.