Maven Dependencies

Consuming Olingo OData 4.0 Library

Common Dependencies

The following common dependencies needs to be added to the pom.xml of the consuming project:

<dependency>
  <groupId>org.apache.olingo</groupId>
  <artifactId>odata-commons-api</artifactId>
  <version>${project.version}</version>
</dependency>
<dependency>
  <groupId>org.apache.olingo</groupId>
  <artifactId>odata-commons-core</artifactId>
  <version>${project.version}</version>
</dependency>
OData Client Dependencies

For realization of OData-Client projects additional dependencies are necessary:

<dependency>
  <groupId>org.apache.olingo</groupId>
  <artifactId>odata-server-api</artifactId>
  <version>${olingo.version}</version>
  <scope>compile</scope>
</dependency>
<dependency>
  <groupId>org.apache.olingo</groupId>
  <artifactId>odata-server-core</artifactId>
  <version>${olingo.version}</version>
  <scope>runtime</scope>
</dependency>
OData Client Dependencies

For realization of OData-Server projects additional dependencies are necessary:

<dependency>
 <groupId>org.apache.olingo</groupId>
 <artifactId>odata-server-api</artifactId>
 <version>${olingo.version}</version>
 <scope>compile</scope>
</dependency>
<dependency>
 <groupId>org.apache.olingo</groupId>
 <artifactId>odata-server-core</artifactId>
 <version>${olingo.version}</version>
 <scope>runtime</scope>
</dependency>

Whereas the variable ${olingo.version} has to be replaced with the concrete version of the library.
See also:

Copyright © 2013-2015, The Apache Software Foundation
Apache Olingo, Olingo, Apache, the Apache feather, and the Apache Olingo project logo are trademarks of the Apache Software Foundation.

Privacy