See <https://ci-builds.apache.org/job/OpenJPA/job/openjpa-pr/2/display/redirect>
Changes: ------------------------------------------ Started by an SCM change Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on builds48 (tmp-22 ubuntu) in workspace <https://ci-builds.apache.org/job/OpenJPA/job/openjpa-pr/ws/> [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] Done The recommended git tool is: NONE using credential ASF_Cloudbees_Jenkins_ci-builds Cloning the remote Git repository Cloning repository https://github.com/apache/openjpa.git > git init <https://ci-builds.apache.org/job/OpenJPA/job/openjpa-pr/ws/> # > timeout=10 Fetching upstream changes from https://github.com/apache/openjpa.git > git --version # timeout=10 > git --version # 'git version 2.34.1' using GIT_ASKPASS to set credentials ASF Cloudbees Jenkins ci-builds > git fetch --tags --force --progress -- https://github.com/apache/openjpa.git > +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/apache/openjpa.git # > timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # > timeout=10 Avoid second fetch Seen branch in repository origin/0.9.6-incubating Seen branch in repository origin/0.9.7-incubating Seen branch in repository origin/0.9.7-r547073 Seen branch in repository origin/1.0.0 Seen branch in repository origin/1.0.1 Seen branch in repository origin/1.0.2 Seen branch in repository origin/1.0.x Seen branch in repository origin/1.1.0 Seen branch in repository origin/1.1.x Seen branch in repository origin/1.2.x Seen branch in repository origin/1.3.x Seen branch in repository origin/2.0.0-EA2 Seen branch in repository origin/2.0.0-M1 Seen branch in repository origin/2.0.0-M2 Seen branch in repository origin/2.0.0-M3 Seen branch in repository origin/2.0.0-beta Seen branch in repository origin/2.0.x Seen branch in repository origin/2.1.x Seen branch in repository origin/2.2.1.x Seen branch in repository origin/2.2.x Seen branch in repository origin/2.3.x Seen branch in repository origin/2.4.x Seen branch in repository origin/3.2.x Seen branch in repository origin/OPENJPA-2798-java11-friendly Seen branch in repository origin/OPENJPA-2808-index-drop Seen branch in repository origin/OPENJPA-2817_PCClassFileTransformer-exclusions Seen branch in repository origin/OPENJPA-2937 Seen branch in repository origin/OPENJPA-2938-props Seen branch in repository origin/OPENJPA-2939 Seen branch in repository origin/fb-3.0-asm Seen branch in repository origin/master Seen branch in repository origin/openjpa_jpa-2.1 Seen branch in repository origin/solomax/OPENJPA-2925 Seen branch in repository origin/sql-cache Seen branch in repository origin/subquery Seen branch in repository origin/trunk Seen branch in repository origin/upgrade-mysql-to-8 Seen branch in repository origin/wls-maintenance Seen 38 remote branches > git show-ref --tags -d # timeout=10 Multiple candidate revisions Scheduling another build to catch up with OpenJPA » openjpa-pr Checking out Revision 0ce353daefccf27b268950af51cd13e6f6a442ad (refs/tags/0.9.6-incubating) > git config core.sparsecheckout # timeout=10 > git checkout -f 0ce353daefccf27b268950af51cd13e6f6a442ad # timeout=10 Commit message: "move openjpa repos to top-level" First time build. Skipping changelog. [openjpa-pr] $ /home/jenkins/tools/maven/apache-maven-3.9.2/bin/mvn clean install [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.openjpa:openjpa-lib:jar:0.9.6-incubating [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 78, column 21 [WARNING] 'repositories.repository.layout' for java-net uses the unsupported value 'legacy', artifact resolution might fail. @ org.apache.openjpa:openjpa:0.9.6-incubating, <https://ci-builds.apache.org/job/OpenJPA/job/openjpa-pr/ws/pom.xml,> line 185, column 21 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.openjpa:openjpa-kernel:jar:0.9.6-incubating [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 66, column 21 [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:javacc-maven-plugin is missing. @ line 74, column 21 [WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead. [WARNING] 'repositories.repository.layout' for java-net uses the unsupported value 'legacy', artifact resolution might fail. @ org.apache.openjpa:openjpa:0.9.6-incubating, <https://ci-builds.apache.org/job/OpenJPA/job/openjpa-pr/ws/pom.xml,> line 185, column 21 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.openjpa:openjpa-jdbc:jar:0.9.6-incubating [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 48, column 21 [WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead. [WARNING] 'repositories.repository.layout' for java-net uses the unsupported value 'legacy', artifact resolution might fail. @ org.apache.openjpa:openjpa:0.9.6-incubating, <https://ci-builds.apache.org/job/OpenJPA/job/openjpa-pr/ws/pom.xml,> line 185, column 21 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.openjpa:openjpa-xmlstore:jar:0.9.6-incubating [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 42, column 21 [WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead. [WARNING] 'repositories.repository.layout' for java-net uses the unsupported value 'legacy', artifact resolution might fail. @ org.apache.openjpa:openjpa:0.9.6-incubating, <https://ci-builds.apache.org/job/OpenJPA/job/openjpa-pr/ws/pom.xml,> line 185, column 21 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.openjpa:openjpa-all:jar:0.9.6-incubating [WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead. [WARNING] 'repositories.repository.layout' for java-net uses the unsupported value 'legacy', artifact resolution might fail. @ org.apache.openjpa:openjpa:0.9.6-incubating, <https://ci-builds.apache.org/job/OpenJPA/job/openjpa-pr/ws/pom.xml,> line 185, column 21 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.openjpa:openjpa-project:pom:0.9.6-incubating [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ line 109, column 21 [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead. [WARNING] 'repositories.repository.layout' for java-net uses the unsupported value 'legacy', artifact resolution might fail. @ org.apache.openjpa:openjpa:0.9.6-incubating, <https://ci-builds.apache.org/job/OpenJPA/job/openjpa-pr/ws/pom.xml,> line 185, column 21 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.openjpa:openjpa:pom:0.9.6-incubating [WARNING] 'repositories.repository.layout' for java-net uses the unsupported value 'legacy', artifact resolution might fail. @ line 185, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [WARNING] The project org.apache.openjpa:openjpa:pom:0.9.6-incubating uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] OpenJPA [pom] [INFO] OpenJPA Utilities [jar] [INFO] OpenJPA Kernel [jar] [INFO] OpenJPA JDBC [jar] [INFO] OpenJPA XML Store [jar] [INFO] OpenJPA Aggregate Jar [jar] [INFO] OpenJPA Distribution [pom] [INFO] [INFO] ---------------------< org.apache.openjpa:openjpa >--------------------- [INFO] Building OpenJPA 0.9.6-incubating [1/7] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ openjpa --- [INFO] [INFO] --- install:3.1.0:install (default-install) @ openjpa --- [INFO] Installing <https://ci-builds.apache.org/job/OpenJPA/job/openjpa-pr/ws/pom.xml> to /home/jenkins/.m2/repository/org/apache/openjpa/openjpa/0.9.6-incubating/openjpa-0.9.6-incubating.pom [INFO] [INFO] -------------------< org.apache.openjpa:openjpa-lib >------------------- [INFO] Building OpenJPA Utilities 0.9.6-incubating [2/7] [INFO] from openjpa-lib/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ openjpa-lib --- [INFO] [INFO] --- resources:3.3.0:resources (default-resources) @ openjpa-lib --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 8 resources [INFO] Copying 3 resources to META-INF [INFO] [INFO] --- compiler:3.10.1:compile (default-compile) @ openjpa-lib --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 149 source files to <https://ci-builds.apache.org/job/OpenJPA/job/openjpa-pr/ws/openjpa-lib/target/classes> [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] Source option 1.4 is no longer supported. Use 6 or later. [ERROR] Target option 1.4 is no longer supported. Use 1.6 or later. [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for OpenJPA 0.9.6-incubating: [INFO] [INFO] OpenJPA ............................................ SUCCESS [ 0.522 s] [INFO] OpenJPA Utilities .................................. FAILURE [ 0.838 s] [INFO] OpenJPA Kernel ..................................... SKIPPED [INFO] OpenJPA JDBC ....................................... SKIPPED [INFO] OpenJPA XML Store .................................. SKIPPED [INFO] OpenJPA Aggregate Jar .............................. SKIPPED [INFO] OpenJPA Distribution ............................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.575 s [INFO] Finished at: 2025-07-04T03:52:52Z [INFO] ------------------------------------------------------------------------ [WARNING] [WARNING] Plugin validation issues were detected in 2 plugin(s) [WARNING] [WARNING] * org.apache.maven.plugins:maven-compiler-plugin:3.10.1 [WARNING] * org.apache.maven.plugins:maven-resources-plugin:3.3.0 [WARNING] [WARNING] For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [BRIEF, DEFAULT, VERBOSE] [WARNING] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project openjpa-lib: Compilation failure: Compilation failure: [ERROR] Source option 1.4 is no longer supported. Use 6 or later. [ERROR] Target option 1.4 is no longer supported. Use 1.6 or later. [ERROR] -> [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :openjpa-lib Build step 'Invoke top-level Maven targets' marked build as failure