On Mon, Sep 21, 2020 at 1:08 PM Benny Zlotnik <bzlotnik(a)redhat.com> wrote:
are you building with java 8? looks like the upgrade to java 11 was merged[1]
I was using java 11, but JAVA_HOME was wrong in this shell. It works now.
[1]
https://gerrit.ovirt.org/#/c/111106/
On Mon, Sep 21, 2020 at 12:56 PM Nir Soffer <nsoffer(a)redhat.com> wrote:
>
> I'm trying to build master on Fedora 32. This worked last week with:
>
> commit cbb664f1b5b87e05fec535461cfa09c758b033c2 (gerrit/master)
> Author: Martin Perina <mperina(a)redhat.com>
> Date: Mon Sep 14 12:49:33 2020 +0200
>
> Make check-patch.packages a link to build-artifacts.packages
>
> But is broken now with:
>
> commit e821632e04626f72957177e49f03ca90bcbb5b77 (HEAD -> master,
> origin/master, origin/HEAD)
> Author: Ori_Liel <oliel(a)redhat.com>
> Date: Sat Sep 19 13:18:55 2020 +0300
>
> [maven-release-plugin] prepare for next development iteration
>
> Here is example build:
>
> $ mvn clean install
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ---------------------< org.ovirt.engine.api:model
>---------------------
> [INFO] Building oVirt API Model 4.4.19-SNAPSHOT
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ model ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ model ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> /home/nsoffer/src/ovirt-engine-api-model/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ model ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 601 source files to
> /home/nsoffer/src/ovirt-engine-api-model/target/classes
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 0.694 s
> [INFO] Finished at: 2020-09-21T12:50:16+03:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile
> (default-compile) on project model: Fatal error compiling: invalid
> flag: --release -> [Help 1]
>
> Do we have any way to fix this?
>
> Nir
> _______________________________________________
> Devel mailing list -- devel(a)ovirt.org
> To unsubscribe send an email to devel-leave(a)ovirt.org
> Privacy Statement:
https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/QB44KIESPAW...