-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[Examples] Fix java webbit websockets selenium #1154
Conversation
e3ee65f
to
4af0b85
Compare
This is weird: Oracle 7 passes: https://travis-ci.org/cucumber/cucumber-jvm/jobs/244287153/config Reason: java.lang.UnsupportedClassVersionError: org/openqa/selenium/WebDriver : Unsupported major.minor version 52.0 Neither should support java 8. |
The examples are only executed on OpenJDK7, so it is not weird that OracleJDK7 passes. The original reason not to execute the examples on OracleJDK7 was so that they should not be deployed to the snapshot repo, which is done from the OracleJDK7 job (except from the java8 module which is deployed from the OracleJDK8 job). |
We should probably use the skip attribute. http://maven.apache.org/plugins/maven-deploy-plugin/faq.html#skip |
9ddcdba
to
91078de
Compare
a1165b0
to
63bba6c
Compare
Now that we have moved the snapshot deploy to |
If the |
I've given this some thought. The current PR is not quite where I want it to be yet. I've written down the way I'd like to set things up below. It is a bit of a short hand so I hope you don't mind too much.
The advantage of this setup is that we only need a java8 profile and an android profile. All examples are skipped from deployment because they're part of the examples module which uses the pluginManagement section to configure the deployment plugin of all submodules. Additionally by doing a release only java8 we don't need to specify which modules to release. The modules themselves will be compiled down to 1.6 unless otherwise specified. I believe this removes some oddities in the current build and should make it easier to setup future integration tests with android. |
9b75572
to
949d991
Compare
By using build stages we can test all jdk versions before deploying the artifacts. This allows all artifacts to be build on jdk8, simplifying the build configuration.
949d991
to
43b147d
Compare
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. |
Updated dependencies and added spiffy new webdriver factory that in
combination with the driver-binary-downloader-maven-plugin just works.
Related issues:
This fixes #1033