Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Building EWS JAVA API

André Behrens edited this page Mar 21, 2015 · 2 revisions

Running a local build

To build your own jar you will need to install maven and fork/clone the latest version of ews-java-api.

Building without GnuPG

After the installation you can navigate to your local repository via cmd and run mvn clean install. This will validate the available unit-tests und build all necessary jars which afterwards may be found @ PROJECT_ROOT\target.

Building with GnuPG (for Project Team)

ews-java-api also supports the use of signing artifacts with GnuPG using the maven-gpg-plugin. If you want to know how to setup your environment you can find an introduction at the sonatype-blog. For building ews-java-api specify the passphrase for your private key on the command line by adding the parameter -Dgpg.passphrase=EnterPassphraseHere. For example:

  • mvn clean install -Dgpg.passphrase=EnterPassphraseHere or
  • mvn clean deploy -Dgpg.passphrase=EnterPassphraseHere