This repository has been archived by the owner on Oct 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
96 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,32 +4,6 @@ This Zimbra extensions implements a custom auth handler which authenticates | |
Zimbra accounts against an installation of Atlassian Crowd. | ||
|
||
|
||
## Getting Started | ||
|
||
### Prerequisites | ||
|
||
This project depends on some Zimbra libraries which have to be placed in | ||
the `lib` directory since they aren't available via Maven Central. | ||
|
||
Just execute the script `lib.sh` to pull and extract them from the Zimbra | ||
repositories. Alternatively you can copy them from an existing Zimbra | ||
server: | ||
|
||
``` | ||
rsync -rt -i --delete zimbra.example.com:/opt/zimbra/lib/jars/ lib/ --include 'zimbra*.jar' --exclude '*.jar' | ||
``` | ||
|
||
### Compilation | ||
|
||
This project is built with Maven. Just execute the following command: | ||
|
||
``` | ||
mvn package | ||
``` | ||
|
||
This will create a bundle `target/zimbra-crowd-extension.zip` which contains | ||
the extension plus all the required libraries. | ||
|
||
|
||
## Installation | ||
|
||
|
@@ -85,6 +59,33 @@ zmprov modifyAccount [email protected] +zimbraForeignPrincipal crowd:jdoe | |
``` | ||
|
||
|
||
## Development | ||
|
||
### Prerequisites | ||
|
||
This project depends on some Zimbra libraries which have to be placed in | ||
the `lib` directory since they aren't available via Maven Central. | ||
|
||
Just execute the script `lib.sh` to pull and extract them from the Zimbra | ||
repositories. Alternatively you can copy them from an existing Zimbra | ||
server: | ||
|
||
``` | ||
rsync -rt -i --delete zimbra.example.com:/opt/zimbra/lib/jars/ lib/ --include 'zimbra*.jar' --exclude '*.jar' | ||
``` | ||
|
||
### Compilation | ||
|
||
This project is built with Maven. Just execute the following command: | ||
|
||
``` | ||
mvn package | ||
``` | ||
|
||
This will create a bundle `target/zimbra-crowd-extension.zip` which contains | ||
the extension plus all the required libraries. | ||
|
||
|
||
## License | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
<groupId>de.silpion.zimbra.extension.crowd</groupId> | ||
<artifactId>zimbra-crowd-extension</artifactId> | ||
<packaging>jar</packaging> | ||
<version>1.0.0-SNAPSHOT</version> | ||
<version>1.0.0</version> | ||
|
||
<name>Zimbra Crowd Authentication Extension</name> | ||
<description>Zimbra extension which allows authentication against Atlassian Crowd</description> | ||
|
@@ -23,6 +23,12 @@ | |
<url>https://www.silpion.de</url> | ||
</organization> | ||
|
||
<scm> | ||
<url>https://github.com/silpion/zimbra-crowd-extension</url> | ||
<connection>scm:git:https://github.com/silpion/zimbra-crowd-extension.git</connection> | ||
<developerConnection>scm:git:[email protected]:silpion/zimbra-crowd-extension.git</developerConnection> | ||
</scm> | ||
|
||
<properties> | ||
<crowd.version>3.4.5</crowd.version> | ||
<zimbra.version>8.8.11</zimbra.version> | ||
|
@@ -92,7 +98,7 @@ | |
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<version>3.1.0</version> | ||
<version>3.1.2</version> | ||
<configuration> | ||
<archive> | ||
<manifest> | ||
|
@@ -155,6 +161,31 @@ | |
<url>${wagon.url}</url> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-enforcer-plugin</artifactId> | ||
<version>3.0.0-M2</version> | ||
<executions> | ||
<execution> | ||
<id>enforce-maven</id> | ||
<goals> | ||
<goal>enforce</goal> | ||
</goals> | ||
<configuration> | ||
<rules> | ||
<requireMavenVersion> | ||
<version>3.0.5</version> | ||
</requireMavenVersion> | ||
</rules> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>com.amashchenko.maven.plugin</groupId> | ||
<artifactId>gitflow-maven-plugin</artifactId> | ||
<version>1.12.0</version> | ||
</plugin> | ||
</plugins> | ||
<extensions> | ||
<extension> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters