Skip to content

Alfresco repository module with helpful javascript root object extensions which are helpful in much scenarios

License

Notifications You must be signed in to change notification settings

jgoldhammer/alfresco-jscript-extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alfresco-jscript-extensions

Alfresco (Master) Build Status Alfresco repository module with helpful javascript root object extensions which are helpful in much scenarios for Alfresco 5.1 and higher.

Important: Alfresco 4.2 - 5.0 is not supported anymore.

Maven usage

Alfresco SDK 2.x

Add the dependencies to the Alfresco repository POM files of your WAR projects.

<dependencies>
  ...
  <dependency>
    <groupId>de.jgoldhammer</groupId>
    <artifactId>alfresco-jscript-extension</artifactId>
    <version>1.7</version>
    <type>amp</type>
  </dependency>
  ...
</dependencies>

<overlays>
  ...
  <overlay>
    <groupId>de.jgoldhammer</groupId>
    <artifactId>alfresco-jscript-extension</artifactId>
    <version>1.7</version>
    <type>amp</type>
  </overlay>
  ...
</overlays>

Alfresco SDK 3.x

Add the dependencies to the Alfresco repository POM files of your WAR projects.

<platformModules>
	<moduleDependency>
		<groupId>de.jgoldhammer</groupId>
        	<artifactId>alfresco-jscript-extension</artifactId>
        	<version>1.7</version>
        	<type>amp</type>
    	</moduleDependency>
</platformModules>

Alfresco SDK 4.x

Including the AMP artifact into an All-in-One project created from the archetype provided by Alfresco SDK 4, the following dependency must be added to the *-platform-docker sub-module of the generated project:

<dependency>
	<groupId>de.jgoldhammer</groupId>
	<artifactId>alfresco-jscript-extension</artifactId>
	<version>1.8.0</version>
</dependency>

Functionality

The extension provides some root objects for java serivces in the alfresco api. The root objects provides easier access via js-console or javascript based webscripts.

Following root objects are provided:

Build

To build the module and its AMP / JAR files, run the following command from the base project directory:

mvn install

Release

  • Change the version number in pom.xml

  • push the release to sonatype nexus with following command

    .deploy.sh

License

The project is using Apache 2.0 license - see See LICENSE.md

Original authors:

  • Jens Goldhammer, fme AG

About

Alfresco repository module with helpful javascript root object extensions which are helpful in much scenarios

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages