Amartus / yang2swagger

Yang to swagger generator
Eclipse Public License 1.0
32 stars 21 forks source link

maven-core version missing upper bound breaks docker build #69

Closed ichantzaras closed 4 months ago

ichantzaras commented 6 months ago

Hello, swagger-maven-plugin leads to failed docker build during mvn package goal as shown below

20240422_failed_docker_build

The issue seems to be caused from missing upper bound of maven-core dependency

        <dependency>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-core</artifactId>
            <version>[3.1.1, )</version>
            <scope>provided</scope>
        </dependency>

where version 4.0.0-alpha-13 is picked up, which in turn requires java 17.

I tested with 3.9.6 as upper bound which builds successfully.