Skip to content

Selenium dependency boundaries not working with Maven #718

Closed
@Hi-Fi

Description

@Hi-Fi

Description

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions