109 lines
3.1 KiB
XML
109 lines
3.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>2.1.3.RELEASE</version>
|
|
<relativePath /> <!-- lookup parent from repository -->
|
|
</parent>
|
|
<groupId>org.baeldung.examples.olingo2</groupId>
|
|
<artifactId>olingo2-sample</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<name>olingo2-sample</name>
|
|
<description>Sample Olingo 2 Project</description>
|
|
|
|
<properties>
|
|
<java.version>1.8</java.version>
|
|
<olingo2.version>2.0.11</olingo2.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-jersey</artifactId>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- Olingo 2 Dependencies -->
|
|
<dependency>
|
|
<groupId>org.apache.olingo</groupId>
|
|
<artifactId>olingo-odata2-core</artifactId>
|
|
<version>${olingo2.version}</version>
|
|
<!-- Avoid jax-rs version conflict by excluding Olingo's version -->
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>javax.ws.rs</groupId>
|
|
<artifactId>javax.ws.rs-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.olingo</groupId>
|
|
<artifactId>olingo-odata2-api</artifactId>
|
|
<version>${olingo2.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.olingo</groupId>
|
|
<artifactId>olingo-odata2-jpa-processor-api</artifactId>
|
|
<version>${olingo2.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.olingo</groupId>
|
|
<artifactId>olingo-odata2-jpa-processor-core</artifactId>
|
|
<version>${olingo2.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.olingo</groupId>
|
|
<artifactId>olingo-odata2-jpa-processor-ref</artifactId>
|
|
<version>${olingo2.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.eclipse.persistence</groupId>
|
|
<artifactId>eclipselink</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|