Skip to content

Latest commit

 

History

History
61 lines (53 loc) · 2.17 KB

readme.md

File metadata and controls

61 lines (53 loc) · 2.17 KB

Build Status ![Gitter](https://badges.gitter.im/Join Chat.svg)

EWS JAVA API

Please see the Getting Started Guide on our wiki for an introduction to this library.

Using the library

Prebuilt JARs are available in the Maven Central repository, which are easy to use with your project. Note that currently, no stable version is available yet, only snapshots in the snapshots repository.

Maven

If you want to use a snapshot build, add the Maven Central snapshots repository to your project's pom.xml. If you want to use a stable build (not available yet), you should skip this step.

<project>
  <repositories>
    <repository>
      <id>sonatype-snapshots</id>
      <name>Sonatype OSS Snapshots</name>
      <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
      <releases>
        <enabled>false</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
  </repositories>
</project>

And finally, add the dependency to your project's pom.xml.

<project>
  <dependencies>
    <dependency>
      <groupId>com.microsoft.ews-java-api</groupId>
      <artifactId>ews-java-api</artifactId>
      <version>2.0-SNAPSHOT</version>
    </dependency>
  </dependencies>
</project>

Gradle

If you want to use a snapshot build, add the Maven Central snapshots repository to your project's build.gradle. If you want to use a stable build (not available yet), you should skip this step.

repositories {
    maven {
        url 'https://oss.sonatype.org/content/repositories/snapshots/'
    }
}

And finally, add the dependency to your project's build.gradle.

dependencies {
    compile 'com.microsoft.ews-java-api:ews-java-api:2.0-SNAPSHOT'
}

Building from source

To build a JAR from the source yourself, please see this page.