-
-
Notifications
You must be signed in to change notification settings - Fork 2k
cucumber-guice 2.0.0-SNAPSHOT is not found #1193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Did you add the sonatype repository? |
I can't reproduce the issue locally. After cleaning my m2 repository the dependency downloads as expected. I do notice however that you are caching your dependencies in a Nexus. Please try to remove any potential confounding factors first. If you can still reproduce this issue after removing all confounding factors please reopen this ticket and provide a minimal reproducer. Preferably in the form of a Github repository build by Travis CI.
|
You were right, the problem was that the project was searching in the nexus repo only. Thanks for the help! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
When trying to update to the 2.0.0-SNAPSHOT the code is failing to find the one for cucumber-guice.
The rest of the io.cucumber dependencies are being correctly downloaded.
This is the dependencies I'm currently using:
<dependency> <groupId>io.cucumber</groupId> <artifactId>cucumber-jvm</artifactId> <version>2.0.0-SNAPSHOT</version> <type>pom</type> </dependency> <dependency> <groupId>io.cucumber</groupId> <artifactId>cucumber-junit</artifactId> <version>2.0.0-SNAPSHOT</version> <type>jar</type> </dependency> <dependency> <groupId>io.cucumber</groupId> <artifactId>cucumber-java</artifactId> <version>2.0.0-SNAPSHOT</version> <type>jar</type> </dependency> <dependency> <groupId>io.cucumber</groupId> <artifactId>cucumber-guice</artifactId> <version>2.0.0-SNAPSHOT</version> <type>jar</type> </dependency>
I was able to manually find the cucumber-guice 2.0.0-SNAPSHOT in oss.sonatype, but for some reason it's still failing to get it when doing a mvn clean -U install:
https://oss.sonatype.org/content/repositories/snapshots/io/cucumber/cucumber-guice/2.0.0-SNAPSHOT/
This is the console error:
Expected Behavior
The cucumber-guice 2.0.0-SNAPSHOT should be found and downloaded, along with the rest of the io.cucumber dependencies.
Current Behavior
The cucumber-guice 2.0.0-SNAPSHOT is not found, but the rest of the io.cucumber dependencies are correctly downloaded.
Steps to Reproduce (for bugs)
mvn clean -U install
Context & Motivation
I'm trying to migrate from cucumber-jvm version 1.2.5 to 2.0.0 to see if some of the execution bugs are fixed in that version:
#1134
#1120
The projects are using Guice for DI, that's why the interest in updating cucumber-guice too.
Your Environment
The text was updated successfully, but these errors were encountered: