Skip to content

Commit

Permalink
Merge pull request #5 from jottley/dev
Browse files Browse the repository at this point in the history
Update to support 5.1
  • Loading branch information
jottley committed Oct 20, 2016
2 parents ca2027b + d69ce37 commit 5df81c5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
**Alfresco Max Version Policy**

Author: Jared Ottley (*jared.ottley@alfresco.com*)
Date: 10/20/2015
Version: 0.0.8
Date: 10/20/2016
Version: 0.0.9

**Summary**
Alfresco Max Version Policy limits the number of versions that are created for a versioned node. The default value is set for 10 versions per node. This can be overridden by setting maxVersions=<value> in alfresco-global.properties file.
Expand All @@ -11,7 +11,7 @@ Alfresco Max Version Policy limits the number of versions that are created for a
Alfresco Max Version Policy is delivered as an AMP (https://github.com/jottley/alfresco-maxversion-policy/releases/download/0.0.8/max-version-policy-0.0.8.amp). Copy the AMP into the amps directory and run the apply_amps.[sh|bat] script. Alfresco must not be running when you apply the AMP.

Alfresco Minimum Version required: 4.2.0
Alfresco Maximum Version required: 5.0.999
Alfresco Maximum Version required: 5.1.999

**Contributions**
* Konst Sergeev <https://github.com/ksergeev> - Allow disabling the policy by setting maxVersions to zero
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.alfresco.extension</groupId>
<artifactId>max-version-policy-${project.version}</artifactId>
<version>0.0.8-SNAPSHOT</version>
<version>0.0.9</version>
<packaging>amp</packaging>

<properties>
<alfresco.version>5.0.d</alfresco.version>
<alfresco.version>5.1.g</alfresco.version>
</properties>

<parent>
Expand Down
5 changes: 2 additions & 3 deletions src/main/amp/module.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#Alfresco MaxVersion Policy module properties
module.id=org.alfresco.extension.version
module.version=0.0.8
module.buildnumber=SNAPSHOT
module.version=0.0.9
module.title=Alfresco MaxVersion Policy
module.description=This module adds a policy allowing you to set the max number of versions for a versioned node
module.repo.version.min=4.2.0
module.repo.version.max=5.0.999
module.repo.version.max=5.1.999

0 comments on commit 5df81c5

Please sign in to comment.