Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Fail to run the demo-file-quarkus project #4

Closed
shmulik-klein opened this issue Aug 3, 2021 · 3 comments
Closed

Fail to run the demo-file-quarkus project #4

shmulik-klein opened this issue Aug 3, 2021 · 3 comments

Comments

@shmulik-klein
Copy link
Contributor

When running mvn compile quarkus:dev get the following dependencies error:

[INFO] Scanning for projects...
[INFO] 
[INFO] ---------< com.github.t1.graphql-federation:demo-film-quarkus >---------
[INFO] Building demo-film-quarkus 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>com.github.t1.graphql-federation</groupId>
        <artifactId>root</artifactId>
        <version>1.0-SNAPSHOT</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <artifactId>demo-parent</artifactId>
    <packaging>pom</packaging>

    <modules>
        <module>film-war</module>
        <module>film-quarkus</module>
        <module>review</module>
        <module>artist-war</module>
        <module>artist-quarkus</module>
    </modules>

    <properties>
        <failOnMissingWebXml>false</failOnMissingWebXml>
    </properties>

    <profiles>
[WARNING] The POM for io.smallrye:smallrye-graphql-federation-api:jar:1.2.3-SNAPSHOT is missing, no dependency information available
    <packaging>pom</packaging>
[WARNING] The POM for com.github.t1.graphql-federation:quarkus-extension:jar:1.0-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for io.smallrye:smallrye-graphql:jar:1.2.3-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for io.smallrye:smallrye-graphql-client:jar:1.2.3-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for io.smallrye:smallrye-graphql-servlet:jar:1.2.3-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.230 s
[INFO] Finished at: 2021-08-03T22:27:51+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project demo-film-quarkus: Could not resolve dependencies for project com.github.t1.graphql-federation:demo-film-quarkus:jar:1.0-SNAPSHOT: The following artifacts could not be resolved: io.smallrye:smallrye-graphql-federation-api:jar:1.2.3-SNAPSHOT, com.github.t1.graphql-federation:quarkus-extension:jar:1.0-SNAPSHOT, io.smallrye:smallrye-graphql:jar:1.2.3-SNAPSHOT, io.smallrye:smallrye-graphql-client:jar:1.2.3-SNAPSHOT, io.smallrye:smallrye-graphql-servlet:jar:1.2.3-SNAPSHOT: Could not find artifact io.smallrye:smallrye-graphql-federation-api:jar:1.2.3-SNAPSHOT -> [Help 1]

It seems that upgrading smallrye-graphql version to 1.3.0 solves the issue - I opened the #3 PR for that

@t1
Copy link
Owner

t1 commented Aug 4, 2021

Thanks for the PR, but it has compile errors now. I'll push more updates, but this demo is obsolete, actually. I'll also push a hint in the readme to the more current project.

@t1 t1 closed this as completed Aug 4, 2021
@t1
Copy link
Owner

t1 commented Aug 4, 2021

Sorry, I was confused with all my demos. This one's not obsolete!

@t1
Copy link
Owner

t1 commented Aug 4, 2021

I've updated more dependencies, but it still doesn't build. As Philipp said, it's probably better to extend the existing extension.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants