Skip to content

Leiningen plugin for generating Alfresco Module Package (AMP) files.

License

Notifications You must be signed in to change notification settings

lambdalf/lein-amp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lein-amp

Generates an Alfresco Module Package (AMP) file from your project, which can be deployed to an Alfresco installation using the Module Management Tool.

What is it useful for?

AMPs are the standard way to package extensions to the open source Alfresco content management system. Being able to develop such extensions in Clojure, therefore, requires the ability for leiningen to emit AMP Files - this plugin adds that capability.

Installation

It is highly recommended that you generate new AMP projects using the lein new AMP template. Amongst other things, this will automatically add the lein-amp plugin to the new project's dependencies.

$ lein new amp <projectName>
$ cd <projectName>
$ lein deps

Usage

$ lein amp package
$ lein amp install [<path-to-alfresco-war>]

The package task builds an AMP file from your project. The install task will install that AMP into an Alfresco WAR file.

Configuration

The following configuration options are read from your project.clj:

; where to look for AMP resources
:amp-source-path "src/amp"

; specify the location to the Alfresco WAR file
:amp-target-war "path/to/alfresco.war"
; or a dependency to the WAR (remember to configure the proper Maven repository)
:amp-target-war [org.alfresco/alfresco "5.0.a" :extension "war"]

Developer Information

GitHub project

Bug Tracker

endorse

Dependencies Status

License

Copyright © 2014 Peter Monks (pmonks@gmail.com)

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

Leiningen plugin for generating Alfresco Module Package (AMP) files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •