Comments (8)
Or maybe YAML, or TOML...
from driver-binary-downloader-maven-plugin.
@Ardesco I've started working on this with YAML which looks a bit like this?
windows:
-
name: chromedriver
version: 2.33
fileLocation: https://chromedriver.storage.googleapis.com/2.33/chromedriver_win32.zip
hash: f6a0d7939355acba00f7b1374bebda50bbead59b
hashType: sha1
bitrate:
- 32bit
- 64bit
osx:
-
name: chromedriver
version: 2.33
fileLocation: https://chromedriver.storage.googleapis.com/2.33/chromedriver_win32.zip
hash: f6a0d7939355acba00f7b1374bebda50bbead59b
hashType: sha1
bitrate:
- 32bit
- 64bit
Are we happy with YAML? if yes, shall we deprecate xml completely and plan 2.0.0
of the plugin?
from driver-binary-downloader-maven-plugin.
I've already got a JSON fork which is what I was planning for 2.0.0.
I'm expecting the new structure to look like this:
{
"linux": [
{
"name": "phantomjs",
"version": "2.1.1",
"architecture": "64bit",
"location": "https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-i686.tar.bz2",
"validation": {
"hash": "f8afc8a24eec34c2badccc93812879a3d6f2caf3",
"hashType": "sha1"
}
},
{
"name": "phantomjs",
"version": "2.1.0",
"architecture": "64bit",
"location": "https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-i686.tar.bz2",
"validation": {
"hash": "f8afc8a24eec34c2badccc93812879a3d6f2caf3",
"hashType": "sha1"
}
}
]
}
from driver-binary-downloader-maven-plugin.
Yes I know the data is junk atm, it's just a structure example :)
from driver-binary-downloader-maven-plugin.
Oh great! I'll just halt YAML then. ;)
How far are you with 2.0.0?
from driver-binary-downloader-maven-plugin.
Also when versioning, we should keep http://semver.org/ in mind. E.g. Java 8 changes should really have been a breaking change.
from driver-binary-downloader-maven-plugin.
I'm aware of semver, the only reason the plugin went to java 8 only is because selenium went to java 8 only.
It's technically a breaking change, but there's no java 8 specific code in the plugin. You could still run it with Java 7, but Selenium won't work.
It's not really worth changing the major version number because another project changed their dependencies. nothing has really changed in the plugin.
from driver-binary-downloader-maven-plugin.
While the plugin is not using any java 8 features it is compiled using the java 8 class file format (major version 52). This is not understood by java 7 (major version 51). You can however use java 7 compiled code in java 8.
As long as the project using selenium is using java 8 I would expect selenium to keep on working. So I am not sure why this was done in the first place.
That aside, major version numbers don't cost anything. ;)
from driver-binary-downloader-maven-plugin.
Related Issues (20)
- Does not work with Java 16 HOT 1
- Jar execute
- System architecture is not set to ARM on M1 mac HOT 1
- Doesn't extract chromedriver executable file anymore with chromedriver 115 or newer
- webdriver environemnt properties HOT 6
- unable to pass javax.net.ssl.trustStore into the plugin
- Perform a 1.0.17 Release HOT 2
- NullPointerException for an (formatted) Valid URL HOT 3
- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" HOT 4
- maven property is not forwarded into forked execution HOT 1
- Allow dynamic disable of plugin HOT 2
- Not possible to set proxy settings on linux because ob . in the name HOT 1
- Minor correction to README.md
- Need to propagate driver location to Java HOT 5
- Mark all goals as thread-safe HOT 5
- Any chance you could push a release? HOT 100
- Misbehavior with shortened URLs HOT 1
- Facing SunCertPathBuilderException: unable to find valid certification path to requested target
- Not able to download the latest Chrome Edge Driver Binary HOT 1
- always downloads even if files already exist HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from driver-binary-downloader-maven-plugin.