Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ You can build Apache Olingo like this:

mvn clean install

You need Maven 3 with Java 6 (or higher) for the build.
You need Maven 3 with Java 8 (or higher) for the build.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in practice, i guess this is even higher as when compiling with Java 11, a dependency is telling that it requires Java 17

[ERROR] /home/apupier/git/olingo-odata4/fit/src/main/java/org/apache/olingo/fit/KeyAsSegment.java:[46,38] cannot access org.springframework.stereotype.Service
[ERROR]   bad class file: /home/apupier/.m2/repository/org/springframework/spring-context/6.1.0/spring-context-6.1.0.jar(/org/springframework/stereotype/Service.class)
[ERROR]     class file has wrong version 61.0, should be 55.0

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the 8 version is to be in ophase with the pom declaration

<project.build.release.version>8</project.build.release.version>

Set the environment variable MAVEN_OPTS to
'-Xmx1024m -XX:MaxPermSize=256m' to give Maven more memory.

Expand Down
Loading