Welcome to the Maven Alfresco Extension Archetype home

You've reached the Sourcesense ( http://www.sourcesense.com ) Maven Alfresco Extension archetype home page (version: 1.1.0)

Description

This archetype developed aims to provide a standardized approach to development, release and deployment of Alfresco extensions (as opposed to AMP builds, to be released as a different artifact ). Using standard m2 lifecycle commands (mvn compile package deploy) and generally available plugins (cargo, release, assembly) we are able to cover a very high percentage of Alfresco lifecycle common use cases. It can be used both with Maven2 and Ant build systems, but it must be clear that *only* the Maven2 approach provides all the automation features we will describe in this website. In addition to that the m2 approach provides a zero-conf approach while ant requires (as usual) manual gathering and selection of required alfresco libraries and webapp (please refer to README-ant.txt for further info about the Ant build). Last but not the least, m2 build is more likely to be maintained and improved (especially in the likely case Alfresco moves to maven2). For more details on the m2 apprach please refer instead to README Section (or directly and to README-m2.txt of the generated project).

Quick Start (maven2)

For a quick start you can a maven alfresco extension project created by just running (maven 2.0.6+ required) :

mvn  org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create  -DarchetypeGroupId=com.sourcesense.alfresco -DarchetypeVersion=1.1.0 \
                        -DarchetypeArtifactId=maven-alfresco-extension-archetype \
                        -DgroupId=mycompany.com  -DartifactId=my-alfresco-customization -Dversion=0.1-SNAPSHOT \
                        -DremoteRepositories=http://repository.sourcesense.com/maven2 \
                        -DpomRemoteRepositories=http://repository.sourcesense.com/maven2

Quick Start (Ant)

For a quick start you can a ant alfresco extension project created by running (Default target : package) :

Download archetype - (On unix like you could : wget http://repository.sourcesense.com/maven2/com/sourcesense/alfresco/maven-alfresco-extension-archetype/1.0.0/maven-alfresco-extension-archetype-1.0.0.jar)
Unzip maven-alfresco-extension-archetype-1.0.0.jar
Rename mv archetype-resources folder into your desired project name - (On unix like you could : mv archetype-resources my-alfresco-customization)
Enter my-alfresco-customization folder
ant