gluonhq/ignite

POM of com.gluonhq:ignite-micronaut:jar:1.1.0 (in Maven Central) is invalid

Closed this issue · 2 comments

Hello,

I try to use this artifact as dependency in a project's pom.xml.
Get the following warning and error message running Maven in 'debug mode' (-X).

[WARNING] The POM for com.gluonhq:ignite-micronaut:jar:1.1.0 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model for com.gluonhq:ignite-micronaut:1.1.0
[ERROR] 'dependencies.dependency.version' for javax.annotation:javax.annotation-api:jar is missing. @

As a workaround, you can add it manually

implementation("javax.annotation:javax.annotation-api")

Hello @eugener,

thanks for the quick response.

I'm not sure whether I get your proposed workaround right.
After adding javax.annotation:javax.annotation-api:1.3.2 as a dependency to my project's pom.xml I'm able to you use the annotations brought along by this artifact. But it seems I have to add all the dependencies declared in the invalid pom.xml of com.gluonhq:ignite-micronaut:jar:1.1.0 to work around the problem, cause of the invalidity there are no transitive dependencies available/resolved by Maven.

Regards,
Florian