Skip to content

Commit 95c6479

Browse files
eugene-andreevBraunMatthiassmahati
authored
CAP Java 5.x Migration Guide: removed repackaged Olingo (#2528)
Co-authored-by: BraunMatthias <59841349+BraunMatthias@users.noreply.github.com> Co-authored-by: Mahati Shankar <93712176+smahati@users.noreply.github.com>
1 parent 97e4a18 commit 95c6479

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

java/migration.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,17 @@ None
138138
3. Changed default value of properties:
139139
None
140140

141+
### Removed repackaged Olingo Dependencies { #removed-olingo-4-to-5 }
142+
143+
The internally used maven modules `repackaged/odata-v4-lib` and `repackaged/odata-v2-lib` are removed from the delivery. If the project directly references these modules and doesn't compile after migrating to CAP Java 5.x, there are 3 options to keep the compatibility of the code base:
144+
145+
1. [**Recommended**] Remove `mvn` dependencies to `repackaged/odata-v4-lib`, `repackaged/odata-v2-lib`, and rewrite code using CAP Java native APIs.
146+
147+
2. Use `maven-dependency-plugin` to unpack (extract contents of dependency) Olingo sources into your code base during the project build.
148+
149+
3. Use upstream open-source Apache Olingo. Change dependencies from corresponding internal CAP `mvn` modules to OSS packages `org.apache.olingo:olingo-odata4`, `org.apache.olingo:olingo-odata2`
150+
151+
141152
## CAP Java 3.10 to CAP Java 4.0 { #three-to-four }
142153

143154
### New License

0 commit comments

Comments
 (0)