I am trying to build/run my application with maven.
I am always geeting the following build-error:
Missing artifact com.vaadin:vaadin-bom:jar:24.7.13
After 2 days (!) of desperate seaching I found the source of the problem:
In
https://global.repo.jmix.io/repository/public/io/jmix/flowui/jmix-flowui-themes/2.6.2/jmix-flowui-themes-2.6.pom
as well as in the latest version
https://global.repo.jmix.io/repository/public/io/jmix/flowui/jmix-flowui-themes/2.7.0-RC2/jmix-flowui-themes-2.7.0-RC2.pom
There is the following error:
<dependencies>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-bom</artifactId>
<scope>compile</scope>
</dependency>
</dependencies>
The scope ‘compile’ is the problem!
Until this bug is fixed this dependency can be excluded like this:
<dependency>
<groupId>io.jmix.flowui</groupId>
<artifactId>jmix-flowui-themes</artifactId>
<version>${jmix.version}</version>
<exclusions>
<exclusion>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-bom</artifactId>
</exclusion>
</exclusions>
</dependency>