You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 21, 2020. It is now read-only.
When trying to build a maven project that includes the sauce-connect-plugin on JDK9, the build fails with Execution start-sauceconnct of goal com.saucelabs.maven.plugin:sauce-connect-plugin:2.1.23:start-sauceconnect failed: A required class was missing while executing com.saucelabs.maven.plugin:sauce-connect-plugin:2.1.23:start-sauceconnect: javax/xml/bind/DatatypeConverter.
The same build passes just fine on JDK8.
$ java -version
java version "9.0.1"
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
To reproduce the issue download and extract the source code, then run mvn verify inside it. The expected result is that the sauce connect plugin starts and complains that the
Sauce Labs username is not set:
Nov 20, 2017 2:44:57 PM com.saucelabs.saucerest.SauceREST retrieveResults
SEVERE: Error retrieving Sauce Results
java.io.IOException: Server returned HTTP response code: 401 for URL: https://saucelabs.com/rest/v1/YOUR_SAUCE_USERNAME/tunnels
When trying to build a maven project that includes the
sauce-connect-pluginon JDK9, the build fails withExecution start-sauceconnct of goal com.saucelabs.maven.plugin:sauce-connect-plugin:2.1.23:start-sauceconnect failed: A required class was missing while executing com.saucelabs.maven.plugin:sauce-connect-plugin:2.1.23:start-sauceconnect: javax/xml/bind/DatatypeConverter.The same build passes just fine on JDK8.
The full source of the project is attached:
sauce-connect-plugin-jdk9.zip.
To reproduce the issue download and extract the source code, then run
mvn verifyinside it. The expected result is that the sauce connect plugin starts and complains that theSauce Labs username is not set: