See 
<https://ci-builds.apache.org/job/Olingo/job/olingo-odata2/42/display/redirect?page=changes>

Changes:

[Michael Bolz] [OLINGO-1636] Upgrade Olingo ODataV2 to support JDK 17


------------------------------------------
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on builds24 (ubuntu) in workspace 
<https://ci-builds.apache.org/job/Olingo/job/olingo-odata2/ws/>
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://git-wip-us.apache.org/repos/asf/olingo-odata2.git
 > git init <https://ci-builds.apache.org/job/Olingo/job/olingo-odata2/ws/> # 
 > timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/olingo-odata2.git
 > git --version # timeout=10
 > git --version # 'git version 2.34.1'
 > git fetch --tags --force --progress -- 
 > https://git-wip-us.apache.org/repos/asf/olingo-odata2.git 
 > +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/olingo-odata2.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
Avoid second fetch
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 8a63b95c6c13d3892aa265477f873696c635bed6 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 8a63b95c6c13d3892aa265477f873696c635bed6 # timeout=10
Commit message: "[OLINGO-1636] Upgrade Olingo ODataV2 to support JDK 17"
 > git rev-list --no-walk c31a2ca5a56c49fea37319ad133af4ea5a5db081 # timeout=10
[olingo-odata2] $ /home/jenkins/tools/maven/latest3/bin/mvn ******** ******** 
clean deploy
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] olingo-odata2-parent                                               [pom]
[INFO] olingo-odata2-lib                                                  [pom]
[INFO] olingo-odata2-api                                                  [jar]
[INFO] olingo-odata2-api-annotation                                       [jar]
[INFO] olingo-odata2-testutil                                             [jar]
[INFO] olingo-odata2-core                                                 [jar]
[INFO] olingo-odata2-ref                                                  [jar]
[INFO] olingo-odata2-fit                                                  [jar]
[INFO] olingo-odata2-ref-web                                              [war]
[INFO] olingo-odata2-client-api                                           [jar]
[INFO] olingo-odata2-client-core                                          [jar]
[INFO] olingo-odata2-jpa-processor                                        [pom]
[INFO] olingo-odata2-jpa-processor-api                                    [jar]
[INFO] olingo-odata2-jpa-processor-core                                   [jar]
[INFO] olingo-odata2-jpa-processor-ref                                    [jar]
[INFO] olingo-odata2-jpa-processor-ref-web                                [war]
[INFO] olingo-odata2-annotation-processor                                 [pom]
[INFO] olingo-odata2-annotation-processor-api                             [jar]
[INFO] olingo-odata2-annotation-processor-core                            [jar]
[INFO] olingo-odata2-annotation-processor-ref                             [jar]
[INFO] olingo-odata2-annotation-processor-ref-web                         [war]
[INFO] olingo-odata2-dist                                                 [pom]
[INFO] olingo-odata2-dist-lib                                             [pom]
[INFO] olingo-odata2-dist-jpa                                             [pom]
[INFO] olingo-odata2-dist-janos                                           [pom]
[INFO] olingo-odata2-dist-ref                                             [pom]
[INFO] olingo-odata2-dist-javadoc                                         [pom]
[INFO] 
[INFO] ---------------< org.apache.olingo:olingo-odata2-parent >---------------
[INFO] Building olingo-odata2-parent 3.0.0-SNAPSHOT                      [1/27]
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ olingo-odata2-parent ---
[INFO] 
[INFO] --- buildnumber:3.2.0:create (default) @ olingo-odata2-parent ---
[INFO] Executing: /bin/sh -c cd 
'<https://ci-builds.apache.org/job/Olingo/job/olingo-odata2/ws/'> && 'git' 
'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: 
<https://ci-builds.apache.org/job/Olingo/job/olingo-odata2/ws/>
[WARNING] The timestampFormat parameter now uses java.text.SimpleDateFormat.
[WARNING] Please update your POM as support for java.text.MessageFormat may be 
removed.
[INFO] Storing buildNumber: 8a63b95c6c13d3892aa265477f873696c635bed6 at 
timestamp: 2025-03-01T13:56:23+0000
[INFO] Executing: /bin/sh -c cd 
'<https://ci-builds.apache.org/job/Olingo/job/olingo-odata2/ws/'> && 'git' 
'symbolic-ref' 'HEAD'
[INFO] Working directory: 
<https://ci-builds.apache.org/job/Olingo/job/olingo-odata2/ws/>
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: /bin/sh -c cd 
'<https://ci-builds.apache.org/job/Olingo/job/olingo-odata2/ws/'> && 'git' 
'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: 
<https://ci-builds.apache.org/job/Olingo/job/olingo-odata2/ws/>
[INFO] Storing scmBranch: UNKNOWN
[INFO] 
[INFO] --- enforcer:3.3.0:enforce (enforce-maven-version) @ 
olingo-odata2-parent ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion 
passed
[INFO] 
[INFO] --- enforcer:3.3.0:enforce (enforce-java-version) @ olingo-odata2-parent 
---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO] 
[INFO] --- remote-resources:3.1.0:process (process-resource-bundles) @ 
olingo-odata2-parent ---
[INFO] Preparing remote bundle 
org.apache.apache.resources:apache-jar-resource-bundle:1.5
[INFO] Copying 3 resources from 1 bundle.
[INFO] 
[INFO] --- remote-resources:3.1.0:process (default) @ olingo-odata2-parent ---
[INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
[INFO] Copying 3 resources from 1 bundle.
[INFO] 
[INFO] --- site:3.12.1:attach-descriptor (attach-descriptor) @ 
olingo-odata2-parent ---
[INFO] No site descriptor found: nothing to attach.
[INFO] 
[INFO] --- source:3.3.0:jar-no-fork (attach-sources) @ olingo-odata2-parent ---
[INFO] 
[INFO] --- checkstyle:2.17:check (checkstyle) @ olingo-odata2-parent ---
[WARNING]  Parameter 'sourceDirectory' is deprecated: instead use {@link 
#sourceDirectories}
[INFO] Starting audit...
Audit done.
[INFO] 
[INFO] --- install:3.1.1:install (default-install) @ olingo-odata2-parent ---
[INFO] Installing 
<https://ci-builds.apache.org/job/Olingo/job/olingo-odata2/ws/pom.xml> to 
/home/jenkins/.m2/repository/org/apache/olingo/olingo-odata2-parent/3.0.0-SNAPSHOT/olingo-odata2-parent-3.0.0-SNAPSHOT.pom
[INFO] 
[INFO] --- deploy:3.1.1:deploy (default-deploy) @ olingo-odata2-parent ---
Downloading from apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-parent/3.0.0-SNAPSHOT/maven-metadata.xml
Uploading to apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-parent/3.0.0-SNAPSHOT/olingo-odata2-parent-3.0.0-20250301.135621-1.pom
Progress (1): 16 kB                   Uploaded to apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-parent/3.0.0-SNAPSHOT/olingo-odata2-parent-3.0.0-20250301.135621-1.pom
 (16 kB at 11 kB/s)
Downloading from apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-parent/maven-metadata.xml
Progress (1): 465 B                   Downloaded from apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-parent/maven-metadata.xml
 (465 B at 2.1 kB/s)
Uploading to apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-parent/3.0.0-SNAPSHOT/maven-metadata.xml
Progress (1): 614 B                   Uploaded to apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-parent/3.0.0-SNAPSHOT/maven-metadata.xml
 (614 B at 521 B/s)
Uploading to apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-parent/maven-metadata.xml
Progress (1): 484 B                   Uploaded to apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-parent/maven-metadata.xml
 (484 B at 387 B/s)
[INFO] 
[INFO] ----------------< org.apache.olingo:olingo-odata2-lib >-----------------
[INFO] Building olingo-odata2-lib 3.0.0-SNAPSHOT                         [2/27]
[INFO]   from odata2-lib/pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ olingo-odata2-lib ---
[INFO] 
[INFO] --- buildnumber:3.2.0:create (default) @ olingo-odata2-lib ---
[INFO] 
[INFO] --- enforcer:3.3.0:enforce (enforce-maven-version) @ olingo-odata2-lib 
---
[INFO] 
[INFO] --- enforcer:3.3.0:enforce (enforce-java-version) @ olingo-odata2-lib ---
[INFO] 
[INFO] --- remote-resources:3.1.0:process (process-resource-bundles) @ 
olingo-odata2-lib ---
[INFO] Preparing remote bundle 
org.apache.apache.resources:apache-jar-resource-bundle:1.5
[INFO] Copying 3 resources from 1 bundle.
[INFO] 
[INFO] --- remote-resources:3.1.0:process (default) @ olingo-odata2-lib ---
[INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
[INFO] Copying 3 resources from 1 bundle.
[INFO] 
[INFO] --- site:3.12.1:attach-descriptor (attach-descriptor) @ 
olingo-odata2-lib ---
[INFO] No site descriptor found: nothing to attach.
[INFO] 
[INFO] --- source:3.3.0:jar-no-fork (attach-sources) @ olingo-odata2-lib ---
[INFO] 
[INFO] --- checkstyle:2.17:check (checkstyle) @ olingo-odata2-lib ---
[WARNING]  Parameter 'sourceDirectory' is deprecated: instead use {@link 
#sourceDirectories}
[INFO] Starting audit...
Audit done.
[INFO] 
[INFO] --- install:3.1.1:install (default-install) @ olingo-odata2-lib ---
[INFO] Installing 
<https://ci-builds.apache.org/job/Olingo/job/olingo-odata2/ws/odata2-lib/pom.xml>
 to 
/home/jenkins/.m2/repository/org/apache/olingo/olingo-odata2-lib/3.0.0-SNAPSHOT/olingo-odata2-lib-3.0.0-SNAPSHOT.pom
[INFO] 
[INFO] --- deploy:3.1.1:deploy (default-deploy) @ olingo-odata2-lib ---
Downloading from apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-lib/3.0.0-SNAPSHOT/maven-metadata.xml
Uploading to apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-lib/3.0.0-SNAPSHOT/olingo-odata2-lib-3.0.0-20250301.135621-1.pom
Progress (1): 1.8 kB                    Uploaded to apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-lib/3.0.0-SNAPSHOT/olingo-odata2-lib-3.0.0-20250301.135621-1.pom
 (1.8 kB at 1.6 kB/s)
Downloading from apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-lib/maven-metadata.xml
Progress (1): 415 B                   Downloaded from apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-lib/maven-metadata.xml
 (415 B at 1.5 kB/s)
Uploading to apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-lib/3.0.0-SNAPSHOT/maven-metadata.xml
Progress (1): 611 B                   Uploaded to apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-lib/3.0.0-SNAPSHOT/maven-metadata.xml
 (611 B at 549 B/s)
Uploading to apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-lib/maven-metadata.xml
Progress (1): 434 B                   Uploaded to apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-lib/maven-metadata.xml
 (434 B at 344 B/s)
[INFO] 
[INFO] ----------------< org.apache.olingo:olingo-odata2-api >-----------------
[INFO] Building olingo-odata2-api 3.0.0-SNAPSHOT                         [3/27]
[INFO]   from odata2-lib/odata-api/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ olingo-odata2-api ---
[INFO] 
[INFO] --- buildnumber:3.2.0:create (default) @ olingo-odata2-api ---
[INFO] 
[INFO] --- enforcer:3.3.0:enforce (enforce-maven-version) @ olingo-odata2-api 
---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion 
passed
[INFO] 
[INFO] --- enforcer:3.3.0:enforce (enforce-java-version) @ olingo-odata2-api ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO] 
[INFO] --- remote-resources:3.1.0:process (process-resource-bundles) @ 
olingo-odata2-api ---
[INFO] Preparing remote bundle 
org.apache.apache.resources:apache-jar-resource-bundle:1.5
[INFO] Copying 3 resources from 1 bundle.
[INFO] 
[INFO] --- remote-resources:3.1.0:process (default) @ olingo-odata2-api ---
[INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
[INFO] Copying 3 resources from 1 bundle.
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ olingo-odata2-api ---
[INFO] skip non existing resourceDirectory 
<https://ci-builds.apache.org/job/Olingo/job/olingo-odata2/ws/odata2-lib/odata-api/src/main/resources>
[INFO] Copying 3 resources from target/maven-shared-archive-resources to 
target/classes
[INFO] Copying 3 resources from target/maven-shared-archive-resources to 
target/classes
[INFO] 
[INFO] --- compiler:3.11.0:compile (default-compile) @ olingo-odata2-api ---
[INFO] Changes detected - recompiling the module! :source
[INFO] Compiling 244 source files with javac [debug release 8] to target/classes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for olingo-odata2-parent 3.0.0-SNAPSHOT:
[INFO] 
[INFO] olingo-odata2-parent ............................... SUCCESS [  9.266 s]
[INFO] olingo-odata2-lib .................................. SUCCESS [  4.226 s]
[INFO] olingo-odata2-api .................................. FAILURE [  1.309 s]
[INFO] olingo-odata2-api-annotation ....................... SKIPPED
[INFO] olingo-odata2-testutil ............................. SKIPPED
[INFO] olingo-odata2-core ................................. SKIPPED
[INFO] olingo-odata2-ref .................................. SKIPPED
[INFO] olingo-odata2-fit .................................. SKIPPED
[INFO] olingo-odata2-ref-web .............................. SKIPPED
[INFO] olingo-odata2-client-api ........................... SKIPPED
[INFO] olingo-odata2-client-core .......................... SKIPPED
[INFO] olingo-odata2-jpa-processor ........................ SKIPPED
[INFO] olingo-odata2-jpa-processor-api .................... SKIPPED
[INFO] olingo-odata2-jpa-processor-core ................... SKIPPED
[INFO] olingo-odata2-jpa-processor-ref .................... SKIPPED
[INFO] olingo-odata2-jpa-processor-ref-web ................ SKIPPED
[INFO] olingo-odata2-annotation-processor ................. SKIPPED
[INFO] olingo-odata2-annotation-processor-api ............. SKIPPED
[INFO] olingo-odata2-annotation-processor-core ............ SKIPPED
[INFO] olingo-odata2-annotation-processor-ref ............. SKIPPED
[INFO] olingo-odata2-annotation-processor-ref-web ......... SKIPPED
[INFO] olingo-odata2-dist ................................. SKIPPED
[INFO] olingo-odata2-dist-lib ............................. SKIPPED
[INFO] olingo-odata2-dist-jpa ............................. SKIPPED
[INFO] olingo-odata2-dist-janos ........................... SKIPPED
[INFO] olingo-odata2-dist-ref ............................. SKIPPED
[INFO] olingo-odata2-dist-javadoc ......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  16.887 s
[INFO] Finished at: 2025-03-01T13:56:38Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) 
on project olingo-odata2-api: Fatal error compiling: invalid flag: --release -> 
[Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :olingo-odata2-api
Build step 'Invoke top-level Maven targets' marked build as failure

Reply via email to