Selenium dependency boundaries not working with Maven
See original GitHub issueDescription
While trying to create jar with dependencies with Selenium2library-java (https://github.com/Hi-Fi/robotframework-selenium2library-java/tree/Selenium3.5.2) with maven-assembly-plugin:3.1.0, error is thrown because of identical boundaries in Selenium version.
Environment
- io.appium:java-client:jar:5.0.1
- Microsoft Windows [Version 10.0.15063]
- Maven version: 3.5.0
- Java version: 1.8.0_144, vendor: Oracle Corporation
Details
Error message from Maven:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.1.0:single (make-assembly) on project robotframework-selenium2library-java: Failed to create assembly: Unable to resolve dependencies for assembly 'jar-with-dependencies': Failed to resolve dependencies for assembly: Unable to get dependency information for io.appium:java-client:jar:5.0.1: Invalid version for dependency org.seleniumhq.selenium:selenium-java:jar: Range cannot have identical boundaries: [3.5.2,3.5.2]
[ERROR] io.appium:java-client:jar:5.0.1
Way To Reproduce Issue
Can be seen by executing mvn clean verify with code from https://github.com/Hi-Fi/robotframework-selenium2library-java/tree/Selenium3.5.2
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Maven project is not working after import - Stack Overflow
In Eclipse go to Project > Properties > Libraries > [Add Library] > TestNG > Finish. This might fix your problem. Share.
Read more >Setting up a project in Eclipse with Maven and TestNG using ...
Maven is used to define the project structure, dependencies, build, and test-management. We can use Eclipse and Maven to build our Selenium WebDriver...
Read more >Artifacts using selenium-java version 2.42.2 - Maven Repository
A BDD / Testing framework with pure Groovy DSL, running in a Spark cluster, advanced reporting and clearly define the boundary between BA...
Read more >Legit but Useless: Maven Version Ranges Explained
For some dependencies it's just fine to pick one exact version –e.g. 1.23 – which works flawlessly. However, for some dependencies we'd like...
Read more >Maven Dependency Management with Selenium - BrowserStack
Maven is widely used for dependency management in Java. Read step-by-step tutorial to run Maven Dependency using Selenium & also learn ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
5.0.3 is coming ASAP.
@realnikunj We are working on fix. Will push a release sooner.