question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spring Sample: Could not find artifact com.expediagroup:graphql-kotlin-spring-server:jar:1.1.1-SNAPSHOT

See original GitHub issue

From current master (d6e5718dfeade09c46a18468cf7a4e97ec1dbbbb), it is not possible to build the spring sample:

~/git/graphql-kotlin/examples/spring$ mvn clean install
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO] 
[INFO] ------------------< com.expediagroup:spring-example >-------------------
[INFO] Building spring-example 1.1.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for com.expediagroup:graphql-kotlin-spring-server:jar:1.1.1-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.614 s
[INFO] Finished at: 2019-10-16T10:47:21+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project spring-example: Could not resolve dependencies for project com.expediagroup:spring-example:jar:1.1.1-SNAPSHOT: Could not find artifact com.expediagroup:graphql-kotlin-spring-server:jar:1.1.1-SNAPSHOT -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
smyrickcommented, Oct 16, 2019

@martinbonnin I am having the same issue locally on master branch now too. Running the Application from IntelliJ does work for me though so in the meantime can you try that. I will look in to why this is failing.

0reactions
smyrickcommented, Oct 16, 2019

@martinbonnin Make sure you run a clean install to remove and dependencies and just verify after, that the ~/.m2/repository/com/expediagroup/graphql-kotlin-spring-server/1.1.1-SNAPSHOT directory exists and it contains the jar file.

If not I would just remove all the ~/.m2/repository/com/expediagroup/graphql-kotlin* directories and do another clean install

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not find artifact com.wavefront:wavefront-spring-boot ...
1-SNAPSHOT in xxxxSnapshots i am using settings.xml file in inside .m2 folder. i tried to exclude these wavefront-spring-boot-bom dependency.
Read more >
Spring Boot Reference Documentation
Try the How-to documents. They provide solutions to the most common questions. Learn the Spring basics. Spring Boot builds on many other Spring...
Read more >
Difference Between spring-boot:repackage and Maven package
We know when we want to package our application in a JAR or WAR artifact using Maven, we can use mvn package. However,...
Read more >
Spring Boot, Maven and Eclipse Errors and TroubleShooting ...
Could not transfer artifact, Check Maven Configuration ... Basic Spring MVC and JSP Servlet courses do not use embedded servers ...
Read more >
Maven build fails intermittently due to artificats not found error
I am using this repo for maven build :Sample github repo. I am getting this error. ... ArtifactNotFoundException: Could not find artifact ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found